Home›Learn›Concepts›What is a Custom Indicator?

What is a Custom Indicator?

A custom indicator is a user or third-party MT4/MT5 tool written in MQL. How it differs from the built-in set, and why paid 'holy grail' indicators let you down.

Concepts5 minUpdated 14 Aug 2026
What is a Custom Indicator?

A custom indicator is any indicator you add to MetaTrader yourself, rather than one that ships with the platform. It reads price and volume, calculates something, and draws the result on your chart: a line, an arrow, a value in the corner. Custom indicators are written in MQL, the language behind MT4 and MT5, and they can plot almost anything. The one thing they cannot do is place a trade.

What it is

MetaTrader comes with a fixed set of indicators built in: moving averages, RSI, MACD, Bollinger Bands and a few dozen others. A custom indicator is anything outside that set. It might be one you wrote, one a coder built to your brief, or one you downloaded from a forum or a shop. It arrives as a compiled file (.ex4 on MT4, .ex5 on MT5) and appears in the Navigator panel under Custom Indicators once installed.

An indicator only reads and displays. It can colour candles, print an arrow when two averages cross, or show the live spread on the chart. It cannot open, close or modify an order; that is an Expert Advisor's job. Anything sold as an indicator that promises to trade for you is either mislabelled or an EA in disguise.

How it works

A custom indicator is a small program that runs on every price tick, recalculates its values, and writes them into buffers the chart draws for you. Installing one is a copy-and-restart job. Open File → Open Data Folder, drop the file into MQL4/Indicators (or MQL5/Indicators), refresh the Navigator, then drag the indicator onto a chart. A settings dialog opens where you set periods, colours and alerts, exactly as you would for a built-in tool.

Because it is code rather than a fixed feature, a custom indicator can combine several signals into one panel, send a phone alert, or read data the standard set leaves out. It can also carry bugs the built-in tools never had, and you usually cannot see the source that produced it.

A worked example

Suppose you buy a trend-scanner indicator for £120. In the seller's screenshots it prints a green arrow at the exact bottom of every rally and a red arrow at the top, and the chart looks perfect. Load it on live prices and the arrows start to move: a green arrow you saw an hour ago is now gone, because the indicator repaints. It redraws old signals once new bars confirm them, so the flawless history was really drawn with hindsight. Run it forward on prices the seller never chose and the arrows arrive a candle or two late, the clean entries disappear, and the £120 turns out to have bought a moving average with a flattering bug.

Why it matters

Custom indicators are where MetaTrader gets genuinely useful. A built-in average is the same for everyone; a custom one can encode your own rules, watch several pairs at once, and alert you so you are not tied to the screen. Many Expert Advisors also read a custom indicator's values as their entry signal, so the quality of the indicator feeds straight into the quality of the automated system.

The same freedom is why caution pays. Anyone can compile a file and sell it. There is no vetting, no source code by default, and no way to know what a closed indicator really does until you test it on data the seller did not hand-pick.

Common misconceptions

  • A paid indicator has a secret edge. It almost never does. Most repackage standard maths behind a new name and a sales page. The price tag is not evidence of an edge.
  • Repainting is rare. It is common, and it is the single biggest reason a "perfect" indicator falls apart live. Always forward-test on bars the seller has never seen.
  • More indicators mean a clearer picture. Six indicators reading the same price usually agree with each other and add nothing. Copies of one idea are not confirmation.
  • An indicator can manage the trade. It cannot. The moment something places or closes orders it is an Expert Advisor, and it deserves the scrutiny you would give any EA.

The Karnek note

Karnek reads your MetaTrader terminal read-only, so it sees the trades your indicators and EAs actually produced, not the arrows a sales page promised. It can never place, close or modify an order; it only reports what happened on the live account. A custom indicator's real value shows up in the verified results, not the screenshots.

See it in Karnek: see how Karnek works, read-only monitoring for every MT4 and MT5 account.

More in Concepts →

Written and reviewed by the Karnek Research team. Last updated August 2026.

Educational content only - not financial advice. Past performance does not predict future results. Trading carries significant risk.