Hi,

do you know how detect the incoming tick is the first tick of a new bar?

something like:

if (is(firstTickofBar))....


Thanks