MAXIMUN DD
-
Please i need help, with this Maximun drawdown code the EA still blow account what is wrong please https://fxdreema.com/shared/bsJoVftYc
-
Well, if your strategy hits the max DD every day, maybe you should change the strategy. Your structure is just stopping the bot daily when that day max DD is hit.
-
@ATSUBO Sorry what do you mean blow account? Is there any open trades during backtest? Or the ea simply terminate instantly?
-
@biztet Not during the backtest, i mean the ea lose everything in the account, so I'm wondering why the DD could not stop it.
Thanks -
@l-andorrà Thanks for the reply sir.
The strategy doesn't hit DD everyday, it made consistent profits for days and then lost about 6k at ago from the account of 10k while the DD set according to the structure above is 3.5%
That's why I'm doubting the structure above as it could not stop it from losing more than 3.5%
Thanks sir -
So the problem is that your equity guard doesn't work properly.
-
@biztet yes sir
-
The structure itself is correct. It should work, but just in case you should check if the value of the 'Daily_Drawdown' variable is correct. Maybe it is wrong for some reason. I see you can visualize it through a 'comment' block. Is its value correct all the time, I mean, every day?