I'm currently fiddling around with an indicator that calculates on each tick and has an additional 1 Tick Series added.
The idea of the indicator is to collect all the 1 tick data and add them to a data object for each bar of the main series.
In OnBarUpdate() I try to catch the first tick of a new bar of the main series.
This seems to work as long as the indicator is in a historical state and once the indicator has gone from historical state to realtime.
But IsFirstTickOfBar also fires on the actual transition between historical and realtime state when there is in fact no new bar created.
Is there a recommended way to deal with this behavior?
Thank you,
Mike

Comment