how to make trade open at opening of the next candle if last trade closed in Middle of the Candle
-
Hi,
I have an ea who open trade at beginning of the bar with TP and SL, everything is looks good using once per bar block,but the issue is when TP or SL hit after 2 to 3 candles at middle of the candle, it opened the position again instead it should wait to open at opening of the next candle,
Can please someone help that after closing in middle of the candle whether hit SL or TP, it should only open next trade at opening of the next candle.
I will really appreciate the help.
Thank You
-
@deja12 This will probably do it, not tested though, if your conditions need to be more specific then use variables to define range, you can also the mid price for the candle.
-
@deja12 You can use this condition to get it:

-
Thank you so much for your help, it worked. Once again Thank you
-
@deja12 You're welcome.