Is there a way to access 'Data Series' properties of the Strategy Analyzer window while in SetDefaults state?
We have existing code, which opens up a window, that shows up as one of the 'Parameter' properties and it works when used in an indicator because we are able to tap onto the active chart and get data from there.
When used in a strategy, for backtesting, there is no chart opened and 'Data Series' in the Strategy Analyzer is yet to be set by the user. Setting the Instrument prop triggers SetDefaults but selected value cannot be accessed thru Instrument prop in the strategy though.
For now, the temporary solution is to have an actual chart open with same Data Series prop values to be used in the Strategy Analyzer and this should allow coding to continue.
So is there a way to access the 'Data Series' props or any of the props in the Strategy Analyzer while in SetDefaults state?
Thanks.
Comment