Broker API HubMenu

Error codes

MetaTrader 4 API error codes

161 decoded error codes for MetaTrader 4 (MQL4). Each page gives the exact error text and what it means. 24 of them carry a fix or a next step, and each of those rows is marked Fix recorded. Where the source gives no remedy, the page says so.

Independent and unofficialNewest reading

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Trade server return codes

32 codes

Returned by the trade server to the platform.

Runtime error codes

129 codes

Raised inside the platform's own language.

How to cite this

MetaTrader 4 API error codes. Broker API Hub, https://openbrokerapi.com/errors/mt4, newest check .

Where you rely on a single figure, cite the source and the checked date printed beside it as well.

Sections