Quantum Edge
Performance Pricing FAQ TITAN In Action Simulator Founders Support Setup Guide Compare EAs Blog Try Free Get Started
MT5 Setup Guide

How to Set Up an MT5 Expert Advisor
Step-by-Step Guide for 2026

📅 May 31, 2026 ⏰ 9 min read 📊 Beginner-Friendly By Quantum Edge Trading
MT5 SETUP GUIDE

How to Set Up an MT5 Expert Advisor

⑤ 7 Clear Steps 💻 Windows & Mac ✅ Beginner-Friendly
Quick Answer

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

  1. What You Need Before Starting
  2. Step 1 — Install MetaTrader 5
  3. Step 2 — Place the EA File in the Right Folder
  4. Step 3 — Restart MT5 and Find Your EA
  5. Step 4 — Open the Correct Chart
  6. Step 5 — Attach the EA to the Chart
  7. Step 6 — Configure EA Inputs
  8. Step 7 — Enable AutoTrading
  9. Should You Use a VPS?
  10. Always Test on Demo First
  11. 7 Most Common Setup Mistakes
  12. 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:

💡 Windows vs Mac: MT5 is a native Windows application. On Mac, use Wine, Parallels, or a Windows VPS. Most professional traders use a Windows VPS for reliability regardless of their personal computer.

Step 1 — Install MetaTrader 5

STEP 01

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

STEP 02

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.

Important: The Experts folder inside the MT5 installation directory differs from the one in the data directory. Always use File → Open Data Folder. Using the wrong folder means MT5 will never see your EA.

Step 3 — Restart MT5 and Find Your EA

STEP 03

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

STEP 04

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

STEP 05

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

STEP 06

Set risk and key parameters

Click the Inputs tab. Most EAs share these core settings:

ParameterTypical NameRecommended Starting Value
Risk per tradeRiskPercent1.0% prop firms / 2.0% personal account
Maximum daily lossMaxDailyLossPct3–4% (buffer below prop limits)
Maximum overall DDMaxOverallDDPct8% (buffer below 10% prop limit)
Magic numberMagicNumberLeave as default unless running multiple EAs
News filterUseNewsBlackoutTrue (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

STEP 07

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.

Quick checklist before going live: AutoTrading button = green • Chart symbol matches EA • Chart timeframe matches EA • Allow automated trading = ticked • Account has sufficient margin • Internet connection stable

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:

  1. Your personal computer does not need to stay on. The VPS runs MT5 continuously while you sleep or work.
  2. Execution speed improves. A VPS near your broker’s server executes orders in under 10 milliseconds — far faster than home broadband.
  3. 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:

7 Most Common MT5 EA Setup Mistakes

  1. 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.
  2. AutoTrading disabled globally. The toolbar button is red. The EA appears to be running but cannot place trades.
  3. Allow automated trading unchecked. Global AutoTrading can be on, but each EA has its own per-chart permission. Both must be enabled.
  4. 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.
  5. 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.
  6. 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.
  7. 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

Frequently Asked Questions

How do I install an Expert Advisor in MT5?
Why is my MT5 EA not trading?
Can I run an MT5 EA without a VPS?
What is the MT5 Experts folder path on Windows?
Should I test an EA on demo before going live?
Related Articles
Brokers
Best Broker for MT5 EA Trading
VPS
Best VPS for MT5 EA in 2026
Backtesting
How to Backtest an MT5 EA in Strategy Tester