Blog
  • Published on: 2026-11-27 09:52:00

How to Install Custom Indicators in MT4 and MT5: A Step-by-Step Guide

How to Install Custom Indicators in MT4 and MT5: A Step-by-Step Guide

Expanding Beyond Native Charting Tools

While MetaTrader comes pre-packaged with dozens of standard technical indicators, many traders rely on custom-built scripts to gain a specialized edge. Custom indicators allow you to automate market structure mapping, track specialized momentum metrics, and receive alert notifications when specific technical conditions are met.

Installing third-party or custom-coded indicators onto your MetaTrader 4 (MT4) or MetaTrader 5 (MT5) terminal takes less than two minutes. Paired with ultra-fast order execution and low latency from TradingPRO, custom indicators help you analyze price action and make quantitative trading decisions with precision.

Understanding MT4 vs. MT5 Custom Indicator Files

Before beginning the installation, ensure your indicator file extension matches your specific trading platform version:

Platform Source Code File Extension Compiled Executable File Extension Storage Folder Path
MetaTrader 4 (MT4) .mq4 .ex4 MQL4 > Indicators
MetaTrader 5 (MT5) .mq5 .ex5 MQL5 > Indicators

Note: Custom MT4 indicators (.ex4) will not run on MT5, and MT5 indicators (.ex5) will not function on MT4.

How to Install Custom Indicators on MT4 and MT5

The installation process is almost identical across both platforms. Follow these step-by-step instructions to import your files into the platform directory.

  1. Step 1: Download and Copy the File: Prepare your custom indicator.
    Download the custom indicator file (.ex4/.mq4 for MT4 or .ex5/.mq5 for MT5) to your desktop. Right-click the file and select Copy (Ctrl + C).
  2. Step 2: Open the Terminal Data Folder: Access local system storage.
    Launch your MT4 or MT5 terminal provided by TradingPRO. Click File in the top-left menu bar and select Open Data Folder.
  3. Step 3: Paste into the Indicators Directory: Locate the designated indicators sub-directory.
    • For MT4: Open the MQL4 folder, then double-click the Indicators subfolder.
    • For MT5: Open the MQL5 folder, then double-click the Indicators subfolder.
      Paste your copied file here (Ctrl + V).
  4. Step 4: Refresh or Restart MetaTrader: Refresh the software navigation tree.
    Return to your terminal workspace. In the Navigator Panel (Ctrl + N), right-click on Indicators and select Refresh. Alternatively, restart the platform entirely.
  5. Step 5: Apply Indicator to Chart: Attach tool to active chart.
    Expand the Indicators list in the Navigator panel (or look inside the Custom subfolder). Click and drag your new indicator directly onto your live price chart. Adjust parameter inputs in the pop-up dialogue box and click OK.

Common Installation Issues & How to Fix Them

  • Indicator Not Appearing in Navigator List: Verify that you pasted the file into the correct subfolder (MQL4/Indicators or MQL5/Indicators) and that the file extension matches your terminal version.
  • Greyed Out / Unusable File: If you downloaded a .zip or .rar archive, you must extract the file first before pasting the .ex4 or .ex5 file into MetaTrader.
  • DLL Import Error Message: Some advanced custom indicators require external library access. If prompted, go to Tools > Options > Expert Advisors and check the box for "Allow DLL imports".

Frequently Asked Questions

Where can I find free custom indicators for MT4 and MT5?

You can access thousands of free custom indicators directly inside the built-in Code Base tab at the bottom of your MetaTrader terminal, or through the official MQL4/MQL5 community market.

Will installing custom indicators slow down my trading execution?

Running too many complex custom indicators simultaneously can consume CPU memory and cause chart lag. Using a high-performance environment like TradingPRO ensures smooth platform operation and minimal execution delay.

Can I install custom indicators on the MetaTrader mobile app?

No. Mobile versions of MT4 and MT5 (iOS and Android) only support standard built-in technical indicators. Custom MQL scripts can only be installed and run on the desktop client software.

Engage with a trusted broker today

See for yourself why TradingPRO is the broker of choice for over 800,000 traders and 64,000 partners.

Trading Pro logo

Deposits & withdrawals

Learning

Fraud Prevention


The TradingPRO International (PTY) LTD (Registration number 2014​/202132​/07) is a Financial Services Provider authorised and regulated by the Financial Sector Conduct Authority (FSCA) of South Africa under the licence number FSP No. 49624. The registered address is at Office 106 1st Floor Pharos House 70 Buckingham Terrace Westville Kwa-Zulu Natal 3630

TradingPRO International Limited (Registration number 208079 GBC) is a Global Business Licence under Section 72 of the Financial Services Act 2001 and an Investment Dealer (Full Service Dealer, excluding Underwriting) Licence under Section 29 of the Securities Act 2005 authorised and regulated by Financial Services Commission, Mauritius under license number GB23202513. The registered address is at 3rd Standard Chartered Tower, Cybercity, Ebene 72201, Mauritius.

Information: Clients who are interested in registering must be at least 18 years of age and above to use the TradingPRO service. For traders who want to start trading, one must know and understand the risks involved, if not including possibilities for you to experience losses ahead. One must be cautious when using the currency market. Traders are encouraged to use the margin to assess the level of ones ability.

Risk Warning: Any information or element made for publication purposes, copying, or reproduction shall be obtained only in writing from TradingPRO. Kindly note that forex trading and trading in other leveraged products involve a significant level of risk and are not suitable for all investors. Trading with financial instruments may result in profits as well as losses, and your losses can be greater than your initial invested capital. Before undertaking any such transactions, you should ensure that you fully understand the risks involved and seek independent advice if necessary.

This information is not directed nor intended for distribution to or use by residents of certain countries including, but not limited to, Australia, Belgium, France, Iran, North Korea, and the USA. The Company does not offer its services to residents of certain countries including, but not limited to, Australia, Belgium, France, Iran, North Korea, and the USA. The Company holds the right to alter the above lists of countries at its discretion.


© 2026 TradingPRO. All rights reserved.

Facebook Instagram Threads X TikTok Linkedin Telegram