Sounds like you really need this functionality too
Why don't you find a system to work with your formula instead of a formula to work with your system?
This tick by tick data has to much noise and I am ok looking at closed bars. If your evaluating your formula tick by tick its like playing a game of whack-a-mole! LOL!