If you are a new or experienced trader using MetaTrader 4 (MT4) for trading, you may have encountered some MT4 Error Codes while executing your traders.
If you are a new trader then it may be frustrating, also for experienced traders it may annoy you seeing these errors. However, understanding these error codes is important to effectively manage your trading journey.
In this blog post, we have compiled a comprehensive list of all the MT4 error codes you need to know, along with their detailed descriptions, to help you navigate through any issues that may arise during your trading journey.
List of MT4 Error Codes with Description
Here are the all MT4 Error Codes with error ID and description.
Error | Error ID | Description |
---|---|---|
ERR_NO_ERROR | 0 | No error returned |
ERR_NO_RESULT | 1 | No error was returned, but the result is unknown |
ERR_COMMON_ERROR | 2 | Common error |
ERR_INVALID_TRADE_PARAMETERS | 3 | Invalid trade parameters |
ERR_SERVER_BUSY | 4 | The trade server is busy |
ERR_OLD_VERSION | 5 | The old version of the client terminal |
ERR_NO_CONNECTION | 6 | No connection with the trade server |
ERR_NOT_ENOUGH_RIGHTS | 7 | Not enough rights |
ERR_TOO_FREQUENT_REQUESTS | 8 | Too frequent requests |
ERR_MALFUNCTIONAL_TRADE | 9 | Malfunctional trade operation |
ERR_ACCOUNT_DISABLED | 64 | Account disabled |
ERR_INVALID_ACCOUNT | 65 | Invalid account |
ERR_TRADE_TIMEOUT | 128 | Trade timeout |
ERR_INVALID_PRICE | 129 | Invalid price |
ERR_INVALID_STOPS | 130 | Invalid stops |
ERR_INVALID_TRADE_VOLUME | 131 | Invalid trade volume |
ERR_MARKET_CLOSED | 132 | Market is closed |
ERR_TRADE_DISABLED | 133 | Trade is disabled |
ERR_NOT_ENOUGH_MONEY | 134 | Not enough money |
ERR_PRICE_CHANGED | 135 | Price changed |
ERR_OFF_QUOTES | 136 | Off quotes |
ERR_BROKER_BUSY | 137 | Broker is busy |
ERR_REQUOTE | 138 | Requote |
ERR_ORDER_LOCKED | 139 | Order is locked |
ERR_LONG_POSITIONS_ONLY_ALLOWED | 140 | Long positions only allowed |
ERR_TOO_MANY_REQUESTS | 141 | Too many requests |
ERR_TRADE_MODIFY_DENIED | 145 | Modification denied because the order is too close to the market |
ERR_TRADE_CONTEXT_BUSY | 146 | Trade context is busy |
ERR_TRADE_EXPIRATION_DENIED | 147 | Expirations are denied by the broker |
ERR_TRADE_TOO_MANY_ORDERS | 148 | The amount of opened and pending orders has reached the limit set by a broker |
Also Read:
- Does Not Enough Rights Mean in MT4 [Fixed]
- How to Fix MetaTrader Login Problem?
- How to Show Bid and Ask Price on MT4?
- How to Fix Not enough money Error in MT4?
MT4 Error Codes Explanation
- ERR_NO_ERROR (0): This indicates that there is no error in the current operation.
- ERR_NO_RESULT (1): This indicates that the operation has been completed, but the result is unknown or could not be determined.
- ERR_COMMON_ERROR (2): This indicates that there is a common error that does not fall under any specific category.
- ERR_INVALID_TRADE_PARAMETERS (3): This indicates that the parameters of the trade request are invalid or incorrect.
- ERR_SERVER_BUSY (4): This indicates that the trade server is currently busy and cannot process the request at the moment.
- ERR_OLD_VERSION (5): This indicates that the client terminal is running an outdated version and needs to be updated to perform the requested operation.
- ERR_NO_CONNECTION (6): This indicates that there is no connection with the trade server and the requested operation cannot be completed.
- ERR_NOT_ENOUGH_RIGHTS (7): This indicates that the user does not have sufficient rights to perform the requested operation.
- ERR_TOO_FREQUENT_REQUESTS (8): This indicates that the client has sent too many requests in a short period of time and the trade server cannot process them all.
- ERR_MALFUNCTIONAL_TRADE (9): This indicates that the requested trade operation cannot be completed due to a malfunction in the system.
- ERR_ACCOUNT_DISABLED (64): This indicates that the user’s account has been disabled and the requested operation cannot be completed.
- ERR_INVALID_ACCOUNT (65): This indicates that the user account specified in the request is invalid or incorrect.
- ERR_TRADE_TIMEOUT (128): This indicates that the requested trade operation has timed out and cannot be completed.
- ERR_INVALID_PRICE (129): This indicates that the price specified in the trade request is invalid or incorrect.
- ERR_INVALID_STOPS (130): This indicates that the stop loss or take profit values specified in the trade request is invalid or incorrect.
- ERR_INVALID_TRADE_VOLUME (131): This indicates that the trade volume specified in the trade request is invalid or incorrect.
- ERR_MARKET_CLOSED (132): This indicates that the market is currently closed and the requested operation cannot be completed.
- ERR_TRADE_DISABLED (133): This indicates that trading is currently disabled and the requested operation cannot be completed.
- ERR_NOT_ENOUGH_MONEY (134): This indicates that the user does not have sufficient funds to perform the requested trade operation.
- ERR_PRICE_CHANGED (135): This indicates that the price has changed since the trade request was submitted and the operation cannot be completed at the requested price.
- ERR_OFF_QUOTES (136): This indicates that the requested quote is currently unavailable and the trade operation cannot be completed.
- ERR_BROKER_BUSY (137): This indicates that the broker is currently busy and cannot process the requested operation at the moment.
- ERR_REQUOTE (138): This indicates that the requested quote has changed and the trade operation needs to be resubmitted with the new quote.
- ERR_ORDER_LOCKED (139): This indicates that the requested order is locked and cannot be modified or deleted.
- ERR_LONG_POSITIONS_ONLY_ALLOWED (140): This indicates that only long positions are allowed for the requested trade operation.
- ERR_TOO_MANY_REQUESTS (141): This indicates that the client has sent too many requests in a short period of time and the trade server cannot process them all.
- ERR_TRADE_MODIFY_DENIED (145): This indicates that the modification of the requested trade operation has been denied because it is too close to the market.
- ERR_TRADE_CONTEXT_BUSY (146): This indicates that the trade context is currently busy and cannot process the requested operation at the moment.
- ERR_TRADE_EXPIRATION_DENIED (147): This indicates that the requested trade expiration has been denied by the broker.
- ERR_TRADE_TOO_MANY_ORDERS (148): This indicates that the maximum number of opened and pending orders has been reached for the user’s account and no new orders can be placed at the moment.
Bottom Line
These MT4 error codes are commonly seen errors in trading platforms, and the trade server returns them to indicate the status of a requested trade operation.
Understanding these error codes is critical for traders who want to manage their trades effectively and avoid potential problems during the trading process.
I am copying trades from an MT4 demo (standard) account to an MT5 live cent account using FXBlue copier. Some trades are copied but there are others that are not and there is a pop up alert saying unable to place due to invalid stops. FXBlue are no help at all! Would appreciate your help please.