I am creating a engulfing pattern ea but have problems with it. Currently it opens many orders on one single bar, lets say on 1h. It has to open only one position per pattern per bar. Please help me with it guys. My first ea.
The logic is simple have couple of bars 2,3,4 with higher highs and bar 1 with lower making it bearish bar and open on the next bar