Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
Hello developers, I need to update an existing grid EA from Forex Factory and reprogram it with more benefits.
New Requirements :
MT4 version
EA’s new name : New Grid EA
- 4 and 5 digits auto
- Must be able to trade two EA’s in one chart with two different Magic numbers
- If any open active order in session was closed manually from any other device ( mobile phone, etc., ), EA will close whole session immediately ( all open orders and pending orders - connected to own Magic number ).
- Spread and slippage protection , settings
- ECN / none ECN brokers compatible
- Must be able to trade Gold and Silver also.
- Magic number
- Increment ( same logic like old EA )
- Levels ( same logic like old EA ) setting
- Money management true/false ( same logic like old EA ).
- Risk ratio setting ( same logic like old EA )
- Place grid now true/ false setting
- Place grid X minutes from now true/false setting , minutes setting ( up to 4320 minutes).
- Close all now true/ false setting ( EA will close all open orders and pending orders, or just pending orders if there is no open active orders for own Magic number ). Also requesting TWO CLICKS logic BUTTON in chart window CLOSE ALL NOW ( two clicks for safety reasons. ( Both will work independently - in EA’s setting and in chart window).
- Money Loss Stop Out EA setting ( EA will close all open orders and pending orders in whole session for own Magic number).
- Continue trading when previous session was ended setting true/false, make a pause for X minutes - setting ( if set to “0” zero, EA will continue immediately.
- in current code remove Take profit line in chart and Stop loss line in chart
- new basic lot entry in EA setting will be 0.01 lot
- Max lots allowed for session - setting ( account protection )
- moving Breakeven line in chart ( Must be calculated with Swap and commissions ) with Magic number above line on the right side of the chart window with arrow symbol up or down showing profit direction. Colours options.
- Take profit in money - true/ false setting ( EA will not place any TP in to the chart, but simply will just close all active orders and pending orders in whole session . Take profit must be calculated with swap and commissions ) Setting for TP must be in format ( example ) 13.26, 0.76, 455.67 , TP logic is working even if Trailing Stop loss wasn’t set yet.
- Trailing Stop Loss Plus BE pips true/false setting
- Activate Trailing Stop Loss if market price is X pips away from BE in profit , pips, setting and Set Trailing Stop Loss X pips from BE level in profit , pips ,setting . Of course when Trailing Stop Loss got hit by market, EA will close whole session ( all open active orders and pending orders ).
Both codes requested.
Thank you.