You are applying the indicator on the next months contract (ZC 12-12).
If you set the merge policy to MergeBackAdjusted or MergeNonBackAdjusted then the historical data will be for the near month contract and the real time bar will be that of the next month contract.
If you change the Merge Policy to DoNotMerge then can you confirm are you able to get the right data.
- In Control Center menu bar goto Tools>Options>Data tab
- Change the Merge Policy to DoNotMerge
- Restart NinjaTrader

added. The indicator filled the missing dates as shown in Pic1.png, and it matches with bars on the chart.
Comment