Originally Posted By: AndrewAMD
run() is invoked once every bar, regardless of the TICKS flag.


but with set(TICKS) the result are different.
set(TICKS) what modifies?

BarPeriod = 1
BarPeriod = 1 with set(TICKS) --> result different

I expected the same result. Why not?