Need help with this indicator
-
hey, so i have this indicator

and i want to make a ea that buys when the blue line is under and sell when the pink is up. My problem is i couldnt find any condition that would fit my EA. I tried the block indicator is visible with a filter check type (last closed) the problem is this ea will open a position the same candle it closes the reverse position making the check type (last closed) block not allowing any positions to open at all. Anyone can help? thanks -
Can you please share your project?