I can't just add Bars period to current bar time then consider it as next bar time, that's not precise, there are some special cases to deal, for example on 1min chart, the last bar is the exchange session close bar, then the next coming bar will be in next session and it may be several hours or days after.
Maybe it can be done by SessionIterator and/or TradingHours, but I don't know how...
I tried to use SessionIterator to find out a way, but then I found some problems here so the way was blocked:
http://ninjatrader.com/support/forum...ad.php?t=97046
So, any good idea to get the next coming bar time??

Comment