Hello Ninjatrader team,
I have a strategy that uses two instruments to trade.
One of the indicators uses data from both instruments to make its calculations.
To specify to the indicator which is the second symbol to use, I followed the approach used in Correlation Indicator, this is declaring a string in its properties which is then used in the AddDataSeries() method inside the indicator, and so on...
The thing is, this indicator is not getting updated before its value is called from the strategy's OnBarUpdate method
How do I make sure this indicator is updated when both Bars Time are equal (in sync) and be able to use it inside the strategy
Thanks in advance,
Lis
Comment