MetaTrader 5 guides
MetaTrader 5 troubleshooting guides
Start with the code in your order or EA log. Use the guide to identify what the server rejected and what to check next.
Trade server return codes
- 10016: Invalid stops
Check the stop or target against Bid or Ask, then confirm the minimum distance and tick size.
- 10018: Market closed
Check the exact symbol's trade session, broker server time and holiday changes.
- 10019: Not enough money
Compare free margin with the margin required for the actual order.
- 10026 or 10027: Algo Trading disabled
Separate the broker's permission from the terminal's permission.
- 10030: Unsupported filling mode
Match the filling policy to the broker's symbol and execution mode.
- 10031: No connection
Check whether the terminal could reach the trade server.
Terminal and EA setup
Get a second set of eyes
Bring the return code, exact symbol and one sanitized log line. Remove account IDs and credentials before sharing.
Ask in TradeMaster Discord