Okay found it:

The run function is called once per bar, and trade exit conditions are tested (at least) once per bar regardless of the TimeFrame setting. For this reason, using a different TimeFrame is not fully equivalent to setting Barperiod to the same time frame. Trading algorithms will behave slightly different, even when the resulting time frame (BarPeriod * TimeFrame) is the same.

PS: Haven't seen your SET(TICKS)

Last edited by Sundance; 07/31/13 11:23.