Opens[1][0] != Closes[0][1]
So at the very first tick of the new hourly candle we would look at whether the previous candle's close (i.e. the 60-min candle) does not equal the open of the tick series.
However in historical mode this changes because the current hourly candle (still in progress) does not exist yet until the hour completes. So I have to do this instead:
Opens[1][0] != Closes[0][0]
That seems to work for me now in historical mode. The entries are now being pinned on the right candle.
Comment