Close Trades When Total Profits Is 10k
-
Hi, please I need your input here
I am trying to make the EA close all trades when my total equity is 10k above the initial opening account balance of 100k.
But with what I have here, the EA does not close trades. Even when my total equity is over 10k from initial opening balance, trades are not being closed

-
@Temmy-25 You can do it this way:

-
Thank you @l-andorrà
But I can't find "Trade statistics" on builder
Please direct
I'm using MT5 -
I found a way that works in MT5
Entered initial balance as a constant then used the above implementationRegardless, is there a way I can get initial deposit block in MT5 rather than using constant, that way I won't need to manually input the initial balance every time
-
@Temmy-25 I'm afraid not. That option is not available for MT5. The admin decided no to implement it for reasons I don't remember, sorry.