What's new

failed market buy/ EURUSD/ [Hedge is prohibited]

sarap

New member
I get a lot of these messages below. How do I fix my setting for the case of Hedge is prohibited? Currently, there are sell orders only. Thank you

2024.02.06 13:05:00.791 Trades '22797876': failed market buy 0.01 EURUSD sl: 1.07465 tp: 1.07665 [Hedge is prohibited]
2024.02.06 13:15:00.790 Trades '22797876': failed market buy 0.01 EURUSD sl: 1.07454 tp: 1.07654 [Hedge is prohibited]
 
I get a lot of these messages below. How do I fix my setting for the case of Hedge is prohibited? Currently, there are sell orders only. Thank you

2024.02.06 13:05:00.791 Trades '22797876': failed market buy 0.01 EURUSD sl: 1.07465 tp: 1.07665 [Hedge is prohibited]
2024.02.06 13:15:00.790 Trades '22797876': failed market buy 0.01 EURUSD sl: 1.07454 tp: 1.07654 [Hedge is prohibited]


You’re seeing “Hedge is prohibited” because your broker/account doesn’t allow holding buy and sell positions on the same symbol at the same time. Your configured settings are making EA to open a buy on EURUSD while you still have sell positions open, so the platform rejects it.
 
I get a lot of these messages below. How do I fix my setting for the case of Hedge is prohibited? Currently, there are sell orders only. Thank you

2024.02.06 13:05:00.791 Trades '22797876': failed market buy 0.01 EURUSD sl: 1.07465 tp: 1.07665 [Hedge is prohibited]
2024.02.06 13:15:00.790 Trades '22797876': failed market buy 0.01 EURUSD sl: 1.07454 tp: 1.07654 [Hedge is prohibited]
If you are using Metatrader 4, there is an option in the settings window of Galileo FX on the pairs where you can select for the trades to go either LONG or SHORT only.
This ensures trades being opened only one way, avoiding the error :)
 
Back
Top