I have two areas that I think I understand, but want to make sure.
1. In streaming mode, suppose we've already caught up with the historical bars. A tick comes in to start a new bar, so eSignal calls my main() with BARSTATE_NEWBAR. Now, eSignal will not also call my main() again for that same tick with _CURRENTBAR, correct? It will call main() with _CURRENTBAR for subsequent tick data, though.
2. When in BARSTATE_CURRENTBAR, does close(0) give me the price data of the tick? If not, what does?
Thanks.
1. In streaming mode, suppose we've already caught up with the historical bars. A tick comes in to start a new bar, so eSignal calls my main() with BARSTATE_NEWBAR. Now, eSignal will not also call my main() again for that same tick with _CURRENTBAR, correct? It will call main() with _CURRENTBAR for subsequent tick data, though.
2. When in BARSTATE_CURRENTBAR, does close(0) give me the price data of the tick? If not, what does?
Thanks.
Comment