Hi guys,
I need your coding help. I want to open a hedge by open 4 postions at same time:
MagicNumber_1: buy EURUSD and sell USDCHF <--(Hedgepair 1)
and at the same time
MagicNumber_2: sell EURUSD and buy USDCHF <--(Hedgepair 2)
Now I want to close each Hedgepair when the profit of a Hedgepair reaches a defined takeprofit.
Please check the attached EAs. I need the code of the CloseSpecificMagicNo EA for both MagicNumbers in the OpenHedge EA.
Who can help?
Best regards.
I need your coding help. I want to open a hedge by open 4 postions at same time:
MagicNumber_1: buy EURUSD and sell USDCHF <--(Hedgepair 1)
and at the same time
MagicNumber_2: sell EURUSD and buy USDCHF <--(Hedgepair 2)
Now I want to close each Hedgepair when the profit of a Hedgepair reaches a defined takeprofit.
Please check the attached EAs. I need the code of the CloseSpecificMagicNo EA for both MagicNumbers in the OpenHedge EA.
Who can help?
Best regards.
Attached File(s)
CloseSpecificMagicNo EA.mq4
3 KB
|
199 downloads
OpenHedge EA.mq4
3 KB
|
208 downloads
{Promotion Removed}