YI GOLD
MT4 · Trade return codes

MT4 149 · An attempt to open an order opposite to the existing one when hedging is disabled | YI GOLD

ERR_TRADE_HEDGE_PROHIBITED

Official meaning

An attempt to open an order opposite to the existing one when hedging is disabled

Possible causes · YI GOLD suggestions

Determine the cause from the official meaning, the triggering function and terminal logs.

Troubleshooting · YI GOLD suggestions

Check permissions, sessions, symbol specifications, quotes and request parameters. Reproduce in a demo account. Do not retry rejected requests indefinitely.