İş tamamlandı
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
İş Gereklilikleri
If any additional information is needed feel free to ask
I need a EA that creates Sell/Stop Limit Orders in MT4, if a specific position gets executed(to hedge the position) also it needs a mechanism to cancel the pending Sell/Buy Stop Limit order if the STOP Order hit´s SL without executing the Sell/Buy Stop Limit Order.
> if the order get´s executed the EA need´s to automatically setup a Sell Stop Limit Order with given parameters and set the TP of the GOLD BUY STOP ORDER to near Breakeven if the Buy/Sell Stop Limit rder get´s executed
(if this would be easier when the main order (in this case GOLD BUy STOP) is setup via the EA too I would be happy with the solution)
Inputs:
Matching Comment for assigment to a position: MATCHING COMMENT
Sell/Buy Stop Limit Inputs:
Limit: 0000
Stop Limit Price: 0000
SL: 0000
TP: 0000
Trailing MA STOP inputs:
Matching Comment: MATCHING COMMENT
Price level to Start Trailing Stop: 0000
MA Period: 0000
MA SHIFT: 0000
MA Style: SIMPLE/......
IF THE MAIN POSITION NEEDS TO BE SETUP VIA THE EA:
Inputs:
Volumen: 0000
Stop Price: 0000
SL: 0000
TP: 0000