- Control Center
- Chart -- with just one tab, set to ^SPX monthly
- NinjaScript Output
My problem is that OnBarUpdate() is getting called once for ^SPX, and then called a second time for BIL. I did have the chart set to BIL at one time, but no longer do. BIL is still in the Select drop down list (along with a few others), but that's the only reference to BIL that I am aware of. Some things I have tried, with no success:
- Switch charted symbols. The new symbol gets charted, but OnBarUpdate() still gets called twice, once for the new symbol, and once for BIL
- Delete the chart and make a new chart. That does not help -- still the same problem.
- Exit NinjaTrader and restart it. No help.
- Delete the chart, exit NinjaTrader (saving the workspace), restart NT, create a new chart -- still the same problem
OK -- so please help me understand why BIL is so persistent. Why does NT think it has to call OnBarUpdate for BIL? How do I stop those unwanted calls?
--EV
Comment