An expert advisor is a program with permission to place trades on your account. That sentence is worth sitting with before installing one, because the industry around EAs contains as much marketing as substance and the platform gives them the same access you have.
What an EA is
A program written in MQL4 or MQL5 that attaches to a chart and can open, modify and close positions automatically according to its coded rules.
It runs while the platform is open and connected. Close MetaTrader and the EA stops.
Three related program types:
| Type | Behaviour |
|---|---|
| Expert Advisor | Runs continuously, can trade |
| Script | Runs once, then stops |
| Indicator | Displays only — normally cannot trade |
Scripts are useful for one-off actions: close all positions, place a set of orders, apply stops to everything open.
Installing
Same pattern as indicators, different folder.
1. File → Open Data Folder
2. MQL4 → Experts (or MQL5 → Experts)
3. Copy the .ex4 / .ex5 file
4. Restart, or refresh the Navigator
5. Navigator → Expert Advisors
Enabling automated trading
Two switches must both be on.
GLOBAL
Tools → Options → Expert Advisors
☑ Allow automated trading
(or the AutoTrading toolbar button)
PER EA
When attaching, Common tab:
☑ Allow live trading
A smiling face in the chart’s top-right corner means the EA is active. A frowning face means trading is disabled somewhere.
The most common “my EA is not working” cause is the global AutoTrading button being off. Check it first.
Attaching and configuring
Drag the EA from Navigator onto a chart. A dialog opens with two relevant tabs.
Common — permissions, including live trading and DLL imports.
Inputs — the EA’s own parameters: lot size, risk settings, stop distances, time filters.
The Inputs tab is where your risk exposure is determined, and it deserves more than a glance.
An EA’s default settings were chosen by its developer for their account, not yours. A default lot size of 0.10 on a $500 account, or a “maximum trades” setting of 20, can produce exposure far beyond anything your risk plan permits. Every input that affects position size, trade count or stop distance needs setting deliberately. The EA will do exactly what it is configured to do, including things you did not intend.
DLL imports
A permission worth understanding before granting it.
“Allow DLL imports” lets the EA call external Windows libraries — code outside the platform entirely.
Some legitimate tools need this for network communication or to interface with external services. It also means the program can do things MetaTrader’s own sandbox would prevent.
Grant it only when the tool genuinely requires it and you trust the source. An EA from an unknown developer requesting DLL access is asking for considerably more than trading permission.
The honest picture on EAs
Worth stating plainly, since this section would otherwise read as an endorsement.
Most commercially sold EAs do not work. The market is full of systems with impressive backtests and poor live performance, sold on marketing rather than verified results.
Backtests are easy to make look good. Optimising parameters until historical performance is excellent produces a curve fitted to the past, which tells you nothing about the future. This is the single most common failure.
Martingale systems produce excellent equity curves until they do not. Any EA that increases position size after losses will show a long smooth profit history followed by a single catastrophic loss. The smoothness is the warning sign, not the reassurance.
A “no loss” or “100% win rate” claim describes a system without stops, holding losers indefinitely. The losses exist; they are simply unrealised until they are not.
Verified live results over years, on a real account, are the minimum evidence. Anything else is a claim.
What automation is actually good at
The useful distinction is between automating judgement and automating execution.
Automating judgement — an EA deciding when to trade — requires a genuine edge encoded in rules, which is difficult and rare.
Automating execution — placing an order that has already been decided — removes a real category of error, and this is where most retail traders benefit.
Execution automation eliminates: transcription mistakes, missing stops, delay between signal and entry, and trades placed after a daily limit should have stopped you.
Those are mechanical failures, and mechanical failures are exactly what software fixes well.
Trade copiers
The most common execution automation in retail trading.
A copier takes trades from a source — another account, or a Telegram channel — and places them on yours according to your configured rules.
Two architectures:
Terminal-based. Runs as an EA on your platform. Requires MetaTrader open and connected, which usually means a VPS.
Cloud-based. Runs on the provider’s infrastructure and connects to your account directly. No VPS, no platform needed.
Telegram Trade Linker uses the cloud model — copying from Telegram to MT4 or MT5 without a VPS or a running terminal, with automatic symbol detection so broker naming variations do not break execution, plus configurable risk controls and daily loss limits.
The honest framing, consistent with the rest of this Academy: a copier removes execution error and enforces limits you configure. It does not decide your risk percentage, evaluate whether a signal suits your existing exposure, or determine whether you should be trading today. Those come from your plan.
Verifying an EA or copier
Whatever automation you use, verify rather than assume.
1. Run on demo first, for at least
two weeks
2. Check the placed volume matches
what your risk % should produce
3. Confirm stops and targets appear
on every trade
4. Check the Experts tab for errors
5. On live, start at minimum size
6. Review the first ten trades
individually
The first few live trades are where configuration mistakes surface. Reviewing them individually costs ten minutes and catches problems that would otherwise accumulate.
Monitoring
Automation reduces attention required; it does not eliminate it.
Experts tab — EA activity and errors.
Journal tab — platform-level events, including rejected orders.
Trade tab — what is actually open right now.
Worth checking daily even with fully automated execution. Connection drops, margin changes, symbol issues and broker-side restrictions all show up here first.
The strategy tester
Built into both platforms for backtesting EAs — View → Strategy Tester, or Ctrl+R.
MT5’s version is substantially better: multi-threaded, faster, more accurate tick modelling.
Two cautions that matter more than the mechanics:
Data quality determines validity. Poor historical data produces results that mean nothing regardless of how good they look.
Optimisation produces overfitting. Tuning parameters until the backtest is excellent fits the program to that specific history. Forward testing on unseen data, then demo, then small live, is the only sequence that tells you anything.
What to do next
The next lesson covers the mobile app — what it does well, what it does badly, and why it should not be your primary platform.
Frequently asked questions
What is an expert advisor in MT4?
A program written in MQL that attaches to a chart and can open, modify and close positions automatically. It runs only while the platform is open and connected, which is why terminal-based automation usually requires a VPS.
Why is my EA not trading?
Most commonly the global AutoTrading button is off. Both the global setting under Tools, Options, Expert Advisors and the per-EA “Allow live trading” checkbox must be enabled. A smiling face on the chart confirms it is active.
Do profitable expert advisors exist?
Some do, but most commercially sold ones do not work. Impressive backtests are easy to produce through parameter optimisation, which fits the program to past data. Verified live results over years on a real account are the minimum evidence worth considering.
What is wrong with martingale EAs?
They increase position size after losses, producing a long smooth equity curve followed by a single catastrophic loss. The smoothness is the warning sign rather than the reassurance.
Should I allow DLL imports?
Only when the tool genuinely requires it and you trust the source. DLL access lets the program call external Windows code outside the platform’s sandbox, which is considerably more than trading permission.
What is automation actually good for?
Automating execution rather than judgement. It removes transcription mistakes, missing stops, delay between signal and entry, and trades placed past a daily limit — mechanical failures that software fixes well.
