I do have an indicator with its own grid parameters. This indicator generates a signal. This indicator is also added to a strategy that 'executes' the signal. So I copy those same grid parameters in the strategy and I am assuring that the added indicator will update its parameter to reflect those of the strategy.
In other words I replicate the grid parameters code on both the indicator and the strategy.
I wander if there is a way to avoid this same duplication so I can add and indicator to a strategy and get the strategy to acquire those same indicator's parameter into its own grid. I think this would make the code more elegant and better structured.
I hope my question is clear.
Best
G

Comment