Doubt "check how it was closed" usage in trade sequence
-
Hey guys,
I need to open trades based on the last trade result (tp or sl).
Im trying to achieve it with "check how it was closed", but the EA just open a lot of trades (1st ones) non stop, how can i
wait to the 1st trade to close, than check if it was SL or TP than go to the next etc.Thanks
-
@maledetu You'll see in this picture how to do it, make sure you do it on the on trade tab, you can use any combination you like.

-
@jstap Nice, thanks!
I think i can make it work with Position Closed blocks.
How can i stop the EA from opening new "First trades" after its closed?I mean, OnTick the Ea opens first trade of the sequence, and after that i use Position Closed parameters to make a sequence, but right now the Ea will open the first trade again together with the next one.
-
@maledetu I would use a true/false flag, place check flag before buy/sell, place set flag false below buy/sell, have a condition somewhere with set flag true, whenever you want this tree to buy/sell.