Why Your MT4 EA Won’t Run: Easy Troubleshooting Beginners

※記事内に広告を含む場合があります。

1. Introduction

MT4 (MetaTrader 4) is an essential platform for FX traders. In particular, automated trading using EA (Expert Advisor) enables efficient transactions. However, it is not uncommon to encounter the issue of ‘MT4 EA not working’.

This article explains the causes of MT4 EA not working and specific solutions in an easy-to-understand manner. By reading this article, you will be able to resolve EA troubles on your own, so please read until the end.

2. Main reasons MT4 EA doesn’t work

2.1 Errors in automated trading settings

In MT4, if the automated trading feature is disabled, the EA will not work. The following configuration mistakes are the cause of many problems.

  • Check the automated trading button
    If the ‘Auto Trading’ button at the top of MT4 is red, the automated trading feature is off. Click this button to switch it to green and enable the feature.
  • EA property setting mistakes
    If the ‘Allow automated trading’ checkbox is not checked in the EA settings screen, it will also not work. Open the settings screen and check the following points.
  1. Right-click the EA on the chart and select “Expert Advisor” → “Properties”.
  2. In the “Common” tab, ensure that “Allow automated trading” is checked.

2.2 Issues with the trading account

The following issues related to the trading account can also hinder the EA’s operation.

  • Account freeze or expiration
    If the demo account has expired or the account itself is frozen, trades cannot be executed. You can check the account status from the MT4 terminal window.
  • Logging in with read-only mode
    If you log in with read-only mode, the EA will not work. In that case, re-login using the trading-only login credentials.

2.3 Mistakes in placing EA files

If the EA files are not placed in the correct folder, MT4 will not recognize them. Let’s verify using the following steps.

  1. Click “Open Data Folder” from the “File” menu.
  2. Open the “Experts” folder inside the “MQL4” folder and confirm that the EA files are correctly placed.
  3. After placing the files, always restart MT4.

2.4 Server connection issues

If MT4 is not properly connected to the trading server, the EA will not work. Check the connection status at the bottom right, and if it shows “No connection”, try the following measures.

  • Check your internet connection.
  • Restart MT4 and log in again.

2.5 Mistakes in currency pair or time frame settings

The EA may be optimized for specific currency pairs or time frames. For example, an EA designed for the 1‑hour chart of USD/JPY will not work on other currency pairs or time frames. Check the EA’s documentation and set it up appropriately.

3. Frequently Asked Questions (FAQ Section)

3.1 The EA is displayed on the chart but not functioning. What is the cause?

Solution

  1. Check that the automated trading button is green.
  2. Ensure that “Allow automated trading” is checked in the chart settings.
  3. Check the error log in the Journal tab.

3.2 The error message “OrderSend Error 130” appears. What should I do?

Solution

  • Set a wider stop level and increase the acceptable spread.
  • Restart MT4 and try again.

3.3 Server connection errors occur frequently. How should I address this?

Solution

  1. Verify your internet connection.
  2. If you are using a VPS, check the server settings and restart it.

4. Real-World Troubleshooting Cases and Their Solutions

4.1 EA Not Running Even When Auto-Trading Button Is On

Solution

  1. Check the EA settings and tick the ‘Allow Auto-Trading’ option.
  2. Set the appropriate currency pair and time frame based on the EA specifications.

4.2 Error Message ‘OrderSend Error 130’ Appears

Solution

  1. Relax the spread settings.
  2. Extend the stop level settings.

4.3 Works on Demo Account but Not on Live Account

Solution

  1. Adjust the trading conditions to match the live account.
  2. Reconfirm the login information.

5. Summary and Future Measures

In this article, we introduced the reasons why MT4 EA does not work and specific solutions. In particular, we explained troubleshooting steps while identifying detailed causes such as configuration errors, server errors, and compatibility issues.

Next time, we will provide a detailed explanation on “Tips for Optimizing EA Settings and Improving Performance”. Please look forward to it!

※記事内に広告を含む場合があります。
佐川 直弘: 株式会社トリロジー 取締役 日本国財務省近畿財務局長(金商)第372号 登録業者 MetaTrader黎明期よりFX自動売買システムの開発に携わる、日本最古参世代のアルゴリズムトレーダーの一人。 2015年 トレーデンシー大会 世界1位(全世界6,000システム中) EA-1グランプリ 第3回 準優勝 長年にわたり、EA設計・リスク管理・フォワード検証・VPS運用までを含めた実運用環境の構築を手がける。 本サイトでは、MetaTraderおよびMQL言語に関する技術解説、安全設計思想、実装ノウハウを体系的に公開する。 自動売買関連の発信は X(旧Twitter)にて #東京シストレ のタグで行っている。

This website uses cookies.