1. The problem goes away when NT is forced to acquire historical intraday data from IB via the 'reload data' command. Can the ninjascript strategy invoke something similar and refresh the last few bars before getting into / at the beginning of OnBarUpdate?
2. NT helpguide http://www.ninjatrader.com/support/h...rical_data.htm said "To minimize the need to load data and to speed up chart load times, NinjaTrader maintains an internal cache of your prior accessed data. When data is in this cache, NinjaTrader will use it to populate your charts instead of loading from your data provider."... is there a way not to populate that cache or flush that cache?
If I don't open any chart and simply enable the strategy with calculateonbarclose = true in the control panel, would that make NT not subscribe to that snapshot stream from IB but instead rely on reload data?
3. How can i see what data exactly is my strategy getting? To my surprise the Print() function that used to work for debugging into Output window in Strategy Analyzer no longer works when enabled in live trading! What can i do to see what my strategy is seeing in live trading?
Thank you very much. Any inputs to any part of the puzzle are appreciated...
Comment