How to Run an EA on Exness MT5 — Complete Guide 2026
Expert Advisors (EAs) let you run an EA on Exness MT5 that trades automatically, following a fixed strategy without you watching the screen. This guide walks you step by step through installing, configuring, and running EAs on Exness — including VPS, parameter optimization, and when to use AI to build your own robots.
⚡ 30-Second Summary
What an EA is: a .ex5 (compiled) or .mq5 (source code) file that automates a trading strategy on MT5. How to install it: copy it into Exness MT5’s MQL5/Experts folder. VPS (optional): about $10-20/month to run 24/7 without leaving your PC on. Setup time: 30-60 min the first time. Cost: free EAs cost nothing; commercial ones vary widely in price (in Brazil, for example, around R$50-500), and using Claude/ChatGPT to build your own runs about R$100/month in subscription fees, or the equivalent in your local currency.
Why Run an EA on Exness MT5
- 24/7 without you — trades Boom/Crash, V75, and forex without you sitting in front of the screen
- No emotion — no fear, greed, or revenge trading
- Backtesting — test a strategy against 5-10 years of data before risking real money
- Multiple pairs at once — a human can’t keep up, an EA can
- Absolute discipline — follows the rules exactly, every time
⚠️ The downside (honestly)
Commercial EAs sold on the MQL5 Market for $30-500 rarely keep working on a live account after 3-6 months. A beautiful backtest with a perfect equity curve is almost always overfitting. Buying an EA isn’t “easy money.” EAs are tools, not free cash.
Step-by-Step Setup (Exness MT5 + EA)
Download Exness’s MT5
Don’t use the generic MT5 from MetaQuotes. Use Exness’s version, which comes pre-configured with their servers.
- Go to
exness.com→ Platforms → MetaTrader 5 - Download the Desktop version (Windows or Mac)
- Install it normally
Log in with your Exness account
Login: your account number (e.g., 12345678). Password: the one you set when you signed up. Server: Exness-Real (live) or Exness-Demo (demo). I recommend testing EAs on demo first.
Find the MQL5/Experts folder
In MT5: File → Open Data Folder → MQL5 → Experts. This is where the .ex5 (compiled) or .mq5 (source code) files go.
Paste the EA file
Paste the .ex5 (or .mq5) file into the Experts folder. If it’s .mq5 (source code): right-click → Compile in MetaEditor to generate the .ex5.
Restart MT5 or refresh the list
In the Navigator panel (Ctrl+N), expand Expert Advisors. The new EA should appear. If not, right-click → Refresh.
Enable Algorithmic Trading
In MT5’s top menu: Tools → Options → Expert Advisors → Allow Algorithmic Trading. Without this, the EA won’t trade. Also check “Allow DLL imports” if the EA uses external DLLs.
Drag the EA onto the pair’s chart
Open the chart for the pair you want (e.g., EUR/USD H1). Drag the EA from the Navigator onto the chart. Configure the parameters (Inputs). Click OK.
Check the Algo Trading icon
In the top-right corner of MT5 you should see a blue/green icon showing “Algo Trading” as active. If it’s red or grayed out, the EA isn’t running. Click the “Algo Trading” button on the toolbar to turn it on.
💚 Final check
In the top-right corner of the chart you should see the EA’s name and its status icon. If the icon shows the EA as inactive, it is installed but Algo Trading is turned off — enable the Algo Trading button in the top toolbar and make sure “Allow Algo Trading” is ticked in the EA’s settings.
VPS — How to Run 24/7 Without Leaving Your PC On
Without a VPS, your EA only runs while your PC is on and connected to the internet. A VPS solves that: it’s a “remote PC” running 24/7 on a provider’s servers.
Recommended options (2026 pricing)
| VPS | Monthly | Location | Latency to Exness |
|---|---|---|---|
| Exness VPS (free) | €0 (with a $500+ deposit) | Equinix LD4 (London) | ~2-5ms |
| ForexVPS.net | $28-49 | Multiple | ~3-10ms |
| BeeksFX | $50-100 | Equinix tier-1 | ~1-3ms |
| Contabo (generic) | $6-15 | Europe/US | ~20-50ms |
💚 Free Exness VPS
Exness offers a free VPS if you keep a balance of $500+ in your account. It’s the best option — very low latency (~2ms), free, and pre-configured. Request it under Personal Area → Trading Tools → VPS.
🎯 Ready to run EAs? Open an Exness account with a free VPS ($500+ deposit).
Open an Exness Account →Affiliate link · FCA/CySEC regulated · Free VPS included
Types of EAs — Which One to Choose
Trend Following
Follows the trend using moving averages, MACD, ADX. Works well in trending forex pairs (EUR/USD during 2-3 month trends). Small gains per trade but a high win rate. Free example: EA Trend Hunter (open-source on MQL5).
Mean Reversion
Bets on price returning to the average (Bollinger Bands, extreme RSI). Works in ranging markets. High win rate (~70%), but takes big losses when a strong trend kicks in. Good on XAU/USD during quiet, news-free periods.
Scalping
Short trades, from seconds to minutes. Sensitive to spread and latency. Only works with a very low-latency VPS (Equinix LD4 with an Exness Pro account). Hard to validate (real slippage ≠ backtest).
Grid/Martingale
Opens multiple positions at different levels. A beautiful equity curve… until it blows up. Strategically dangerous — a single strong trend has wiped out accounts. Avoid unless you deeply understand the risk math.
News Trading
Reacts to economic news (NFP, FOMC). Requires ultra-fast execution. Commercial EAs rarely work here — massive slippage in the first milliseconds. Hard to profit consistently.
AI/ML Hybrid
Combines traditional indicators with ML models. The future, but it requires Python, training, and clean historical data. You build it with Claude/ChatGPT and run it on MT5 via a Python bridge or native MQL5.
How to Build an EA with AI (Claude or ChatGPT)
You don’t need to learn MQL5 from scratch. In 2026, AI can generate working MQL5 code in seconds. Claude Sonnet 4.6 is especially good at this.
Prompt template (paste into Claude)
Create an Expert Advisor in MQL5 for MetaTrader 5 with the following strategy: STRATEGY: - Use EMA9 + EMA21 (signal) + EMA200 (trend filter) - BUY: price > EMA200, EMA9 crosses above EMA21 - SELL: price < EMA200, EMA9 crosses below EMA21 RISK MANAGEMENT: - Fixed risk of 0.5% per trade - Stop Loss = ATR(14) * 1.5 - Take Profit = 2x Stop Loss - Trailing Stop activated after +1x SL in profit - Maximum 1 position per symbol TECHNICAL REQUIREMENTS: - Production-ready MQL5 - Full error handling (MqlTradeRequest/Result) - Checks margin before opening a trade - Unique magic number (input) - Configurable inputs for EMAs, ATR multiplier, risk % - Compatible with hedge accounts (Exness default) - Comments in English Please generate the complete .mq5 file.
Paste this prompt into Claude (or ChatGPT). In 30 seconds you’ll have a basic, working EA. Paste it into MT5’s MetaEditor, compile it, and test it on demo.
Backtesting — Validate Before Going Live
⚠️ Never run an EA on a live account without backtesting
A backtest shows how the EA would have performed against 5-10 years of historical data. If it fails the backtest, it will fail live too. If it passes the backtest, it can still fail live (overfitting), but passing is the bare minimum.
Open the Strategy Tester
In MT5: View → Strategy Tester or Ctrl+R. Select the EA, pair, timeframe, and backtest period (at least 2 years).
Use “Every tick based on real ticks”
Don’t use “Open prices only” or “1 minute OHLC” — they produce fake backtests. “Every tick” is the only reliable mode. Slower, but realistic.
Look at the critical metrics
Focus on:
- Profit Factor: > 1.5 minimum (ideally > 2)
- Max Drawdown: < 20% (ideally < 10%)
- Sharpe Ratio: > 1.0 (ideally > 1.5)
- Win Rate: 40-70% (extremes suggest overfitting)
- Total trades: 100+ (fewer than that means weak statistics)
Walk-Forward Validation
Backtest in-sample (training) plus out-of-sample (validation). If the EA only works in training but not in validation, that’s overfitting. Discard it.
Parameter Optimization — Without Falling Into Overfitting
The MT5 Strategy Tester lets you optimize: it tests multiple parameter combinations (EMA 5/10/15/20…) and shows you the best one. Careful: the “best” combination in the backtest rarely works live.
- Optimize only a few parameters (2-3 max). More than that = guaranteed overfitting.
- Use wide steps (e.g., EMA 5-50 with a step of 5, not 1).
- Check the “surface plot” — you want to see a plateau of good combinations, not one isolated spike.
- Always run an out-of-sample test with the parameters you chose.
Common Mistakes (and How to Avoid Them)
- Running an EA without understanding what it does — read the code, or at least the documentation. A black box is a recipe for losses.
- Buying EAs from Telegram promising “1000% returns” — they’re all scams or martingale systems that will wipe out your account.
- Not having a VPS — your PC shuts off once overnight, the EA misses a trade, and a gap wipes out the account.
- Overfitting parameters — optimizing until the backtest looks perfect. Live trading = disaster.
- Fixed risk > 1% per trade — drawdown outpaces recovery.
- Ignoring spread/commission in the backtest — a backtest without real costs is a lie.
- Not monitoring — EAs running 24/7 still need a daily check-up.
🚀 Want to test EAs on a free demo first? Exness MT5 + free VPS.
Open an Exness Demo →Affiliate link · MT5 demo with $10,000 virtual · No deposit required
Frequently Asked Questions
Is running an EA allowed on Exness?
Yes. Exness allows EAs on every account type (Standard, Pro, Raw, Zero). There’s no restriction on strategy type (scalping, grid, and martingale are all allowed — but use them wisely).
Can I run 10 EAs at the same time?
Technically, yes. But I don’t recommend it — multiple EAs on the same symbol fight each other (one opens a BUY, another opens a SELL). One EA per symbol is the golden rule.
Is an EA better than manual trading?
It depends. An EA is better at disciplined execution and running 24/7. Manual trading is better at adapting to context (news, fundamentals). A hybrid approach (you pick the setup, the EA executes it) is the sweet spot.
How much does it cost to build an EA with Claude/ChatGPT?
$20/month for Claude Pro or ChatGPT Plus. You ask for the EA in the chat, get MQL5 code back, and compile it in MT5. No extra cost. The only limit is knowing what to ask for.
Can I sell my own EAs?
Yes, on the MQL5 Market. But competition is intense and most EAs don’t sell. Being on the Market is more useful for building a reputation than for real income.
Does an Exness Cent account work with an EA?
Yes. A cent account is just a way to test EAs with a small amount of capital. $10 of real money trades as if it were $1,000 (in cent units). Good for a 2-3 month test before moving to a full real account.
Why isn’t my EA trading?
Two things to check first: the Algo Trading button in the MT5 toolbar needs to be turned on (see Step 06 above), and the EA’s own “Allow live trading” option — in its Inputs/Common tab when you drag it onto the chart — needs to be checked. If you’re not sure the file is even installed, confirm it landed in File → Open Data Folder → MQL5 → Experts and that it shows up under Expert Advisors in the Navigator.
Conclusion
EAs on Exness are a powerful tool if you use them with discipline. Setup takes about 30-60 minutes, a VPS is easy to get (and free via Exness with a $500+ deposit), and building your own EAs with Claude/ChatGPT is realistic in 2026 even without knowing MQL5.
But an EA isn’t easy money. 90% of commercial EAs stop working after 3-6 months. The 10% that do work require: rigorous backtesting, a reliable VPS, daily monitoring, and parameters that aren’t over-optimized.
Start simple (1 free EA on demo for 60 days), validate what works for you, then scale up. Discipline > sophistication.
