We want to call this indicator from a strategy, but find that while the indicator receives OnMarketData for each tick during a tick replay if it is directly on the chart, when the strategy calls it from NinjaScript code it does not receive any OnMarketData calls until it reaches realtime data.
The strategy and the indicator are set to update on each tick, and the data series is set to do a tick replay.
Still, the OnMarketData only fires during the replay for indicators directly on the chart, not for indicators referenced by a strategy.
How can this be resolved?
Comment