- Reversing: Reducing maximum drawdown and testing other markets - the article
- Close all orders once the drawdown reaches a specific percentage - expert for MetaTrader 4
- search more information/tools on CodeBase/Market/forum - https://www.mql5.com/en/forum/193510

- 2017.05.29
- www.mql5.com
Sure, it is possible and easy too.
Just monitor the OrderProfit(), then created a boolean expression.
If OrderProfit() value is exceed the drawdown limit,
then the boolean expression will turn "false" thus disabling any further trade.
Goodluck.
Dear All,
I have a question regarding the MAXIMUM DRAWDOWN.
It is possible to give the expert advisor an order not to open any more positions when he reaches a certain drawdown value ?
If so,how?
Thanks for help.
Two important things to calculate your DD are equity and Balance, once you read those two values, you can set your condition if equity is less than calculated value, don't add more positions
- Reversing: Reducing maximum drawdown and testing other markets - the article
- Close all orders once the drawdown reaches a specific percentage - expert for MetaTrader 4
- search more information/tools on CodeBase/Market/forum - https://www.mql5.com/en/forum/193510
Sure, it is possible and easy too.
Just monitor the OrderProfit(), then created a boolean expression.
If OrderProfit() value is exceed the drawdown limit,
then the boolean expression will turn "false" thus disabling any further trade.
Goodluck.
Two important things to calculate your DD is equity and Balance, once you read those two values, you can set your condition if equity is less than calculated value, don't add more positions

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear All,
I have a question regarding the MAXIMUM DRAWDOWN.
It is possible to give the expert advisor an order not to open any more positions when he reaches a certain drawdown value ?
If so,how?
Thanks for help.