Home > Getting Started Guide > EA Setup Guide

EA SetupMT5

How to Set Up EA in MT5 | GOLD EMA ATR EA Installation

Updated: May 15, 2026

STEP 1 | Download EA File

Download the EA file (GOLD_EMA_ATR_EA.mq5) from our site's dashboard. Once you register your MT5 account number, you can download immediately.

Dashboard screen - Account number registration and download button
▲ Dashboard screen (download button becomes active after registering account number)
If you can't download yet, first open an account at XM Trading or Exness, then register your MT5 account number in the dashboard.
Go to Dashboard

STEP 2 | Copy EA File to MT5 Folder

Place the downloaded EA file in a folder that MT5 can recognize.

Destination folder: C:\Users\[username]\AppData\Roaming\MetaQuotes\Terminal\[ID]\MQL5\Experts\

※ AppData is a hidden folder. In Explorer, go to 'View' → enable 'Show hidden files'.

Easy Method: Open from MT5 Menu

  1. 1.Launch MT5 and click 'File' → 'Open Data Folder' from the top menu
  2. 2.Open the 'MQL5' → 'Experts' folder
  3. 3.Copy & paste the downloaded GOLD_EMA_ATR_EA.mq5 file into this folder
MT5 File Menu
Click 'Open Data Folder'

MQL5 → Experts Folder

Copy .mq5 file here

スクリーンショットをここに配置

📌 ブローカー別シンボル選択(重要)

⚠️ XM と Exness ではゴールドの銘柄名が異なります。お使いのブローカーに合わせて正しいチャートに EA を装着してください。
EA はチャートの銘柄を自動取得するため、コード変更は不要です。

ブローカーGOLDEURUSDUSDJPY備考
XMTradingGOLDEURUSDUSDJPYスタンダード口座
XMTrading MicroGOLDmicroEURUSDmicroUSDJPYmicroマイクロ口座(小ロット)
Exness StandardXAUUSDEURUSDUSDJPYスタンダード口座
Exness Pro/Raw/ZeroXAUUSDEURUSDUSDJPY低スプレッド・スキャル向け
Exness Standard CentXAUUSDcEURUSDcUSDJPYcセント口座(極小資金)
💡 シンボル確認方法:MT5の「気配値表示(Ctrl+M)」で利用可能な銘柄一覧を確認できます。ご自身の口座種別に合った銘柄をチャートにドラッグしてください。
EAは銘柄非依存:チャートに装着するだけで、GOLD / XAUUSD / XAUUSDc どの銘柄でも自動で対応します(コード書き換え不要)。

STEP 3 | Enable EA in MT5

  1. 1

    Refresh the Navigator

    In the MT5 Navigator panel (left side), right-click 'Expert Advisors' → Click 'Refresh'. If GOLD_EMA_ATR_EA appears, you've succeeded.

    Navigator Panel
    GOLD_EMA_ATR_EA displayed in the list
  2. 2

    Display XAUUSD Chart

    File → New Chart → Select XAUUSD. Set the timeframe to H1 (1 hour).

  3. 3

    Drag EA onto Chart

    Drag 'GOLD_EMA_ATR_EA' from the Navigator onto the XAUUSD chart.

  4. 4

    Check Settings Dialog

    The settings dialog will open. In the 'Common' tab, confirm 'Allow Automated Trading' is checked, then click 'OK'.

    EA Settings Dialog
    Check 'Allow Automated Trading'
  5. 5

    Turn ON Auto Trading Button

    Confirm that the 'Auto Trading' button in the MT5 toolbar is green. If the EA name appears in the upper right of the chart, it's running.

    MT5 Chart Screen
    EA name and green auto trading button visible in upper right

STEP 4 | Parameter Settings

You can configure values in the 'Input Parameters' tab of the EA's properties dialog. For beginners, it's recommended to use default values.

Input Parameters Tab
Parameter settings screen
ParameterDefaultRecommended
FastEMA_Period2020 (no change needed)
SlowEMA_Period5050 (no change needed)
RiskPercent1.00.5-1.0 for beginners
UseTrailingStoptruetrue recommended

See the EA detail page for full parameter details.

STEP 5 | Verify Operation

Let's verify that the EA is running correctly.

  • EA name (GOLD_EMA_ATR_EA) is displayed in the upper right of the chart
  • The 'Auto Trading' button in the toolbar is green
  • No error messages in the 'Experts' tab
  • Always test on a demo account before using a live account

Experts Tab

Log showing no errors — running normally

スクリーンショットをここに配置

⚠️ Before running on a live account, always thoroughly test on a demo account. Using EAs is at your own risk.