You’ve created your Expert Advisor, selected the parameters after much deliberation and are ready to enable it for trading. You’re feeling pretty proud of yourself and getting ready to brag about it when suddenly you get an error message. And we all know how frustrating that is! However, before you conclude that your MT4 Expert Advisor isn’t working and its time to bin it, there just might be a fix.
Your MT4 Expert Advisor could display an error message when you make an error while opening, closing or modifying an order. The error code would tell you exactly what the error is and here’s an easy way to decode the message.
The error code you see would typically have two letters, followed by a set of numbers. The letters could be OE, CE or ME. Here, OE stands for Open Error, or error when opening an order. CE stands for Close Error or error when closing an order. ME signifies Modify Error, or error when modifying an order.
Easy so far, right? Now let’s decipher what the numbers mean.
The most common error codes related to opening an order are:
The most common error codes related to closing an order are:
The most common error codes related to modifying an order are:
Keep this list of error messages handy. These should help you address most of the issues with your MT4 Expert Advisor and get you back to trading, and bragging, in no time.
If you liked this educational article, please consult our Risk Disclosure Notice before starting to trade. Trading leveraged products involves a high level of risk. You may lose more than your invested capital.
Start Trading Now
Tight Spreads from 0.1 pips
Trade Micro Lots
Personal Account Manager