Need help in confirming the rules and Draw arrow
-

-
Blocks 2, 3 and 4 are placed in such a way that if one of them is true, block 5 will run. Not only that, but if two or three of them are true, block 5 will run two or three times. Well, technically you can't have the same crossover in two neighbor candles, so at least blocks 2 and 3, or 3 and 4 cannot be true at the same time.
What I really don't like is this:

Don't use == when comparing prices, because it's almost impossible to have exactly the same prices on both sides