I need an EA wich will manage my open trades. It should:
1) Read the number of each active order (so it can track every order);
2) Read the SL and TP values of each active order;
3) Create a hedge order with exactly the same SL and TP number of pipettes (e.g there is a buy order
on EUR/USD with SL @ 1.50123 and entry @ 1.50456 and TP @ 1.50789 .Once the EA is activated , it should read the number of active order then read the SL and TP values and create a sell pending order with entry @ 1.50123 and SL @ 1.50456 and TP @ 1.50123 - (1.50456-1.50123) BUT with a lotsize defined initially by me in settings of EA ( it can be any value , I mean the first buy was opened with 1.00 lot size then I would like the first hedge sell to be opened with 1.9 the second hedge with 2.4 the third with 1.6 and so on for 7 hedges) It can be something like :
Hedge #1 lot :
Hedge #2 lot :
Hedge #3 lot :
Hedge # 7 lot:
After the creation of the hedge sell order, it should remove the SL level of the buy order.
4) If the buy order hit TP level @ 1.50789 , the hedge sell is removed. If the buy order do not hit TP level and the hedge sell order is triggered, then create again a hedge buy with the same entry and TP level as the first buy order BUT with a different lotsize (a value for the second hedge order wich can be initially defined in settings).
After the creation of the second buy order, the SL level of the sell is removed.
5) Sequence continue for 7 hedge trades. The 7 hedge trade will have a fixed SL (will not be removed) so all trades will be closed.
Summary : I place an buy (1) order and activate the EA .
The EA will read paramters and will create a pending sell (1) order. The buy order do not hit TP. It gonna against me negative and trigger the sell (1) order. The sell (1) order do not hit TP. It go against me and trigger the buy (2)order. The buy (2) order do not hit TP it go against me and trigger the sell (2) order. Sell (2) do not hit TP and trigger buy (3). Buy (3) do not hit TP and trigger sell (3). Sell (3) do not hit TP and trigger buy (4) . Buy (4) do not hit TP but this time it will not have the SL removed so when the buy (4) SL is hit, entire sequence buy(1), buy (2), buy (3) buy (4) and sell (1), sell (2), sell (3) will close.
The EA shall have also the option to activate the hedge sequence management or the normal martingale sistem. On the second option it will monitorize actual order without removing the SL level.
Example : there is a buy order
on EUR/USD with SL @ 1.50123 and entry @ 1.50456 and TP @ 1.50789 .Once the EA is activated , it should read the number of active order then read the SL and TP values and create a sell pending order with entry @ 1.50123 and SL @ 1.50456 and TP @ 1.50123 - (1.50456-1.50123) BUT with 2x initial lotsize. If the buy order is closed (lost) the sell trigger, it shall create again a buy order but with 2x lotsize of the sell order.
And so on for 7 trades when it will stop and will no longer create any order.
10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hi, I am expert in making EA and CI for MT4. You can see my review in this website that I have done many good job for making EA and CI for MetaTrader.