Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
Hallo, I have a fully functional EA that grids according to the specific step I set.
All i need is when I enable hedging mode ->which you need to create. A hedge will open alongside my standard griding.
I AM available for assistance.
Hedge positions will only open once and close once.
What I want is after position 1, for hedge positions to open with all the subsequent orders when price moves against my initial order. When price moves back in the right direction, the hedge can be closed, if it moves in wrong direction again, the hedge must be opened.
Hedge needs to be opened at the same price as the other order (give or take the swap)- for the intial hedge only.
I want the hedge to be closed when price move back into the right direction by (x pips) that I set.
When price moves into the wrong direction again, the hedge is not allowed to open again. Hedge positions may only open once and close once.
input paramater: enable or disable Hedging.
Comment in toolbox "Hedge" so i know its a hedge position.
Here is an example of what I want. SEE ATTACHED PICTURE
A. BUY opens.
B. Buy level 2 Opens alogn with a sell hedge (#2)
C. Buy level 3 opens along with sell hedge (#2)
D. Buy level 4 opens with a sell hedge (#3)
E. Buy level 5 Opens with Sell hedge (#4)
F. Sell hedge (#4) closes
G. Sell hedge (#3) closes.
market move past take profit and closes all open positions.