How to Install Custom Indicators on MT5: 2026 Guide
FiveTec Editorial Team | Published on September 15, 2026 | 6 min read
MetaTrader 5 already includes 38 built in technical indicators, 21 chart timeframes and support for up to 100 open charts, but many traders eventually want tools that are not included by default. That is where custom indicators come in. MetaQuotes also allows an unlimited number of custom indicators to be used through the MT5 ecosystem.
The short answer is simple: to install a custom indicator on MT5, open the MT5 Data Folder, place the indicator inside MQL5 > Indicators, refresh MT5, then attach the indicator to a chart.
There is one extra step if your file is an .mq5 source file rather than an already compiled .ex5 file. I will explain that below.
What is a custom indicator in MT5?
A custom indicator is an analytical tool created for MetaTrader 5 using the MQL5 programming language.
It can calculate and display information that is not available through the standard MT5 indicators. Common examples include custom moving averages, session indicators, volume tools, market structure indicators, dashboards, trend filters and volatility tools.
There is an important distinction here.
A custom indicator analyses or displays market information. An Expert Advisor, or EA, can automate trading.
According to the official MQL5 documentation, automated trading is not permitted directly from indicators. Trade functions such as OrderSend() are restricted to Expert Advisors and scripts.
How do you install a custom indicator on MT5?
Here is the installation process I recommend because it uses MT5's own Data Folder rather than trying to locate folders manually on your computer.
-
Open MetaTrader 5
Launch the exact MT5 terminal where you want to use the indicator. This matters if you have MT5 installations from multiple brokers.
-
Open the MT5 Data Folder
From the top menu, select:
File > Open Data Folder
MetaQuotes recommends using the Data Folder because it takes you directly to the files used by that specific MT5 installation.
-
Open the Indicators folder
Inside the Data Folder, navigate to:
MQL5 > Indicators
This is the official location for MetaTrader 5 custom indicator files.
-
Copy your indicator file into the folder
Your indicator will normally be supplied as either:
.ex5or
.mq5An
.ex5file is already compiled and normally ready to run.An
.mq5file contains the source code and needs to be compiled before MT5 can run it. -
Compile the file if you received an MQ5 file
Press F4 to open MetaEditor.
Locate the indicator, open it and press F7 to compile.
Successful compilation creates the executable
.ex5version. MetaQuotes notes that source.mq5files themselves are not displayed as runnable indicators inside the MT5 Navigator. -
Refresh MetaTrader 5
Return to MT5 and open the Navigator using Ctrl + N.
Find the Indicators section and refresh it. If the new indicator still does not appear, close and reopen MT5.
-
Add the indicator to your chart
Open the chart you want to analyse.
Find the custom indicator in Navigator and either double click it or drag it onto the chart.
Review its Inputs, Colors and other available settings, then click OK.
At this point, the indicator is installed and running.
EX5 vs MQ5: what is the difference?
This causes a lot of confusion for first time MT5 users.
An MQ5 file is the readable MQL5 source code.
An EX5 file is the compiled program that MetaTrader 5 executes.
If a developer gives you only an EX5 file, you normally do not need MetaEditor. Place it in MQL5/Indicators, refresh MT5 and load it.
If you receive an MQ5 file, compile it using MetaEditor first.
One practical advantage of receiving the MQ5 version is transparency. If you understand MQL5 programming, you can inspect the source code before compiling it.
With a commercial indicator, however, developers often distribute only the compiled EX5 version to protect their source code.
Where do you find free MT5 indicators?
The safest starting point is the official MQL5 CodeBase.
MetaQuotes describes CodeBase as its free source code library for MetaTrader 5 programs. It contains indicators, Expert Advisors, scripts and libraries that users can download and test.
There is also a dedicated indicator section containing free MetaTrader 5 indicator source code.
Another option is MetaTrader Market.
The Market includes both paid and free MT5 indicators, and a dedicated Free filter is currently available.
MetaTrader's official platform information says users can access thousands of free indicators through CodeBase as well as thousands of ready made algorithmic applications through the Market.
I would prioritise those sources over unknown download websites, Telegram archives or random file sharing links.
Free does not automatically mean unsafe, and paid does not automatically mean trustworthy. What matters is the source, developer history, permissions requested and whether the tool's claims are realistic.
Are custom indicators safe to install?
Custom indicators can be safe, but you should treat every third party indicator as executable software rather than as a simple chart template.
The first thing I check is the source.
An indicator downloaded from the official MQL5 ecosystem or directly from a developer with an established history gives you more information to evaluate than an anonymous EX5 file sent through an unknown website.
The next thing I check is whether it requests DLL access.
MetaQuotes itself describes the DLL setting as:
“potentially dangerous, enable only for trusted applications”
That warning appears directly in the MT5 platform settings.
DLL files can extend what an MQL5 program can do outside its normal environment. I would therefore leave DLL imports disabled unless the indicator genuinely requires them and I trust both the developer and the supplied files.
There is also some reassuring context. A standard MQL5 custom indicator cannot directly send trade orders because trading functions are prohibited for indicators.
That does not mean every custom indicator is harmless. Poorly written software can still freeze the terminal, consume excessive resources, produce incorrect calculations or depend on external libraries. So install unfamiliar tools cautiously and test them before relying on their output.
Example: installing a custom session indicator
Suppose you download:
TradingSessions.ex5
You open MT5 and select File > Open Data Folder.
Then you open:
MQL5 > Indicators
You paste TradingSessions.ex5 there.
Back inside MT5, you refresh the Navigator and find TradingSessions under Indicators.
You drag it onto EUR/USD.
Its settings may ask which sessions you want displayed, such as Tokyo, London and New York.
After clicking OK, coloured session areas or session times appear on your chart.
You have not changed the actual EUR/USD price data. The indicator is simply processing available data and presenting it differently.
That is the basic principle behind most custom MT5 indicators.
What if the MT5 custom indicator does not appear?
The most common cause is the wrong folder.
Confirm that the file is inside:
MQL5 > Indicators
and not Experts, Scripts or your ordinary Downloads folder.
Next, check the file extension.
An MT5 indicator normally uses .ex5 or .mq5. An MT4 indicator may use .ex4 or .mq4 and should not be treated as an MT5 indicator.
If you only have an MQ5 source file, make sure it compiled successfully in MetaEditor.
If the indicator came with several files, do not assume only the main EX5 file is required. Some products depend on additional libraries, resources or other custom indicators. Follow the developer's original folder instructions.
If everything appears correct but the indicator still does not work, check the Experts and Journal logs inside MT5 for loading or compilation errors.
Can you install custom indicators on MT5 mobile?
For the standard MT5 Android and iOS apps, custom MQL5 indicators cannot currently be installed in the same way as on desktop.
MQL5 community moderators have repeatedly confirmed that mobile MT5 supports the indicators provided within the app but not user installed EX5 or MQ5 custom indicators.
The mobile apps still provide built in technical analysis tools. For example, the official iPhone documentation allows up to 128 indicators across a chart setup, while Android has its own built in indicator limits.
If a custom indicator is essential to your setup, the desktop MT5 terminal remains the practical option.
Do custom indicators guarantee better trading decisions?
No.
A technically advanced indicator can still produce weak or misleading signals under certain market conditions.
An indicator calculates information from market data according to predefined rules. It does not know what will happen next.
For example, a trend indicator may work well during a directional market but produce repeated false signals during a sideways period.
I would treat any new custom indicator as a tool to evaluate rather than as a shortcut to profitable trading.
Before using it in live decision making, understand what it calculates, how quickly it reacts to price changes and whether it repaints historical signals.
Frequently Asked Questions
Where are MT5 custom indicators stored?
MetaTrader 5 custom indicators are normally stored inside the terminal's MQL5/Indicators directory. The easiest way to reach the correct directory is through File > Open Data Folder.
How do I add an EX5 indicator to MT5?
Copy the EX5 file into MQL5/Indicators, return to MT5, refresh Navigator and drag the indicator onto a chart.
Why is my MQ5 indicator not showing in MT5?
MQ5 is source code. It normally needs to be compiled in MetaEditor using F7, which creates the runnable EX5 file.
Can an MT5 custom indicator automatically open trades?
Not by itself. MQL5 trading functions are not available to custom indicators. Automated order execution is normally handled by Expert Advisors or scripts.
Are free MT5 indicators worth using?
Some are useful, but price is not a measure of quality. Check how the indicator works, where it came from, whether its calculations are transparent and whether its claims make sense before using it in a trading process.
Final takeaway
Installing a custom indicator on MT5 is usually a five minute process once you understand the folder structure.
The most important path to remember is:
File > Open Data Folder > MQL5 > Indicators
Place the indicator there, compile it if necessary, refresh Navigator and attach it to your chart.
For free indicators, the official MQL5 CodeBase and MetaTrader Market are sensible places to start. For security, be especially careful with unknown files and any indicator requesting DLL permissions.
Most importantly, remember what a custom indicator actually is: an analytical tool, not a guarantee of accurate signals or profitable trades.
Disclaimer
This article is provided for educational and informational purposes only. It does not constitute financial, investment or trading advice. Custom indicators may produce inaccurate, delayed or unsuitable signals and should not be relied upon as the sole basis for a trading decision. Third party software can also introduce technical or security risks. Only install software from sources you trust, review requested permissions carefully and test unfamiliar tools before using them in a live trading environment. Trading Forex, CFDs and other leveraged products involves significant risk and may not be suitable for all investors.