You should use a 'once per bar' block on top of both block trees. You don't need them to be checked every tick.