Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Need A Few Variables And Mods To My Ea. -
1: The Ea stops trading and closes all open trades and stops working for 24 hours if a Drawdown of a $ amount or a certain account % is reached.
2: If the Ea loses a trade, i want an option to open the next trade lot size higher to cover that last loss.
Example below. IE if the ea,s has a set take profit at 20 pips and a stop loss was set at 100 pips at $1.00 lot size there would be a $1000 loss, so the ea would have to open the next trade with lot size $5 lot size instead of $1.00 so this would cover the last loss.
If we win the next trade the ea will carry on with the normal lot size, if we lose again it would have to trade the next trade lot at $10 lot size. And so on unto a max of 10, options to change how many. Also Need to be able to turn this on or off and add a % of opening the next hedge trade, 100, 50, 25 % .
3: The ea will have a option to open a extra trade when one trade is running, at a certain pip or % loss with options to change to buy only sell only or both.
I have the original ea .mq4 code