Trading Tutorials7 min read·Jul 24, 2026

How to Install Custom Indicators on MT5

MK
Miles Rowan KeeneJul 24, 2026
How to Install Custom Indicators on MT5

Installing a custom indicator on MT5 is two moves: put the file in the right folder, then refresh the Navigator. That part rarely breaks anything. What actually breaks a terminal — or fills a chart with red “invalid indicator” errors — is everything upstream of that: the wrong file extension, a source file nobody compiled, or a download from a site you can’t vouch for. Whether you’re trying to auto-mark order blocks and fair value gaps instead of drawing them by hand, or just adding a moving average, how to install custom indicators on MT5 is a five-minute job once you know which file goes where — whether you trade discretionarily or run a prop trading evaluation, the failure points are the same, and so is the fix.

Quick answer: open MetaTrader 5, click File, then Open Data Folder. Go to MQL5, then Indicators. Copy the compiled .ex5 file into that folder. Right-click inside the Navigator panel and choose Refresh (or restart MT5 if refresh doesn’t pick it up), then drag the indicator from Navigator’s Custom Indicators list onto your chart.

How to Install Custom Indicators on MT5 in 4 Steps

  1. Get the right custom indicator file. A finished, ready-to-run custom indicator is a .ex5 file. If what you have is .mq5, that’s source code — it needs to be compiled before MT5 will recognize it, which the next section covers.
  2. Open the Data Folder from inside MT5. File → Open Data Folder. This isn’t the same as searching your Program Files manually; MT5 keeps its working files in a separate, per-installation folder, and copying to the wrong location is the single most common reason an install “does nothing.”
  3. Drop the custom indicator file into MQL5 → Indicators. Create subfolders if you’re managing a lot of tools — one for anything that marks support and resistance zones, another for premium and discount zone markers — but the root Indicators folder works fine for a handful of files.
  4. Refresh before you restart. Right-click anywhere inside the Navigator panel and select Refresh. That surfaces the custom indicator on MT5 immediately in most cases. A full restart of MT5 is the fallback only if refresh doesn’t work.

.Ex5 vs .Mq5 — Which File Goes Where

Both custom indicator file types live in the same MQL5 → Indicators folder, but they behave differently once they’re there. A .ex5 custom indicator is compiled — MT5 reads it and runs it, no extra step. A .mq5 is human-readable source code, and MT5 won’t load it until it’s been compiled through MetaEditor (press F4 inside MT5, open the file, click Compile, check the Errors tab at the bottom).

The distinction matters beyond convenience. Source code is something you, or someone you trust, can actually read before it touches your account. Plenty of the custom indicators on MT5 built for tracking BOS and CHoCH shifts or automating parts of the RTM trading strategy are shared as .mq5 for exactly this reason — you can see what it does instead of trusting a black box.

Fixing an Indicator That Won’t Show Up in the Navigator

Most reports that a custom indicator “isn’t working” trace back to one of four causes. Match the symptom before you start guessing.

What you’re seeing Likely cause Fix
Nothing new appears in Navigator Panel hasn’t refreshed Right-click inside Navigator → Refresh; restart MT5 if that doesn’t do it
A red “invalid indicator” note on the chart The source was never compiled Open the file in MetaEditor, hit Compile, read the Errors tab
Loads on one chart, not another The symbol isn’t in Market Watch Add that symbol to Market Watch first, then reapply the indicator
Runs alone, fails alongside an expert advisor DLL imports are blocked Tools → Options → Expert Advisors, and allow DLL imports only for files you trust

Indicators that recalculate on every tick — anything plotting Fibonacci retracement levels automatically or flagging a pullback in real time — surface these problems fastest, since they’re the ones doing the most work in the background.

Installing From the MetaTrader Market Instead of a File

The Market tab inside MT5 skips file handling entirely: you browse, click install, and the platform places the compiled file and keeps it updated. It’s the more forgiving route for a polished, actively maintained tool, though it’s usually reserved for custom indicators sold or listed there rather than something a coder shared privately.

How to Install Custom Indicators on MT5 in 4 Steps

Traders coming over from a TradingView guide for prop trading sometimes assume MT5’s Market works the same way TradingView’s public library does — it doesn’t fully. Plenty of useful tools, including a fair share of the ones built around pending orders automation, are still only distributed as a raw file, which puts you back in the folder workflow above.

How to Vet a Custom Indicator Before You Install It on MT5

A .ex5 custom indicator is compiled, which means you can’t read what it actually does before you run it — you’re trusting the source. Stick to MQL5’s own CodeBase or Market, or a vendor whose track record you can check, rather than a random link from a Discord server or a Telegram channel promising a “secret” tool. If an indicator asks for DLL import permission and you don’t know why it needs that access, don’t grant it — that’s the same permission a script would need to act far beyond drawing lines on a chart.

This matters more, not less, once real capital is on the line. PropLynq, for example, runs its Two-Step evaluation on a 5% daily loss limit and a 10% maximum drawdown on a $100,000 account — fixed budgets that don’t pause because your terminal froze mid-session on an unverified indicator. A crash during a fast move is an inconvenience in a personal account; in an evaluation, it’s lost visibility on a position while the clock on your risk keeps running. Vetting a custom indicator on MT5 before it touches your platform is part of protecting that budget, the same way passing a prop firm challenge depends on protecting it in every other sense — and it’s worth understanding static versus trailing drawdown so you know exactly what a bad session actually costs you.

Custom Indicators on Mobile and Web MT5

Custom indicators on MT5 only run on the desktop terminal. iOS, Android, and the WebTrader version can’t load a .ex5 or .mq5 file — that’s a platform limitation, not a bug on your end. If you’re relying on a tool to flag something like an engulfing candle pattern or a discipline check against FOMO while you’re away from your desk, the indicator still needs a desktop instance running in the background to push you an alert. There’s no version of custom-indicator trading that works purely from a phone.

Common Mistakes when you install a Custom Indicator on MT5

  • Mixing up MT4 and MT5 folders. They’re separate installations with separate MQL folders; a file built for one won’t run correctly dropped into the other.
  • Pasting an .mq4 file into the MQL5 folder. Wrong platform, wrong syntax — it will not compile.
  • Skipping compilation on a .mq5 file. Copying source code isn’t enough; MetaEditor has to turn it into something MT5 can run.
  • Losing track of which terminal instance you’re in. Traders running more than one broker’s MT5 install sometimes install the indicator into the wrong one and assume it’s broken.
  • Trusting an indicator’s numbers over your own math. A chart tool that estimates position size is a starting point, not a substitute for running your own lot size calculator figure.
  • Ignoring that an indicator’s read on slippage is a model, not your broker’s actual fill. Treat it as a guide, not a guarantee.
  • Assuming a custom indicator on MT5 behaves exactly like its MT4 version. The two platforms use different file formats and different math libraries; a port that “mostly works” is still worth testing on a demo chart first.

The File Discipline That Actually Matters

Installing a custom indicator itself takes five minutes once you know the four steps. The discipline is entirely in which file you choose and where it comes from — a rule that holds whether this is your first custom tool or your fiftieth. If you’re still building the fundamentals, our guide on how to start trading with zero experience is a reasonable place to begin, and once you’re ready to test that setup against real rules, the same discipline applies to scaling a funded account.

If you want to run a clean, indicator-ready MT5 setup against real evaluation rules, you can get a funded account and start from a stable terminal.

MK
Written by

Miles Rowan Keene

As Senior Market Strategist at PropLynq, I write about market structure, trading psychology, and risk-first execution. My focus is on turning complex market behavior into clear, actionable lessons for both developing and experienced traders. I specialize in educational content covering funded account rules, drawdown management, trade planning, and strategy refinement, with the goal of helping traders build consistency through discipline, preparation, and a deeper understanding of how professional trading environments operate.

📬

Weekly Trading Insights

Market analysis and trading tips delivered every Monday. No spam, unsubscribe anytime.

Comments

No comments yet — be the first.

Leave a Comment