**EA Trading Logic: One Trade Per 4H Candle (No Re-entry After Take Profit)
-
I was unable to succeed in what I was trying to understand, so I am asking if someone can help create a solution for me.
My issue is that I need the EA, after placing a trade on a 4-hour candle, to stop trading again on that same candle even if the order closes by take profit. It should only wait and trade when the next candlestick appears.
I was given some instructions, and I managed to build it like this, but it is not working. May I get some assistance?
https://fxdreema.com/shared/FuvCKAbnd

-
-
@stonegoldtz also this way

-
This depends on what you mean by re-entry, if you mean wait for a new signal, you will need to set a flag for the signal.
-
What I want is this:
The EA can place multiple orders within a candle if conditions are met.
However, if any order is closed by Take Profit, the EA should stop placing new orders for the rest of that candle.
It should then wait until a new candle opens before allowing new trades again.In short, I only want to block trading after a Take Profit is hit, not after every order placement.
-


In on trade it check positive result
Block #87 check the profit before any trade
Once per bar H4 resets profit variable
Please, check it -
@ambrogio Thank you very much, brother. I’ve succeeded. Be blessed.
-
@stonegoldtz you're welcome!
-
I need help with an EA that opens multiple positions for scaling, for I am a buyer position trader
-
@RICHAGRIPPA Start a new question for this and say what you want yore EA to do...
