MT5 Custom Indicators (How to Find, Install, and Use Them)
While MT5 comes with 38 built-in indicators, the platform also supports custom indicators created by the trading community. These add-ons can enhance your charts with new analysis tools that go beyond what the platform offers out of the box. In this guide, we explain how to find, install, and use custom indicators on MetaTrader 5.
Risk warning: This content is for educational purposes only and not financial advice. Forex trading involves risk, and you can lose money.
Forex MT5 custom indicators
MT5 Custom Indicators (How to Find, Install, and Use Them)
- What are custom indicators on MT5
- Where to find MT5 custom indicators
- How to install a custom indicator on MT5
What are custom indicators on MT5
A custom indicator on MT5 is a program written in MQL5 that displays visual information on your chart. Like MT4 custom indicators, they do not place trades. They only add visual elements such as lines, arrows, histograms, or colored zones that help you analyze the market.
Because MQL5 is a more powerful programming language than MQL4, MT5 custom indicators can be more sophisticated. They can process more data, use object-oriented code, and take advantage of MT5's additional timeframes and features.
However, there is an important thing to know: MT4 indicators do not work on MT5. The two platforms use different programming languages (MQL4 vs MQL5), so indicators need to be specifically written or converted for the platform you are using.
Where to find MT5 custom indicators
MQL5.com Marketplace. This is the official marketplace and the best place to start. It has thousands of indicators for MT5, both free and paid. Each listing includes a description, screenshots, user reviews, and ratings. Indicators are reviewed for quality and security before being listed.
MQL5.com Code Base. This section offers free, open-source indicators. You can download them, study the code, and modify them to suit your needs. It is an excellent resource for learning MQL5 programming.
Built-in Code Base access. MT5 has a unique advantage over MT4 here. You can access the Code Base directly from within the platform through the Toolbox panel. Go to the Code Base tab, browse indicators, and download them with one click. No need to open a web browser.
Trading communities. Forums like Forex Factory, BabyPips, and various Discord and Telegram trading groups share MT5 indicators. Quality varies, so stick to well-reviewed and trusted sources.
Freelance developers. On the MQL5 Freelance section, you can hire developers to create custom indicators based on your specific requirements.
How to install a custom indicator on MT5
The process is similar to MT4 but with the MT5 folder structure.
- Download the indicator file (.mq5 for source code or .ex5 for compiled)
- Open MT5 and go to File, then Open Data Folder
- Navigate to MQL5, then Indicators
- Copy the indicator file into the Indicators folder
- Return to MT5 and either restart the platform or right-click on Indicators in the Navigator panel and select Refresh
- The new indicator will appear in the Navigator under Indicators
Alternatively, if you are using the built-in Code Base, indicators download directly into the correct folder automatically.
Configuring indicator settings
When you drag an indicator onto a chart, a settings window appears with these tabs.
Common lets you enable or disable the indicator and choose whether it runs on all timeframes or specific ones.
Inputs contains the adjustable parameters. Each indicator has its own set of inputs. For example, a moving average indicator will have inputs for the period, method (simple, exponential, etc.), and applied price (close, open, high, low).
Colors lets you change the visual appearance, including line colors, widths, and styles.
Visualization lets you specify which timeframes the indicator should display on.
Take time to understand what each input does before changing values. The default settings are usually a good starting point.
Building your own indicators
MT5 includes a built-in code editor called MetaEditor where you can write your own indicators in MQL5. You can access it by pressing F4 or going to Tools, then MetaQuotes Language Editor.
MetaEditor includes
- A code editor with syntax highlighting and auto-complete
- A compiler that checks for errors and creates the executable file
- A debugger for finding and fixing issues in your code
- Help documentation with examples and reference material
Even if you are not a programmer, learning basic MQL5 can be rewarding. You can start by modifying existing indicators from the Code Base to understand how they work, then gradually build your own.
Tips for using custom indicators wisely
- Quality over quantity. A few well-understood indicators are far more valuable than dozens you do not understand. Resist the urge to load every interesting indicator onto your chart.
- Test before trusting. Run any new indicator on a demo account for a while before relying on it for real trading decisions.
- Watch for repainting. Some indicators change their past values when new data arrives, which makes them look more accurate in hindsight than they actually were in real time. This is called repainting and it can be very misleading. Proper backtesting can help you detect this.
- Keep indicators updated. MQL5 and MT5 receive updates. Make sure your custom indicators are compatible with the latest version of the platform.
- Back up your files. Store copies of your indicator files in a safe location outside the MT5 data folder.

