with market playback data.
I have the playback connection loaded,
the playback head set to "Playback from Start of Day".
I have custom bar types.
I print to the output window for debugging.
Custom BarType "Bt1" is on the chart.
I use GoTo specific time, to reload the data on the chart.
I make a change to the code for the bartype, compile, and repeat the GoTo to reload the market data on the chart.
In my output window, I still get print statements which have been commented out before the most recent save and compile.
It's like there is some code still in memory which hasn't been updated.
If I let it play and increase the speed, these print statements eventually disappear, ie after 15 minutes, as if the ninjatrader memory gets flushed and the old code is gone.
Is there any method which can be called on the refresh of the indicator, in state DataLoaded, which could ensure any leftover code in memory is flushed?

Comment