Home > Getting Started Guide > EA Setup Guide

EA SetupMT5

Cách cài EA trên MT5: hướng dẫn đầy đủ cho người mới

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

Nhập số tài khoản MT5 vào form đăng ký trên trang EA miễn phí (DONCHIAN ENGINE). Sau khi được duyệt, link tải sẽ gửi qua email. Giải nén DONCHIAN_ENGINE.zip để có EA (DONCHIAN_ENGINE_EA.ex5) và ghi chú thiết lập lần đầu (SETUP_FIRST.txt). File .ex5 đã được biên dịch sẵn, không cần biên dịch.

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 DONCHIAN_ENGINE_EA.ex5 file into this folder
MT5 File Menu
Click 'Open Data Folder'
MQL5 → Experts Folder
Copy .ex5 file here

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

Ngay cả với USDJPY, 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 DONCHIAN_ENGINE_EA appears, you've succeeded.

    Navigator Panel
    DONCHIAN_ENGINE_EA displayed in the list
  2. 2

    Display USDJPY Chart

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

  3. 3

    Drag EA onto Chart

    Drag 'DONCHIAN_ENGINE_EA' from the Navigator onto the USDJPY 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
RiskPercent0.50,5 (người mới: giữ nguyên)
FixedLot0.00 (giữ tự động)
HoldBars6060 (không đổi)
SymbolUSDJPYUSDJPY (tự nhận diện mã)

See the EA detail page for full parameter details.

STEP 5 | Verify Operation

Let's verify that the EA is running correctly.

  • ✓EA name (DONCHIAN_ENGINE_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 (.ex5) 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