仕事が完了した
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hedging EA Semi-Auto
I would like to have a hedging ea that will work without any indicator and that only will work after i opend a manually trade.
Ea is on the chart on autotrade and i will open a trade manually exemple:
Screenshot part1
After I open a 1 lot buy trade Ea will automaticly put the right SL and Take Profit ea will also manage the trade with a Trailling stop and break even.
Instanty after i open a manually buy trade ea will also make a reverse order at the opposite so ea will put a sell order at a definted pips distance from manually opend buy trade
-settings filtre for the reverse order disatnce will be in pips and the reverse order setting will also have a setting filtre to definted the multiplication for the reverse lot size so if entry buy trade was 1 lot size and reverse lot multiplication is 1 ea will have 1 lot in sell order but if th reverse multiplication is 3 ea will put a sell order that will be 3* times more than the 1 lot buy trade.
- ea will also put a Stop loss and Take Profit for the reverse order
If the manaully buy trade hit his TP or is closed by his Trailling stop in profit ea will instantly delete de reverse order . EA will not open a trade and will wait for a new manually trade with the definted settings to work ea will only work after a manually trade.
Screenshot part2
Now if the manually trade is not closed by Tp or TS and the price go to the reverse order and execute him then ea will instantly :
-Put the right Sl and Take profit for the trade
-Trailling Stop and break even management for the first buy trade will be disabled and will not working more after the reverse order his been executed.
-Will instantly make a new reverse order to the opposite direction with the same distance pips so ea will put a buy order at the same entry price from the manually buy trade but with a double lot size 2* more then the reverse trade opend before.This buy order will also have a Sl and Take Profit and this will be the same TP and SL as the first buy
So we have a manually buy trade 1 lot
Under this at 30 pips distance from the buy trade we have a sell trade that is 2 times more so it is 2 lot size in sell
Instantly ea will put a new buy order that will be 4 lot at the same entry price from the first buy trade.
Now if the TP from this reverse order is hit Ea will instantly Close all the opend trades and will also delete all the open orders
Now if the TP from this sell reverse trade is not hit and the price stay under the first buy trade and above the sell trade ea will do nothing and wait that the price choose a direction. Now if the price go up and hit the buy reverse ea will instantly put a new reverse order that will be 2* times more then the previous opend lotsize and this order will also have a TP and SL that will be the same as the other sell trade
Now if the trade has not touch his TP and goes under and touch the sell order again then this will be 8 lot and ea will automaticly remake a reverse order and this still one TP is not touche ea will pute a reverse orders and wait that a TP is touch to close all the opend trade and the opend reverse order.
EA must have this TRUE/FALSE filtres:
-Start hour , end hour, start minute end minute
- Sounds and popup alert when ea open trade
-sound And popup alert when EA close a trade
-Settings to change the distance pips from the first trade to the reverse order
-settings to change the trade multiplication for the reverse trades * (x1,2,3,4,...)
-Stop loss, Take profit , Lotsize ? break even, Trailing stop ( the trailing stop will only move after trade is in profit and not before.
Thank you