Drawdown Calculation
-
Hello,
How can I calculate the current account drawdown > that'll work for both MT4 and MT5? I want to be able close all trades once the drawdown threshold is hit.
-
@tec-nacks You can use this option for MT4 only. It is not available for MT5:

-
@l-andorrà okay, is that value of 10 in percentage ?
Any idea on how to go about the calculations on MT5>
-
No, in that case 10 means €10. The only way to get the calculations on MT5 is by creating a specific structure of formula blocks to do it, I'm afraid.
-
@l-andorrà I'll like to have the values in % not in money.
How can I do that?
Can you give some heads up about the MT5 formula structure?
I want to do it
-
We can try. Can you please provide the DD formula you need? I will try to create it with formula blocks.
-
@l-andorrà Thank you.
The Logic is when the floating equity reaches a certain negative % of the current balance in this case 20%, close all trades, terminate EA
-
@tec-nacks Then you can do this:

-
@l-andorrà I backtested it but its didnt work
-
Can you please share the link to the project?
-
@tec-nacks Hola amigo, prueba con esto