TROUBLESHOOTING · METATRADER 5

EA greyed out in MT5 Navigator

SYMPTOM

The EA appears greyed out in the Navigator panel, or will not attach to a chart.

Causes, most likely first

1. It is an MT4 file in an MT5 terminal

An .ex4 will never run in MetaTrader 5. The languages and platforms are separate products, not versions of each other, and no conversion tool produces a working result for anything non-trivial. See MT4 vs MT5.

2. The file did not compile

A source file placed in the folder without compiling shows in the tree but cannot be attached. Open MetaEditor and compile it; the errors appear there rather than in the terminal, which is why the terminal gives no explanation.

3. It is source that was never compiled

An .mq5 is source code and cannot run until it is built into an .ex5. Press F4 in the terminal to open MetaEditor, find the file under Experts in its Navigator, open it and press F7. Read the log at the bottom: it must say 0 errors, and warnings are fine. If it compiles, an .ex5 appears beside the .mq5 and the terminal can run it. If it does not, the errors name the lines — and a file that fails to compile leaves nothing runnable behind, which is exactly what the greyed-out entry is reporting.

4. The terminal has not noticed the new file yet

Force it. Right-click inside the Navigator panel and choose Refresh, or press Ctrl+Shift+R. A restart of the terminal does the same thing more slowly. Worth doing before assuming anything is wrong: a correctly placed, correctly compiled EA still will not appear until the Navigator rescans the folder.

5. The terminal has not rescanned the folder

Files copied in while MetaTrader is running are not always picked up. Right-click in Navigator and Refresh, or restart the terminal. See EA not in Navigator.

6. It was placed in the wrong directory

Expert Advisors belong in MQL5/Experts, not MQL5/Indicators or MQL5/Scripts. Use File then Open Data Folder rather than navigating to Program Files, which is a different location and a common mistake.

Why this happens

The Experts and Journal tabs tell you which of these it is within seconds, and almost nobody looks at them. A compile failure names the file and the line; a wrong-platform file simply never appears as attachable.

If the EA is a compiled product from a vendor rather than source, a greyed-out entry after a correct install usually means the wrong platform build was downloaded.

Common questions

Why is my EA greyed out in the MT5 Navigator?

Greyed out means the terminal can see a file but cannot run it. The usual causes are an .ex4 — an MT4 program — sitting in an MT5 folder, or a source file that never compiled. The two formats are not interchangeable however correct the file is.

How do I compile an EA in MT5?

Open the .mq5 file in MetaEditor, which is F4 from the terminal, and press F7. Errors appear in the Errors tab and must be cleared before an .ex5 is produced. A file that fails to compile leaves no runnable program behind, and that absence is exactly what the Navigator is reporting.

Related problems

MT5 trading botAll troubleshootingContact support

Educational information only, not financial advice. Trading leveraged products carries substantial risk of loss. Last updated 2026-09-04.