I have Calculate = Calculate.OnEachTick, but noticed that when I had it set to end of bar, that IsFirstTickOfBar was true when it was iterating through historical processing at the end of each bar.
But I am wondering if there is some way to check if it is the last tick of the bar, while still using OnEachTick (and tick replay for historical)?

Comment