I have a question when accumulating data using OnEachTick.
How do you monitor the ticks so that you can update the statistic for a bar on the last tick of the bar? I am aware of IsFirstTickOfBar but is there a particular code design pattern or some kind of Api that can be used to do this?
Is there a sample template one can follow?
Thanks,
iq
Comment