For example AccelerationSize = 6 and Return = 2.
It puts a EnterLongLimit at 6 ticks behind the price...
while you don't have a return of 2 tick , the order stays...
If you have a two tick returns , it moves the order.
the line that calculate the value for the LimitPrice is here :
double limitPriceLong = Instrument.MasterInstrument.Round2TickSize(Close[0] - ((accelerationSize - ACC.Acceleration[0]) * TickSize)) ;
So I don't cancel the order as normaly in managed order , you can simply move it by resubmit it.
The other part of code cancel the order when it reachs a zone near the DayHigh or day low
But that case doesn't come often. There is no cancellation in the output I gave to you
Regards
Comment