MT4 · Runtime errors
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
Inspect terminal logs and the failing function return value. Check inputs, array bounds, resources, connectivity and required permissions against the official description.