Would removing the set(TICKS) flag work so that parameters are checked at renko bar closes instead of at every tick within the bar?