If you have a limited amount of tick data available for the primary data series (let us say 30 bars), then NinjaTrader will actually start with the secondary data series after switching from historical to real-time data.
Below is an example. The first real-time tick, which by conincidence was after a minute candle was completed, triggered BarSeries1 prior to the BarSeries 0.
True 11.03.2011 13:11:05 0 True True 11.03.2011 13:11:34 0 True True 11.03.2011 13:12:00 1 True True 11.03.2011 13:12:03 0 True True 11.03.2011 13:12:32 0 True True 11.03.2011 13:12:53 0 True True 11.03.2011 13:13:00 1 True [COLOR="Red"][B]False 11.03.2011 13:14:00 1 True[/B][/COLOR] False 11.03.2011 13:13:11 0 False False 11.03.2011 13:14:00 1 False False 11.03.2011 13:13:14 0 False
This is not the problem we were talking about in the previous post, it is just an inverted order for BarsInProgress==0 and BarsInProgress = 1 for real-time bars.
Comment