Try using if(is(LOOKBACK))

http://manual.zorro-trader.com/is.htm