Home / Learn Hub / Platforms / Install an Indicator on MT4
Beginner

How to Install an Indicator on MT4 (Step by Step)

MT4 has no indicator installer. You copy a file into one specific folder and refresh the Navigator, and when it goes wrong, it is almost always the same handful of reasons.

In one sentence:

Put the indicator file into the MQL4 › Indicators folder inside File › Open Data Folder, refresh the Navigator, then drag it onto a chart.

Installing an Indicator on MT4 at a glance

Time neededAbout two minutes.
Where files goFile › Open Data Folder › MQL4 › Indicators
File types.ex4 is ready to run. .mq4 is source code and must be compiled first.
After copyingRight-click Indicators in the Navigator and choose Refresh, or restart MT4.
Templates go elsewhereMT4 keeps chart templates in the templates folder at the top of the data folder, not inside MQL4.
If it needs the internetTools › Options › Expert Advisors → tick Allow WebRequest for listed URL and add the address.
Most common failureCopying into Experts instead of Indicators, or into the program folder instead of the data folder.
Market Structure ProMSP is an MT5 indicator today. An MT4 version is planned but not released, so it cannot be installed on MT4 yet.

What it is and why it works

MT4 indicators are just files. There is nothing to run, no installer and no wizard, you place a file in the folder MT4 reads, tell MT4 to look again, and it appears in the Navigator panel ready to drag onto a chart.

The folder in question sits inside MT4’s data folder, which is not the same place as the program itself. On Windows the MT4 application usually lives under Program Files, while its data folder is tucked away in your user profile under AppData with a long, meaningless-looking name. You never need to type that path: open MT4 and click File › Open Data Folder, and it takes you straight there.

Inside you will find a folder called MQL4, containing Indicators, Experts, Scripts, Libraries, Files and Presets. Indicators go into Indicators; Expert Advisors go into Experts. Dropping an indicator into the Experts folder is the classic mistake and MT4 will not warn you; the tool simply never turns up where you are looking for it.

One quirk that catches people coming from MT5: MT4 does not keep chart templates inside the MQL4 folder. They live in a folder called templates at the top level of the data folder, alongside MQL4 rather than inside it. If a vendor supplies a .tpl file with their indicator, that is where it goes.

How to trade it, step by step

  1. Extract the download before you touch MT4. Indicators normally arrive as a .zip. Right-click it, choose Extract All, and note where the files end up. Copying out of a zip window without extracting is a surprisingly common cause of a failed install. If Windows added a security block to the download, right-click the extracted file, choose Properties, and tick Unblock if the option appears.
  2. In MT4, click File › Open Data Folder. This opens Windows Explorer at the correct location for the copy of MT4 you currently have running. Use this menu item every time rather than navigating by hand; it eliminates the single largest category of installation problems, which is putting files in the wrong installation’s folder.
  3. Open MQL4, then Indicators. In the window that appeared, open the MQL4 folder, then the Indicators folder inside it. This is the destination. If the vendor packaged their indicator inside its own subfolder, you can copy the whole subfolder in and MT4 will display it as a group in the Navigator.
  4. Copy the indicator file in. Paste the .ex4 file (or .mq4 if that is what you were sent) into MQL4 › Indicators. Any accompanying files go elsewhere: .dll libraries into MQL4 › Libraries, .set presets into MQL4 › Presets, and .tpl chart templates into the templates folder at the top level of the data folder.
  5. Compile it if you were given source code. Double-click an .mq4 file and it opens in MetaEditor. Press Compile or F7. A successful compile produces an .ex4 next to it. If it throws errors, the source is incomplete or written for a different build, and there is nothing you can do at your end: go back to the supplier.
  6. Refresh the Navigator. Return to MT4 and open the Navigator with Ctrl+N if it is hidden. Right-click the Custom Indicators heading and choose Refresh. Your indicator should now be listed. If it is not, close MT4 fully and reopen it, which forces a complete re-scan of the folder.
  7. Drag it onto a chart and load the vendor’s preset. Open the symbol and timeframe you want, then drag the indicator’s name from the Navigator onto the chart. In the settings window, go to the Inputs tab and use Load to bring in the supplied .set file rather than guessing at values. If the indicator needs DLLs, tick Allow DLL imports on the Common tab, and be sure you trust the source before you do.
  8. Add any WebRequest URLs the indicator needs. If the tool checks a licence or pulls data from the internet, go to Tools › Options › Expert Advisors, tick Allow WebRequest for listed URL, and type the exact address supplied including https://. Press Enter so the entry is committed to the list, click OK, then remove the indicator from the chart and add it again so it re-initialises with permission.
  9. Read the log before assuming it is broken. Open the Terminal panel with Ctrl+T and check the Experts tab and then the Journal tab. Failed initialisations, blocked WebRequests and licensing messages are all written there in plain English, and reading them will usually tell you exactly what to fix.

Size every one of those entries with the position size calculator and check the trade is worth taking with the risk/reward calculator before you commit.

The conditions it needs

You have the right file for MT4

MT4 runs .ex4 files, compiled from .mq4 source. It cannot run MT5’s .ex5 or .mq5 files at all, MQL4 and MQL5 are different languages. If a vendor only ships an MT5 build, there is no way to make it work on MT4 short of a developer rewriting it.

You used the running terminal’s data folder

Every MT4 installation keeps its own data folder. If you have builds from two brokers, or a portable copy, files placed in one are invisible to the other. Always open the folder from within the terminal you are actually using, via File › Open Data Folder.

The Navigator has been refreshed or MT4 restarted

MT4 scans its Indicators folder at startup rather than continuously, so a file added while the platform is open will not appear on its own. Right-click Custom Indicators in the Navigator and choose Refresh, and if that does not work, restart the terminal completely.

Permissions match what the tool needs

Indicators do not trade, so the AutoTrading button is generally irrelevant to them. What matters is Allow DLL imports if the tool ships libraries, and Allow WebRequest for listed URL if it needs internet access, both entered exactly as the vendor specifies.

When it fails

For different levels of experience

If you are brand new

Take it one step at a time and it is genuinely easy. Extract the zip. Open MT4. Click File › Open Data Folder. Open MQL4, then Indicators. Paste the file. Go back to MT4, press Ctrl+N for the Navigator, right-click Custom Indicators, choose Refresh, and drag the name onto your chart.

If something does not appear, press Ctrl+T to open the Terminal panel and read the Experts tab. It usually says what went wrong in plain English.

Install one indicator at a time and try it on a demo account first. Loading four new tools in an evening means that when one misbehaves you cannot tell which. And if you are choosing between platforms rather than tied to MT4, it is worth reading the MT4 problems guide first, MT4 is the older platform and some of its limitations will affect what tools are available to you.

If your results are inconsistent

The practical habit here is keeping your own archive. Store the original indicator files, your .set presets, your .tpl templates and the licence emails in one folder outside MetaTrader entirely. When you change broker, move to a VPS or rebuild a machine, the whole setup goes back in twenty minutes instead of being reassembled from memory.

Learn to read the Experts tab before contacting support. It is a running log of every initialisation, every failed WebRequest and every licence check. Most "it does not work" messages sent to vendors are answered by a line that was already sitting in that tab.

Finally, be realistic about MT4’s trajectory. It receives maintenance rather than development, and new tools are increasingly built for MT5 first, some MT5-only. If you are staying on MT4 because of one legacy Expert Advisor, that is a reasonable decision, but check periodically whether it is still worth what you are giving up.

If you are experienced

For multi-terminal setups, note that MT4 supports the same /portable launch flag as MT5, which keeps the data folder alongside the executable rather than under AppData. That makes isolated instances on a VPS far easier to script, back up and roll back, but it changes where File › Open Data Folder points, so be consistent across every instance or you will deploy into the wrong tree.

The MQL4 constraints worth remembering when evaluating tools: single-threaded execution, a strategy tester limited to one symbol at a time, and indicator buffer limits that are tighter than MQL5’s. Anything doing heavy multi-timeframe or multi-symbol calculation will be noticeably slower on MT4, and some tools simply cannot be built there. That is a large part of why the serious tooling has migrated.

After any deployment, validate rather than assume. Compare the indicator’s output on the same symbol and period against a known-good chart, and confirm the symbol name matches, broker suffixes silently break hardcoded symbol references and produce a tool that runs perfectly against the wrong market.

Risk management for this strategy

The real risk in installing MT4 indicators is what you are letting run on the machine that holds your trading credentials. Compiled .ex4 files execute as code, and any .dll in the Libraries folder runs with your full user permissions. Pirated copies of paid MT4 indicators circulate widely on forums and messaging groups and are a long-established route for credential theft, MT4’s age means there is more of this material around than for MT5. Install from the vendor and nowhere else.

The behavioural risk is the same on every platform. A new indicator creates an itch to trade with it immediately. Run it on a demo account long enough to see it behave in a trend, in a range and through a news release before it influences a live decision, and do not let a new tool change your position sizing: keep using the position size calculator exactly as before.

Where Market Structure Pro fits

To be clear about availability: Market Structure Pro does not currently run on MT4. It is an MT5 indicator today. MT4, TradingView and cTrader versions are planned but have not been released, so if you are on MT4 and want to use MSP, MT5 is the platform you would need.

The reason it launched on MT5 is technical rather than commercial. MSP fuses 27 tools into a single verdict (TRADE, TRANSITION or NO TRADE) with a confidence percentage, an A/B/C grade and a plain-English explanation of what is supporting or limiting the call. Running that much multi-timeframe calculation on every bar is a heavy load, and MQL4’s single-threaded execution and tighter buffer limits make it a harder environment for a tool of that shape.

If you do move to MT5, the install process is the same shape as the one described here, with MQL5 in place of MQL4: the MSP install page covers the specifics, including the WebRequest address for licence validation. MSP is non-repainting, with state locking on the closed bar, and it is session-aware and spread-aware. It is decision support only: it does not place trades, it is not a signal service, and it guarantees nothing.

TRADETRANSITIONNO TRADE

One verdict with a confidence score, an A/B/C grade and a plain-English reason. Non-repainting, on every MT5 instrument and timeframe.

Stop guessing whether the setup is valid

Market Structure Pro reads structure, trend, momentum, levels, volatility, volume and session in one pass and gives you a single answer with the reasoning attached. Free 7-day trial, no card required.

Start free trial

Frequently asked questions

Where do I put indicator files in MT4?

In the <span class="mono">MQL4 › Indicators</span> folder inside MT4’s data folder. Open MT4 and click <span class="mono">File › Open Data Folder</span>, then go into <span class="mono">MQL4</span> and then <span class="mono">Indicators</span>. Do not use the folder where the MT4 program was installed, older tutorials say to, but modern builds do not work that way.

Why is my indicator not appearing in the MT4 Navigator?

Most often because the Navigator has not been refreshed. Right-click <strong>Custom Indicators</strong> in the Navigator and choose <strong>Refresh</strong>, or close and reopen MT4 entirely. If it still does not show, confirm the file went into <span class="mono">MQL4 › Indicators</span> rather than <span class="mono">Experts</span>, and that you opened the data folder of the terminal you are actually running.

Can I use MT5 indicators on MT4?

No. MT5 indicators are <span class="mono">.ex5</span> files written in MQL5, and MT4 runs <span class="mono">.ex4</span> files written in MQL4. The languages and internal structures are different, so an MT5 file will not run on MT4 regardless of where you place it. It would have to be rewritten by a developer.

What is the difference between .ex4 and .mq4?

An <span class="mono">.ex4</span> is compiled and ready to run, which is how most paid indicators are delivered. An <span class="mono">.mq4</span> is the readable source code and has to be compiled before MT4 will use it. Double-click the <span class="mono">.mq4</span> to open MetaEditor and press Compile or F7, which creates the <span class="mono">.ex4</span> alongside it.

Where do MT4 templates go?

In the <span class="mono">templates</span> folder at the top level of the data folder, not inside <span class="mono">MQL4</span>. This differs from where people expect and from how presets work, <span class="mono">.set</span> preset files do go inside <span class="mono">MQL4 › Presets</span>. A template in the wrong folder simply will not show up in the chart’s template menu.

How do I enable WebRequest in MT4?

Open <span class="mono">Tools › Options</span>, go to the <strong>Expert Advisors</strong> tab, tick <strong>Allow WebRequest for listed URL</strong>, and type the exact address the indicator requires including the <span class="mono">https://</span> prefix. Press Enter so it is added to the list before clicking OK, then remove and re-add the indicator to the chart so it initialises with the permission.

Do I have to restart MT4 after installing an indicator?

Usually refreshing the Navigator is enough. A full restart is the reliable fallback and is worth doing if you replaced a file that was already loaded, if you installed library files, or if the refresh simply does not produce the indicator. Close the terminal completely rather than minimising it.

My indicator loads but nothing is drawn on the chart. Why?

Check the Experts and Journal tabs in the Terminal panel (Ctrl+T) first, because the cause is normally logged there. Common reasons are a missing WebRequest permission, an unactivated licence, a broker symbol suffix the tool does not recognise, or not enough history loaded: raise Max bars in chart under Tools, Options, Charts and scroll back to force more data.

Is Market Structure Pro available for MT4?

Not at present. Market Structure Pro is an MT5 indicator, and MT4, TradingView and cTrader versions are planned but have not been released. If you want to use MSP today, you would need to be running MetaTrader 5.

Related reading