To set up an MT5 Expert Advisor: copy the .ex5 file into your MT5 Experts folder (File → Open Data Folder → MQL5 → Experts), restart MetaTrader 5, find the EA in the Navigator panel, drag it onto the correct chart and timeframe, then click the AutoTrading button to enable it. The full process takes under 10 minutes.
Table of Contents
- What You Need Before Starting
- Step 1 — Install MetaTrader 5
- Step 2 — Place the EA File in the Right Folder
- Step 3 — Restart MT5 and Find Your EA
- Step 4 — Open the Correct Chart
- Step 5 — Attach the EA to the Chart
- Step 6 — Configure EA Inputs
- Step 7 — Enable AutoTrading
- Should You Use a VPS?
- Always Test on Demo First
- 7 Most Common Setup Mistakes
- Frequently Asked Questions
Setting up a MetaTrader 5 Expert Advisor sounds technical, but the process is straightforward once you understand where files go and what each setting controls. This guide walks through every step in sequence — from a fresh MT5 install to a live EA running on a real chart. No steps are skipped, and every common failure point is covered.
What You Need Before Starting
Before you touch any settings, make sure you have the following ready:
- MetaTrader 5 (MT5) — download free from your broker or MetaQuotes. Do not use MetaTrader 4 — .ex5 files are not compatible with MT4.
- A broker account — demo or live. IC Markets, Pepperstone, and Exness all offer free demo accounts with full MT5 access.
- Your EA file — ending in .ex5 (compiled, ready to run). Some EAs come as .mq5 source code requiring compilation in MetaEditor first.
- EA documentation — specifically: which pairs it trades, which timeframe (H1, M30, etc.), and what the key input parameters mean.
Step 1 — Install MetaTrader 5
Download and install MT5
Go to your broker’s website and download their branded MT5 installer. Using the broker’s version ensures the correct server list is pre-loaded. Run the installer, accept the defaults, and log in with your broker credentials. If you already have MT5 for a different broker, you can install multiple instances simultaneously — each terminal folder is separate.
Step 2 — Place the EA File in the Right Folder
Navigate to the Experts folder
Inside MT5, click File → Open Data Folder. This opens the MT5 data directory in Windows Explorer. Navigate to:
MQL5 → Experts
Copy your .ex5 file into this Experts folder. If the EA came with additional .set preset files, place them in the same folder unless documentation says otherwise.
Step 3 — Restart MT5 and Find Your EA
Refresh the Navigator
Close and reopen MT5. In the left-side Navigator panel (press Ctrl+N if not visible), expand Expert Advisors. Your EA should appear in the list. If not, right-click on Expert Advisors and select Refresh.
If the EA still does not appear, confirm the .ex5 file is in the correct Experts folder and is not corrupted or incomplete.
Step 4 — Open the Correct Chart
Match the chart to the EA specifications
Every EA is designed for a specific currency pair and timeframe. TITAN AutoTrader runs on CADCHF, USDCHF, GBPUSD, AUDUSD, and AUDCHF — all on the H1 (1-hour) timeframe. In MT5, go to File → New Chart or right-click in Market Watch to select the symbol. Switch the timeframe using the toolbar buttons.
Step 5 — Attach the EA to the Chart
Drag and drop, or double-click
From the Navigator panel, drag your EA onto the open chart. A settings window appears immediately. You will see three tabs: Common, Inputs, and Dependencies. In the Common tab, make sure Allow automated trading is ticked before clicking OK.
Step 6 — Configure EA Inputs
Set risk and key parameters
Click the Inputs tab. Most EAs share these core settings:
| Parameter | Typical Name | Recommended Starting Value |
|---|---|---|
| Risk per trade | RiskPercent | 1.0% prop firms / 2.0% personal account |
| Maximum daily loss | MaxDailyLossPct | 3–4% (buffer below prop limits) |
| Maximum overall DD | MaxOverallDDPct | 8% (buffer below 10% prop limit) |
| Magic number | MagicNumber | Leave as default unless running multiple EAs |
| News filter | UseNewsBlackout | True (always for prop firm accounts) |
Read the EA documentation carefully before changing any value you do not fully understand. Incorrect risk settings are the most common cause of unexpected drawdown.
Step 7 — Enable AutoTrading
The AutoTrading button must be green
After attaching the EA, find the AutoTrading button in the MT5 toolbar (top left). It should show a green play icon. If it is red or grey, click it. The EA cannot place any trades while AutoTrading is disabled, no matter how it is configured.
A small smiley face icon appears in the top-right corner of your chart. A green smiley means the EA is running. A red smiley means it is disabled on that chart — go back to the EA Common tab and check the Allow automated trading checkbox.
Should You Use a VPS?
A Virtual Private Server (VPS) is a remote Windows computer running 24 hours a day in a data centre. For EA trading, a VPS solves three problems:
- Your personal computer does not need to stay on. The VPS runs MT5 continuously while you sleep or work.
- Execution speed improves. A VPS near your broker’s server executes orders in under 10 milliseconds — far faster than home broadband.
- Power cuts and internet outages do not interrupt trading. Most VPS providers guarantee 99.9% uptime.
For broker proximity, IC Markets and Pepperstone use servers in New York (NY4) and London (LD4). Choose a VPS in those locations. Cost: $10–$30 per month. This is the single most important infrastructure investment for any EA trader.
See our full guide: Best VPS for MT5 Expert Advisors in 2026.
Always Test on Demo First
No matter how well-documented an EA is, run it on a demo account for a minimum of 20–30 trades before committing real capital. Demo testing confirms:
- The EA loads without errors (check View → Terminal → Experts for log messages)
- Position sizing is calculating correctly based on your account balance
- Stop losses and take profits are placed as expected
- The EA trades the intended direction on the intended pairs
- Daily loss limits trigger and stop further trading when hit
7 Most Common MT5 EA Setup Mistakes
- Wrong chart timeframe. Attaching an H1 EA to an M5 chart. The EA fires on M5 bars instead — completely changing its behaviour. Always match timeframe exactly.
- AutoTrading disabled globally. The toolbar button is red. The EA appears to be running but cannot place trades.
- Allow automated trading unchecked. Global AutoTrading can be on, but each EA has its own per-chart permission. Both must be enabled.
- Wrong symbol name. Different brokers name pairs differently — “CADCHF” vs “CADCHFm” vs “CADCHF.r”. The EA’s symbol filter must match your broker’s exact naming.
- Standard account with tight spread filter. Standard accounts have 2–4 pip spreads. If the EA has a MaxSpreadPoints limit, widen it or use a Raw/Pro spread account instead.
- Insufficient backtest history. Some brokers only provide 6 months of data. For proper backtesting, use IC Markets or Pepperstone who provide years of tick data.
- No news filter on FOMC or NFP days. Major news causes extreme volatility and spread widening. Always enable the news blackout feature on any prop firm account.
Ready to Run a Proven MT5 EA?
TITAN AutoTrader comes with a full setup guide, broker settings, and expert input recommendations. 74% win rate across 5 pairs — 17 months of verified backtest data included.
View TITAN Pricing → Read Setup Guide