Get 36 MetaTrader 4 (MT4) scripts for free and optimize your trading strategy today! Free Download Now!

MT4 Error Codes: All Error you need to Know

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.

MT4 Error Codes
ErrorError IDDescription
ERR_NO_ERROR0No error returned
ERR_NO_RESULT1No error was returned, but the result is unknown
ERR_COMMON_ERROR2Common error
ERR_INVALID_TRADE_PARAMETERS3Invalid trade parameters
ERR_SERVER_BUSY4The trade server is busy
ERR_OLD_VERSION5The old version of the client terminal
ERR_NO_CONNECTION6No connection with the trade server
ERR_NOT_ENOUGH_RIGHTS7Not enough rights
ERR_TOO_FREQUENT_REQUESTS8Too frequent requests
ERR_MALFUNCTIONAL_TRADE9Malfunctional trade operation
ERR_ACCOUNT_DISABLED64Account disabled
ERR_INVALID_ACCOUNT65Invalid account
ERR_TRADE_TIMEOUT128Trade timeout
ERR_INVALID_PRICE129Invalid price
ERR_INVALID_STOPS130Invalid stops
ERR_INVALID_TRADE_VOLUME131Invalid trade volume
ERR_MARKET_CLOSED132Market is closed
ERR_TRADE_DISABLED133Trade is disabled
ERR_NOT_ENOUGH_MONEY134Not enough money
ERR_PRICE_CHANGED135Price changed
ERR_OFF_QUOTES136Off quotes
ERR_BROKER_BUSY137Broker is busy
ERR_REQUOTE138Requote
ERR_ORDER_LOCKED139Order is locked
ERR_LONG_POSITIONS_ONLY_ALLOWED140Long positions only allowed
ERR_TOO_MANY_REQUESTS141Too many requests
ERR_TRADE_MODIFY_DENIED145Modification denied because the order is too close to the market
ERR_TRADE_CONTEXT_BUSY146Trade context is busy
ERR_TRADE_EXPIRATION_DENIED147Expirations are denied by the broker
ERR_TRADE_TOO_MANY_ORDERS148The amount of opened and pending orders has reached the limit set by a broker

Also Read:

MT4 Error Codes Explanation

  1. ERR_NO_ERROR (0): This indicates that there is no error in the current operation.
  2. ERR_NO_RESULT (1): This indicates that the operation has been completed, but the result is unknown or could not be determined.
  3. ERR_COMMON_ERROR (2): This indicates that there is a common error that does not fall under any specific category.
  4. ERR_INVALID_TRADE_PARAMETERS (3): This indicates that the parameters of the trade request are invalid or incorrect.
  5. ERR_SERVER_BUSY (4): This indicates that the trade server is currently busy and cannot process the request at the moment.
  6. 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.
  7. ERR_NO_CONNECTION (6): This indicates that there is no connection with the trade server and the requested operation cannot be completed.
  8. ERR_NOT_ENOUGH_RIGHTS (7): This indicates that the user does not have sufficient rights to perform the requested operation.
  9. 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.
  10. ERR_MALFUNCTIONAL_TRADE (9): This indicates that the requested trade operation cannot be completed due to a malfunction in the system.
  11. ERR_ACCOUNT_DISABLED (64): This indicates that the user’s account has been disabled and the requested operation cannot be completed.
  12. ERR_INVALID_ACCOUNT (65): This indicates that the user account specified in the request is invalid or incorrect.
  13. ERR_TRADE_TIMEOUT (128): This indicates that the requested trade operation has timed out and cannot be completed.
  14. ERR_INVALID_PRICE (129): This indicates that the price specified in the trade request is invalid or incorrect.
  15. ERR_INVALID_STOPS (130): This indicates that the stop loss or take profit values specified in the trade request is invalid or incorrect.
  16. ERR_INVALID_TRADE_VOLUME (131): This indicates that the trade volume specified in the trade request is invalid or incorrect.
  17. ERR_MARKET_CLOSED (132): This indicates that the market is currently closed and the requested operation cannot be completed.
  18. ERR_TRADE_DISABLED (133): This indicates that trading is currently disabled and the requested operation cannot be completed.
  19. ERR_NOT_ENOUGH_MONEY (134): This indicates that the user does not have sufficient funds to perform the requested trade operation.
  20. 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.
  21. ERR_OFF_QUOTES (136): This indicates that the requested quote is currently unavailable and the trade operation cannot be completed.
  22. ERR_BROKER_BUSY (137): This indicates that the broker is currently busy and cannot process the requested operation at the moment.
  23. ERR_REQUOTE (138): This indicates that the requested quote has changed and the trade operation needs to be resubmitted with the new quote.
  24. ERR_ORDER_LOCKED (139): This indicates that the requested order is locked and cannot be modified or deleted.
  25. ERR_LONG_POSITIONS_ONLY_ALLOWED (140): This indicates that only long positions are allowed for the requested trade operation.
  26. 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.
  27. 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.
  28. ERR_TRADE_CONTEXT_BUSY (146): This indicates that the trade context is currently busy and cannot process the requested operation at the moment.
  29. ERR_TRADE_EXPIRATION_DENIED (147): This indicates that the requested trade expiration has been denied by the broker.
  30. 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.

Share:

Forex Admin Team is a dedicated group of financial professionals who are passionate about helping traders and investors grow their portfolios. We provide in-depth analysis of Forex Brokers, Stocks, CFDs, ETFs, and other financial instruments to help our readers make informed decisions.

1 thought on “MT4 Error Codes: All Error you need to Know”

  1. 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.

    Reply

Leave a Comment