EA Not Working in MT5? How to Fix Load, Start and Trading Problems
EABuild Team · · 11 min read

On this page
- Matching the MT5 symptom to the right fix
- EA missing from the MT5 Navigator
- EA removed from the chart or failing to start in MT5
- Algo Trading off, or attached but opening no trades
- Reading the MT5 Experts and Journal messages that refuse an order
- Netting and hedging accounts for grid EAs on MT5
- Three MT5 EAs and the problems each is most likely to show
- FAQ
- Testing your MT5 EA fixes on a demo account this week
When you have an EA not working in MT5, the cause almost always sits in one of five places: the file location, the start-up, the Algo Trading switches, the trading conditions, or the account type. This post orders the fixes by what you see on screen, so you can go straight to your symptom instead of reading every check. It covers expert advisors (EAs, programs that place trades automatically) on MetaTrader 5 only.
Two problems already have their own guides, and this post points to them instead of repeating them. Each section below starts with the symptom and ends when that symptom is solved.
Matching the MT5 symptom to the right fix
Each symptom points to a different part of MetaTrader 5, so identify yours first and then read only that section. The table lists the usual cases.
| What you see | Most likely cause | Where to look |
|---|---|---|
| EA not listed in the Navigator | Wrong folder, wrong data folder or an MT4 file | Missing from the Navigator |
| EA disappears from the chart or shows a start-up error | Old terminal build, missing helper file, DLL setting, invalid input | Removed from the chart or failing to start |
| Red Algo Trading button, crossed icon in the chart corner | A permission is off | Algo Trading off or EA idle |
| EA is running but opens nothing | Its own filters, symbol name, lot size | Algo Trading off or EA idle |
| A message such as invalid stops or invalid volume | The broker refused the order request | Experts and Journal messages |
| A grid EA behaves oddly on a new account | Netting instead of hedging | Netting and hedging accounts |
EA missing from the MT5 Navigator
An EA that does not appear in the Navigator is nearly always in the wrong folder, or it is a file type MT5 cannot list. Work through these steps in order.
- In MT5, open File, then Open Data Folder. If you run more than one MetaTrader 5 installation, make sure you opened the data folder of the terminal you are actually using, because each one keeps its own.
- Open the MQL5 folder, then Experts. The compiled EA file belongs here.
- Check the file ending. MT5 loads compiled files that end in .ex5. A file ending in .ex4 is an MT4 file and MT5 will not list it. A file ending in .mq5 is source code and must be compiled in MetaEditor first.
- Extract the download before copying. A file left inside a zip archive is not seen by the terminal.
- In the Navigator, right-click Expert Advisors and choose Refresh, or restart MT5.
If you are not sure about any step, the guide to installing an EA in MT5 shows the full file placement. The platform's own MetaTrader 5 help pages describe the data folder if a menu looks different on your build.
EA removed from the chart or failing to start in MT5
An EA that disappears from the chart or stops at start-up has met a condition it cannot satisfy, and the Experts tab normally names it. Open the Toolbox with Ctrl+T and read the Experts tab right after you attach the EA.
Terminal build too old
A compiled EA can require a newer terminal build than the one you run. Check your build under Help, About. If the product listing states a minimum build, update to it.
A helper file is missing
Some packages hold more than one compiled file. Copy every compiled file from the package, not only the main EA, and keep the layout the package gives you. A missing helper file can make the EA stop at start-up.
DLL imports
A DLL is a code library that sits outside MetaTrader. Under Tools, Options, Expert Advisors, the Allow DLL imports option matters only for an EA that calls one. Check the product facts before you change it. When the listing says DLL: no, leave the option as it is.
An input value the EA rejects
An EA may stop at start-up when an input is out of range, for example a negative distance or a lot size of zero. The Experts tab often prints which input it disliked. Press F7 on the chart, open the Inputs tab and reset the value, or reload the default set file.
Attach the EA again after each change and watch the Experts tab. One change per attempt tells you which one worked.
Algo Trading off, or attached but opening no trades
When the Algo Trading button is red or the EA's own permission is unticked, no order can leave the terminal, and the fix is a few clicks. When everything is switched on but nothing opens, the EA is waiting for its own conditions or something is blocking it.
The switches
MetaTrader 5 has a toolbar button, a terminal option and a per-EA setting, and all three must agree. The guide to enabling Algo Trading in MT5 walks through each one and how to read the icon in the chart corner, so this post does not repeat it.
Attached, allowed and still silent
An EA can be fully permitted and open nothing because of a spread limit, a time window, the wrong symbol name or too little margin for the lot. The guide on what to do when an EA is not taking trades holds the ordered checklist for that case. Come back here if the Experts or Journal tab shows a message, because the next section explains the common ones.
Reading the MT5 Experts and Journal messages that refuse an order
When MT5 refuses an order, the Experts or Journal tab prints a short reason, and that reason tells you which setting to change. The Experts tab shows messages from the EA, while the Journal shows messages from the platform and the broker's server. MT5 states these as words, and its trade server return codes carry numbers.
| Message | What it means | What to check |
|---|---|---|
| Invalid stops (10016) | The stop loss or take profit is on the wrong side of the price or too close to it | The symbol's minimum stop distance, and whether the EA's distance inputs are in points or pips |
| Invalid volume (10014) | The lot is below the minimum, off the lot step or above the maximum | The symbol specification and the lot input |
| Not enough money (10019) | Free margin is too small for the requested lot | Balance, leverage and lot size; for martingale sizing, the larger lots after a loss |
| Market closed (10018) | The symbol is outside its trading session | The session times of the symbol at your broker |
| Trade disabled (10017) | Trading is not allowed for this symbol or account | The investor password, the account type and the broker's conditions |
| Unsupported filling mode | The broker does not accept the order fill type the EA requested | The filling mode the broker allows for the symbol and any filling input of the EA |
If the log shows several refusals in a row at the same time of day, compare that time with your broker's session and rollover hours. Right-click the tab and choose Open to see the day's log file, then search it for words such as invalid, disabled or money.
Netting and hedging accounts for grid EAs on MT5
A netting account keeps one position per symbol, while a hedging account lets you hold several positions on the same symbol, including opposite ones. This matters for a grid strategy, which opens extra orders at set price steps.
On a hedging account each grid order stays a separate position. On a netting account the orders merge into one position with an average price, so an EA written to manage separate orders may close, add or report differently. The EA may look broken when it is following rules built for the other account type.
Your broker states the account type when you open the account, so ask if you are unsure. Test the EA on a demo account of the same type as your live account, because a demo set up differently can hide the problem. The product listing states what the strategy does but not which account type it assumes, so the demo test is the reliable check.
Three MT5 EAs and the problems each is most likely to show
The three products below are all MT5 expert advisors, and each fact comes from its own listing. The problems named are common setup mistakes for the type of EA, not statements about how any of them performs. If you are still choosing which one to run, the gold EA guide explains what to look at when choosing a gold EA.
Alpha Scalper Pro EA for MT5
Alpha Scalper Pro EA for MT5 is an MT5 expert advisor that combines scalping with martingale, listed for XAUUSD, EURUSD and GBPUSD on M5. The package has one compiled EA file and 3 set files (saved lists of input settings), and it uses no DLL. The recommended minimum deposit is $50.
Two things are worth checking. First, your broker's symbol name: a suffix such as .m on a gold symbol can stop an EA from recognising the chart. Second, martingale means the lot size grows after a losing trade, so a small account may meet a not enough money refusal sooner than you expect. The guide to loading a set file in MT4 and MT5 covers loading the right one.
Ultimate Breakout System EA for MT5
Ultimate Breakout System EA for MT5 is listed with breakout and scalping logic for XAUUSD, USDJPY, NAS100 and US500 on M1 and D1. The package holds 5 compiled files (the EA plus 4 helper files), 226 set files and 5 PDF files, with no DLL. The recommended minimum deposit is $100.
Because the package has several compiled files, copy all of them, which ties back to the missing helper file case above. Brokers name indices in different ways, so match the listed NAS100 or US500 to your broker's own symbol before you attach the EA. With 226 set files, keep a note of which one is loaded on which chart.
Mad Turtle EA for MT5
Mad Turtle EA for MT5 is an MT5 expert advisor listed as scalping with a grid and martingale, for XAUUSD on H1 and M15. The download has one compiled EA file and 7 set files, with no DLL. The recommended minimum deposit is $100.
A grid with martingale is the case where the netting and hedging section applies most, and where a lot that grows after losses can trigger a margin refusal. Check your account type, load one of the 7 set files and run it on a demo account before any live use. Grid exposure can grow while price moves against the first order.
FAQ
Why is my EA missing from the MT5 Navigator after I copied it?
An EA is usually missing from the MT5 Navigator because it was copied to the wrong data folder or is not an .ex5 file. Open File, then Open Data Folder from the terminal you are using, place the compiled file in MQL5\Experts, and refresh the Navigator or restart MT5.
Can an .ex4 file run in MetaTrader 5?
No, an .ex4 file cannot run in MetaTrader 5, because it is a compiled MetaTrader 4 file. MT5 loads .ex5 files, so you need the MT5 version of the EA, or source code that is rewritten and compiled for MT5.
Does a green Algo Trading button mean the EA is working?
A green Algo Trading button only means the terminal allows automated trading. The EA still needs its own permission on the Common tab, the right symbol and timeframe, and conditions that match its filters before it opens an order.
What does invalid stops mean in the MT5 Experts tab?
Invalid stops means the broker refused the order because its stop loss or take profit sits too close to the price or on the wrong side. Check the symbol's minimum stop distance and make sure the EA's distance inputs use the unit it expects, points or pips.
Can a netting account stop a grid EA from working properly?
A netting account can change how a grid EA behaves, because all orders on one symbol merge into a single position. An EA written for separate orders may then manage or close positions differently. Test it on a demo account of the same account type as your live one.
Testing your MT5 EA fixes on a demo account this week
Change one thing at a time on a demo account and read the Experts tab after each change, so you know which fix worked. A fix that makes an EA load or place orders says nothing about how it will trade, so check the settings before you trade live.
If you want to try a different MT5 EA while you troubleshoot, every product on the site is included in the membership, which gives you access to every product in the catalogue.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.


