Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
1: Please add Recovery Trade: True/False
If this property is turned true, (if false, EA must trade exactly as it's trading now)
a) EA will not set SL but instead open a new trade in the same direction of the initial trade when price moves against our first trade (use SL_Points variable as grid level). EA will continue to open more trades if prices goes against us using same grid level until Basket_Stop_Loss_$$$ or Basket_Take_Profit_$$$ is met …closing all trades in the basket.
b) Add the following two new variables:
1) Basket_Stop_Loss_$$$: EA will close all trades if floating negative reaches this amount of money (this is Dollar amount and not points/pips)
2) Basket_Take_Profit_$$$: EA will close all trades if floating positive reaches this amount of money (this is Dollar amount and not points/pips).
2: The Basket of trades needs to have a trailing Stop Loss in $$$ (add the relevant $ trailing start input variable, $ Trail Stop input variable and $ Trail Step inputs variable fields)
3: ADD “Open Trade Button” (Show button on screen button option True/False) ( Default is still that the EA auto trades however the button can be used to trigger an adhoc first trade manually, with the EA set file settings and the EA takes over managing everything as per the set file including everything … TP, trailing and pip-step additional trades thereafter)
4: Check the Print to file rules EXPERTS TAB … don’t want 100’s of messages about failure to open new trade because there is already a trade open “Order not Sent, Maximum reached” as seen below
5: add label (in comments field) “step 1, step 2, step 3 …” what trade number it is in the cycle/basket
6: check the code and advise a solution for… (in the journal), possible retry with an extra 10 points ?
NB : The first trade must always have a TP and a SL .
7: if connection is lost to broker, reconnect ASAP and find itself, resume RE all the baskets and trade management including number, TP $$, SL $$...