Home > Getting Started Guide > EA Setup Guide

EA SetupMT5

How to Install an EA in MT5: Beginner's Guide

Updated: May 15, 2026

This page covers only "installing an EA in MT5 and getting it running". Install MT5 itself and log in to your account first using MT5 setup guide. It takes about 20 minutes and the steps are the same for any EA, ours or a third party's.

⏱Duration: ~20 min
📋Prerequisites: MT5 installed, EA downloaded

STEP 1 | Download EA File

Enter your MT5 account number in the sign-up form on the free EA page (DONCHIAN ENGINE). After approval you receive the download link by email. Unzip DONCHIAN_ENGINE.zip to get the EA itself (DONCHIAN_ENGINE_EA.ex5) and a first-time setup note (SETUP_FIRST.txt). The .ex5 is already compiled, so no compilation is needed.

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 Exness, XM Trading, or HFM, then register your MT5 account number in the dashboard.
Go to Register Page

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

📌 Broker Symbol Reference

Even for USDJPY, symbol names differ by broker. Always confirm the exact symbol name for your broker

BrokerGOLDEURUSDUSDJPYNote
XMTradingGOLDEURUSDUSDJPYStandard/non-Micro accounts
XMTrading MicroGOLDmicroEURUSDmicroUSDJPYmicroMicro account symbol
Exness StandardXAUUSDEURUSDUSDJPYStandard account
Exness Pro/Raw/ZeroXAUUSDEURUSDUSDJPYPro/Raw/Zero account
Exness Standard CentXAUUSDcEURUSDcUSDJPYcCent account (note trailing 'c')
💡 Can't find the symbol: Right-click in MT5 Market Watch → Show All Symbols → Search and add to chart
✅ Our EAs automatically detect broker symbol names. No configuration needed for Exness/XM/HFM

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 (beginners: leave as is)
FixedLot0.00 (keep auto sizing)
HoldBars6060 (no change)
SymbolUSDJPYUSDJPY (symbol auto-detected)

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
  • ✓Check the EA in the Strategy Tester first, then use it on a live account
Experts Tab
Log showing no errors — running normally
⚠️ Before running on a live account, always test thoroughly in the Strategy Tester (the free version does not run on demo accounts). You use the EA at your own risk.

STEP 6 | Common Problems and Fixes

If the EA still does not run after following the steps, it is almost always one of these five. Check them from the top.

SymptomCauseFix
The EA does not appear in NavigatorWrong folder (placed outside MQL5\Experts) or Navigator not refreshedFile → Open Data Folder → MQL5 → Experts: confirm the .ex5 is there, then right-click "Expert Advisors" in Navigator → Refresh
The EA name shows top-right on the chart but it never trades, or you see ☹ instead of 😊"Algo Trading" on the toolbar is off, or "Allow Algo Trading" is unchecked in the EA settingsTurn "Algo Trading" on the toolbar green. Double-click the EA on the chart → Common tab → check "Allow Algo Trading" → OK
The Experts tab shows code=4014 or a WebRequest error and the EA stopsOur EAs connect to fxea365.com at start-up to verify the account licence. If that URL is not allowed, the EA stopsTools → Options → Expert Advisors tab → tick "Allow WebRequest for listed URL" and add https://fxea365.com → OK → re-attach the EA
No trade is ever opened (no errors)Spread is above the limit, the time filter excludes the current session, or the news filter is waiting. With DetailedLog on, the Experts tab prints the reason for every skipped signalRead the waiting reason in the Experts tab. Widen MaxSpread slightly or check the time filter. If there are still no trades after several days, contact us with the log from the Experts tab
After switching broker: "symbol not found"Symbol names differ by broker: XAUUSD may be GOLD, USDJPY may be USDJPYm, etc.Right-click Market Watch → Show All → search the symbol and open its chart. Our EAs auto-detect Exness/XM/HFM symbol names

For fixes by error code see the MT5 error code list. For step-by-step screenshots see the blog post "Complete MT5 EA Installation Guide".

✅ EA Setup Checklist

  • □Copied EA file (.ex5) to Experts folder
  • □Auto trading is enabled in MT5
  • □Opened chart with correct broker symbol name
  • □Attached EA to chart
  • □Set parameters and clicked OK
  • □Smiley face icon (:-)) is shown on chart
  • □No errors in Experts tab