Troubleshooting
MT5 Expert Advisor Not Showing in Navigator: Eight Checks in Order, With a Decision Table
By Benjamin Lee · Updated · 12 min read
When an Expert Advisor does not appear in the MT5 Navigator, the cause is almost always one of four things: the file is in the wrong data folder, it is source code (.mq5) that was never compiled to .ex5, it is an MT4 file, or you copied it into a different terminal from the one you are looking at. Each check below takes about a minute, and they are ordered from the most common cause to the least, so you can stop as soon as the EA appears. A decision table follows the checks, and a worked example shows how to confirm the file loads.
Key takeaways
- Use File > Open Data Folder to find where the terminal you are looking at really reads files from.
- Only a compiled .ex5 file runs. A .mq5 file is source code, and .ex4 or .mq4 files belong to MT4.
- EAs live in MQL5\Experts inside the data folder, not in the Program Files install folder.
- A subfolder is fine, but you have to expand it in the Navigator.
- If the EA is listed but will not run or trade, that is a different problem from this one.
How the Navigator decides what to list
The Navigator is a view of folders on disk. MetaQuotes describes the three main program types as Expert Advisors, custom indicators and scripts, stored in the /MQL5/Experts, /MQL5/Indicators and /MQL5/Scripts folders of the platform. Inside those folders you can sort applications into subfolders, and the Navigator shows the same structure. So the question is never really why the Navigator hides your EA. It is whether the right file is in the right folder of the right terminal.
That last part trips people up. The platform keeps its editable files, including the MQL5 folder, in a data folder under your Windows user profile, and only the read-only program files in the install folder. An EA copied next to terminal.exe in Program Files is somewhere the Navigator does not read.
| Item | Location | Notes |
|---|---|---|
| Terminal.exe, MetaEditor.exe | Install folder (for example under Program Files) | Read-only program files. Do not put EAs here. |
| Settings, journals, profiles, the MQL5 folder | Data folder, normally C:\Users\username\AppData\Roaming\MetaQuotes\Terminal\instance_id\ | Open it with File > Open Data Folder. |
| Expert Advisors (.ex5 and .mq5) | MQL5\Experts inside the data folder | Subfolders are allowed. |
| Indicators and scripts | MQL5\Indicators and MQL5\Scripts | They list under their own Navigator headings. |
| Link back to the install folder | origin.txt in the data folder | Holds the path of the matching install folder. |
Check 1: Are you looking at the right terminal?
Many traders have more than one MT5 on the same PC: one from the broker, one from a prop firm, one from a download page. Each install has its own data folder, because the instance ID in the folder name is generated from the install path. An EA copied into one is invisible in the others. Look at the title bar of the terminal you are using to see which account it is logged into, then use File > Open Data Folder from that window and not from a shortcut or an old Explorer window.
Portable mode is the other way to end up in the wrong place. If the terminal was started with the /portable key, it stores its data in the installation folder instead of the user profile. In that case the MQL5 folder sits beside terminal.exe. File > Open Data Folder still takes you to the correct place, which is why it is the one method worth trusting. Also note that two copies of the platform cannot run from the same directory, so separate installs are the normal way to run several terminals.
Check 2: Is the file in MQL5\Experts?
Inside the data folder, open MQL5, then Experts. The EA file should be there or in a subfolder of it. Two near misses are common. The first is putting the file in MQL5\Indicators or MQL5\Scripts, where it will appear under Indicators or Scripts in the Navigator, if it appears at all. The second is a double-nested folder from unzipping, such as Experts\MyEA\MyEA\MyEA.ex5, which still lists but is easy to overlook.
Check 3: Is it a compiled .ex5 file?
MetaQuotes documents that compiling an MQL4/MQL5 source file produces the executable (.EX4 or .EX5) that can be launched in the platform. The .mq5 file is source code. The .ex5 file is the program. A vendor who sends you only a .mq5 file expects you to compile it, and a vendor who sends only a .ex5 file expects you to drop it straight into the Experts folder.
- .ex5 only: copy it to MQL5\Experts. It needs no compiling.
- .mq5 only: copy it to MQL5\Experts, open it in MetaEditor (press F4 in the terminal, or open the file from MetaEditor's Navigator), and press F7 to compile. If compiling succeeds, the .ex5 is created in the same folder as the .mq5.
- .ex4 or .mq4: this is an MT4 program. MQL4 and MQL5 are different languages, and MQL5.community's own migration guide says MQL4 programs have to be converted to MQL5 to be used in MetaTrader 5. Ask the vendor for the MT5 version. For the difference between the platforms, see MT4 vs MT5 for Expert Advisors.
- .mqh files: these are include files, not EAs. They belong in the folder the EA expects, usually MQL5\Include, and they never appear in the Navigator as something you can run.
Check 4: Did the compile actually succeed?
If you compiled a .mq5 and no .ex5 appeared, read the Errors tab in MetaEditor's Toolbox window. MetaQuotes states that no executable is created when compilation errors occur, while warnings still produce a file. A common reason is a missing include file or library that the source expects to find in MQL5\Include or MQL5\Libraries. Copy those files from the vendor's package, keeping their folder structure, and compile again. Do not edit code you do not understand. If the errors point into the vendor's own code, send them the log text and ask for a compiled build.
Check 5: Expand the subfolders
Folders in the Navigator are collapsed by default. If the vendor's package put the EA in a subfolder such as Experts\VendorName, expand it. The Navigator mirrors the disk structure, so the EA is listed exactly where it sits on disk.
Check 6: Refresh the view
Files copied into the MQL5 folder while the terminal is open do not always show up immediately. MetaEditor's Navigator has a Refresh command (F5) and picks up changes made in Windows Explorer automatically. For the terminal's own Navigator, right-click inside it and look for a refresh command in the context menu, since the options can differ between builds. If nothing changes, close the terminal completely and start it again, which makes it read the folders from scratch. Check the Navigator again before moving on.
Check 7: Listed but greyed out, or will not start
If the EA is in the Navigator but will not attach or run, the journal will tell you why. Open the Toolbox window and read the Experts tab (running programs) and the Journal tab (platform events). Two documented cases are worth knowing.
- CPU architecture: if a program was compiled for a newer processor instruction set than your CPU supports, MetaQuotes says the platform log prints a message that starts "your CPU architecture does not allow to run the file" followed by the file name and the instruction set required. The fix is a build compiled for your processor, which only the vendor or source owner can supply.
- DLL imports: if an application uses a DLL and DLL imports are not allowed, the OK button is not displayed in the start window. Enable it only for software from a source you trust. MetaQuotes warns that DLLs from unknown sources can cause damage.
If the EA attaches fine but places no trades, that is the Algo Trading switch, not the Navigator. See EA not trading: Algo Trading disabled. For wider symptoms, fixing common MT5 EA errors covers the rest. For 32-bit and 64-bit questions, the MQL5 reference documents a terminal property that reports whether the terminal is 64-bit, but MetaQuotes does not say that bitness changes what the Navigator lists. If a vendor says their file needs a particular bitness, ask which one and read the Experts tab.
Check 8: Antivirus or permissions removed the file
Security software sometimes quarantines unfamiliar executables. MetaQuotes does not document this behavior, so treat it as something to check. Open your security software's protection history or quarantine list and look for the EA's file name. If it is there, ask the vendor to confirm the file is genuine before restoring it. Never turn protection off to make an EA load, and never restore a file you cannot trace to its source. See the EA buying checklist before running anything unfamiliar.
Decision table: symptom, likely cause, fix
| Symptom | Likely cause | Fix |
|---|---|---|
| EA missing after copying files in | Copied into the install folder or a different terminal's data folder | Use File > Open Data Folder in the terminal you use and copy into MQL5\Experts there |
| Only a .mq5 file, nothing runnable | Source was never compiled | Open it in MetaEditor and press F7. Check the Errors tab if no .ex5 appears |
| File ends in .ex4 or .mq4 | MT4 program | Get the MT5 build from the vendor. It cannot be renamed into an MT5 EA |
| Compile finishes with errors | Missing include or library files, or a code problem | Copy the vendor's Include and Libraries files in place, or ask for a compiled .ex5 |
| EA not visible in the list | Sits in a collapsed subfolder, or in Indicators or Scripts | Expand the Experts folders. Check whether the file is under the wrong heading |
| Copied while the terminal was open | Navigator has not re-read the folder | Look for a refresh command in the Navigator menu, or restart the terminal |
| Listed in MetaEditor but not in the terminal (or the reverse) | Different terminals, or MetaEditor hiding executables | Compare data folders. Turn on Show All Files in MetaEditor's Navigator |
| Logged in to the right account but the list is empty | Portable-mode terminal or a second install | Open the data folder from that window and read origin.txt for the install path |
| File vanished after download or copy | Quarantined by security software | Check protection history. Restore only a file you can trace to a trusted source |
| Listed, but will not start | DLL not allowed, or CPU architecture mismatch | Read the Experts and Journal tabs. See check 7 |
Worked example: find the right folder and confirm the EA loads
Assume you downloaded a ZIP containing MyEA.ex5 and installed MT5 twice over the years, so you are not sure which terminal is the live one. Here is the sequence that settles it. Do it on a demo account first.
Step 1: Close every terminal except the one you will use
Start only the terminal logged into your demo account. Two copies cannot run from the same directory, and having extras open is how files end up in the wrong place.
Step 2: Open the data folder from that window
Click File, then Open Data Folder. Explorer opens at a path that normally looks like C:\Users\yourname\AppData\Roaming\MetaQuotes\Terminal\ followed by a long ID, or at the install folder if the terminal runs in portable mode.
Step 3: Confirm it is the right install
Open origin.txt in that folder. It holds the path of the install folder that belongs to this data folder. If that is not the install you launched, you opened a stale window, so go back to step 2 from the correct terminal.
Step 4: Copy the file into MQL5\Experts
Go to MQL5, then Experts, and paste MyEA.ex5. If the ZIP also had .mqh include files or a Libraries folder, keep their folder names and place them under MQL5 as the vendor describes.
Step 5: Make the Navigator re-read the folders
Return to the terminal. If the Navigator is hidden, show it from the View menu. Expand Expert Advisors, then any subfolders. If MyEA is not listed yet, use the refresh command in the Navigator menu if there is one, or close and reopen the terminal.
Step 6: Confirm it loads, not just lists
Drag MyEA onto a demo chart and click OK in the properties window. A successfully started EA shows its name in the upper right corner of the chart. Open the Experts tab of the Toolbox and read the lines for MyEA. A line that mentions the file name, a CPU architecture, or a DLL points to one of the checks above.
If this works on demo, the problem was location, not the EA. Next, make sure it is allowed to trade, and run it on demo through your first sessions. The full routine is in how to install an EA in MT5 and how to use an Expert Advisor in MT5.
Sources and further reading
- MetaTrader 5 Help: How to Start the Trading PlatformMain and portable modes, data folder location, Open Data Folder and origin.txt.
- MetaTrader 5 Help: Files and FoldersMQL5 folder layout, including Experts, Include, Libraries and Scripts.
- MetaTrader 5 Help: Expert Advisors and Custom IndicatorsProgram types, folders, Navigator subfolders, DLL permission and running an EA.
- MetaTrader 5 Help: Running a Trading RobotAttaching an EA from the Navigator, chart icon and AutoTrading controls.
- MetaEditor Help: CompilationEX5 output, errors versus warnings, F7, and the CPU architecture log message.
- MetaEditor Help: NavigatorRefresh (F5), Show All Files and external folder changes.
- MetaTrader 5 Help: Platform LogsExperts journal and Journal tab in the Toolbox.
- MQL5.community: Migrating from MQL4 to MQL5MQL4 programs have to be converted to MQL5 to be used in MetaTrader 5.
Frequently asked questions
Why is my EA not showing in the MT5 Navigator?
Usually the file is in the wrong place or is the wrong type. Open the data folder with File > Open Data Folder, confirm the compiled .ex5 file is in MQL5\Experts (or a subfolder), and refresh or restart the terminal. A .mq5 source file must be compiled first, and .ex4 files belong to MT4.
Where do I put an EA file in MT5?
In the MQL5\Experts folder inside the terminal's data folder, which you open from File > Open Data Folder. MetaQuotes states that Expert Advisors are stored in the /MQL5/Experts folder and that you can sort them into subfolders there.
Can I use an MT4 .ex4 file in MT5?
No. MT4 and MT5 use different program languages, and MQL4 programs have to be converted to MQL5 for MetaTrader 5. Ask the vendor for the MT5 .ex5 build rather than renaming the file.
What is the difference between .mq5 and .ex5?
The .mq5 file is source code and the .ex5 file is the compiled program. Compiling in MetaEditor with F7 creates the .ex5 in the same folder when there are no errors. Only the compiled file runs on a chart.
I compiled the EA but no .ex5 appeared. What now?
Read the Errors tab in MetaEditor. No executable is created when compile errors occur, and a missing include file or library is a common reason. Copy the missing files into the folders the code expects, or ask the vendor for a compiled build.
Does MT5 need a restart to show a new EA?
Not always, but it is a quick check. MetaEditor picks up external file changes automatically and has a Refresh command (F5). If the terminal Navigator does not show the file, look for a refresh command in its menu, then close and reopen the terminal.
Expert Advisors in these styles
Apply the checks above to any of these before you buy: read the manual, run your own backtest, and start on demo.
Keep reading
- EA basicsHow to Install and Run an EA on MT5Install an Expert Advisor on MetaTrader 5, load a setfile, set safe risk limits, and run it on a VPS. A practical walkthrough with a pre-live checklist.
- Pillar guideMT5 Expert Advisors: The Complete Guide for BeginnersEverything about MetaTrader 5 Expert Advisors: how they work, strategy types, risk, backtesting, buying safely, gold, EURUSD and prop firms.
- TroubleshootingMT5 Trade Return Codes Explained: 10016, 10019, 10030A plain guide to MT5 trade return codes in the Experts tab: 10004, 10006, 10014, 10016, 10018, 10019, 10027, 10030, with the cause and fix.
- Running an EAMT5 VPS Setup Step by Step for Expert AdvisorsSet up a Windows VPS for MT5 and your EA: choosing a location, remote desktop, installing the terminal, keeping it running, security and a daily check routine.


