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

Thời gian: ~20 phút
📋Điều kiện: Đã cài MT5, đã tải EA

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 HFM, 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

📌 Tham chiếu Ký hiệu theo Sàn

Ngay cả với XAUUSD, tên ký hiệu cũng khác nhau tùy sàn. Luôn xác nhận tên ký hiệu chính xác của sàn bạn

SànGOLDEURUSDUSDJPYGhi chú
XMTradingGOLDEURUSDUSDJPYTài khoản Standard (không Micro)
XMTrading MicroGOLDmicroEURUSDmicroUSDJPYmicroKý hiệu tài khoản Micro
Exness StandardXAUUSDEURUSDUSDJPYTài khoản Standard
Exness Pro/Raw/ZeroXAUUSDEURUSDUSDJPYTài khoản Pro/Raw/Zero
Exness Standard CentXAUUSDcEURUSDcUSDJPYcTài khoản Cent (chú ý 'c' cuối)
💡 Không tìm thấy ký hiệu: Nhấp chuột phải vào Market Watch MT5 → Hiển thị tất cả ký hiệu → Tìm kiếm và thêm vào biểu đồ
✅ EA của chúng tôi tự động phát hiện tên ký hiệu của sàn. Không cần cấu hình cho HFM/XM/Exness

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.

✅ Danh sách Kiểm tra Cài đặt EA

  • Đã sao chép tệp EA (.mq5) vào thư mục Experts
  • Đã bật giao dịch tự động trong MT5
  • Đã mở biểu đồ với tên ký hiệu đúng của sàn
  • Đã gắn EA vào biểu đồ
  • Đã đặt tham số và nhấn OK
  • Biểu tượng mặt cười (:-)) hiển thị trên biểu đồ
  • Không có lỗi trong tab Experts