I have built a strategy on top of the stock BuySell indicator that Ninja Trader distributes. The indicator seems to run fine if I manually add it to it's own chart, but when I make it part of my strategy, it will eventually start missing for some bars. I've attached a screenshot, where you can see gaps between the histogram plots for the indicator, there should be one for every bar, but isn't.
Both indicator and strategy calculate OnEachTick.
Do you have any idea what can cause this sort of behavior?
I attached the strategy code, there's not much too it.
Thanks!
Comment