it the Ticks are too noisy for your formula, then you can always AND your formula with an indicator that has some type of smoothing mechanism as a double-check. That works well for me.