I've been able to access historical bid/ask data by using OnMarketData and TickReplay, however the help guide (https://ninjatrader.com/support/help..._ask_serie.htm) indicates that it should be possible to access via OnBarUpdate() without TickReplay? Please could you let me know if any of the sample strategies are already leveraging historical bid/ask data in this way?
For additional context:
To start from, I'm trying to print the Bid & Ask to Output when I load an instrument onto a chart with the strategy enabled. The helpguide shows...
AddDataSeries("AAPL", BarsPeriodType.Minute, 30, MarketDataType.Ask);
Many thanks
ChainsawDR
Comment