how do i set a condition of close all the winning trades at a certain price and close all the losing trade at certain loss??
-
i am trying to build an ea that will close only profitable trades at certain profit and all the losing trades at the total loss i set there, so can anyone help me built this system?
-
If you search for close then you will see 2 blocks, 1 to close profitable trades and 1 to close losable trades.
-
@jstap Exactly. He means these blocks:

-
@l-andorrà thanks sir , i didnt know bout it, it works