How to Install an Indicator on MT5 (Step by Step)
Installing an MT5 indicator takes about two minutes once you know where the files go. Almost every failed install comes down to the same three mistakes, and all of them are easy to avoid.
In one sentence:
Put the indicator file into the MQL5 › Indicators folder inside File › Open Data Folder, refresh the Navigator, then drag it onto a chart.
Installing an Indicator on MT5 at a glance
| Time needed | About two minutes. |
| Where files go | File › Open Data Folder › MQL5 › Indicators |
| File types | .ex5 is ready to run. .mq5 is source code and must be compiled first. |
| After copying | Right-click Indicators in the Navigator and choose Refresh, or restart MT5. |
| If it needs the internet | Tools › Options › Expert Advisors → tick Allow WebRequest for listed URL and add the address. |
| Most common failure | Copying the file into the wrong folder: usually Experts instead of Indicators. |
| Second most common | Having more than one MT5 installed and opening the data folder of the one you are not using. |
| Installing MSP | Market Structure Pro is an MT5 indicator: see the MSP install page for its specific steps. |
What it is and why it works
MT5 does not have an installer for indicators. There is no wizard and nothing to run. An indicator is simply a file that MT5 looks for in one specific folder on your computer, and installing it means putting the file in that folder and telling MT5 to look again.
That folder lives inside what MetaTrader calls the data folder. It is not where the program itself is installed, on Windows the program usually sits under Program Files, while the data folder is buried in your user profile under AppData, with a long random-looking name. You do not need to know the path, because MT5 will open it for you: File › Open Data Folder. Getting into the habit of using that menu item instead of hunting through Windows Explorer solves most installation problems before they start.
Inside the data folder you will see a folder called MQL5, and inside that, folders named Indicators, Experts, Scripts, Libraries, Files and Presets. Indicators go in Indicators. Expert Advisors go in Experts. Putting an indicator in the Experts folder is the single most common installation error, and MT5 gives you no warning, the tool simply never appears where you expect it.
One more thing worth understanding before you start. Indicators come as .ex5 or .mq5 files. An .ex5 is compiled and ready to run, and that is what most commercial indicators ship as. An .mq5 is human-readable source code, and MT5 will not run it until it has been compiled into an .ex5 using MetaEditor. If you copy an .mq5 into the folder and nothing appears, that is usually why.
How to trade it, step by step
- Download and unpack the indicator file. Most indicators arrive in a .zip archive. Extract it first, MT5 cannot read files that are still inside a zip. On Windows, right-click the zip, choose Extract All, and note where the files land. If Windows has flagged the download, right-click the extracted file, choose Properties, and tick Unblock if that option appears at the bottom of the General tab.
- Open MT5 and go to File › Open Data Folder. This is the step that prevents nearly every path problem. It opens a Windows Explorer window pointing at exactly the right place for the copy of MT5 you currently have open. Do not try to find the folder manually, and do not use the folder where the MT5 program was installed; they are different locations.
- Go into MQL5, then into Indicators. In the window that opened you will see a folder called MQL5. Open it. Inside are several folders; open Indicators. This is where the file belongs. If the indicator came with a subfolder of its own, you can drop the whole subfolder in here, MT5 will show it as a group in the Navigator.
- Copy the indicator file into that folder. Paste the .ex5 file (or the .mq5 if that is what you were given) directly into MQL5 › Indicators. If the indicator also came with additional files, follow the vendor’s instructions: library files go into MQL5 › Libraries, preset .set files into MQL5 › Presets, and chart templates into MQL5 › Profiles › Templates.
- If you were given an.mq5 file, compile it. Double-click the .mq5 file and it will open in MetaEditor, MT5’s code editor. Press Compile (or F7). If it compiles without errors, an .ex5 appears alongside it and you can carry on. If it reports errors, the file is either incomplete or written for a different version, and no amount of retrying will fix it: go back to whoever supplied it.
- Refresh the Navigator in MT5. Switch back to MT5. Open the Navigator panel with Ctrl+N if it is not visible. Find the Indicators section, right-click it, and choose Refresh. Your indicator should now be listed under Indicators. If it is not, close MT5 completely and reopen it: a full restart forces MT5 to re-scan the folder.
- Drag the indicator onto a chart. Open the chart and timeframe you want, then drag the indicator’s name from the Navigator onto the chart, or double-click it. A settings window appears. Check the Inputs tab, and if the vendor supplied a preset, click Load and select their .set file rather than guessing at the values.
- Enable WebRequest if the indicator needs internet access. Some indicators (licence checks, news feeds, anything that fetches data) need permission to reach the internet. Go to Tools › Options › Expert Advisors, tick Allow WebRequest for listed URL, and add the exact address the vendor gives you, including the https:// prefix. Add each address on its own line, press Enter after typing it so it is committed to the list, then click OK and remove and re-add the indicator to the chart.
- Check the log if anything looks wrong. Open the Toolbox with Ctrl+T and look at the Experts tab, then the Journal tab. Indicators write their errors here: missing permissions, failed WebRequests, licensing messages and initialisation failures all show up as plain text. This is the first place to look before contacting anyone for support.
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 type
An .ex5 file runs as-is. An .mq5 is source and must be compiled in MetaEditor first. If a vendor sends you a .dll as well, it belongs in MQL5 › Libraries and you will need to tick Allow DLL imports in the indicator’s Common tab, which is also a good moment to be sure you trust the source.
You are working in the correct data folder
Always reach the folder through File › Open Data Folder from the running copy of MT5. If you have several MT5 installations, or one broker’s build and MetaQuotes’ own, each has its own separate data folder. Copying into the wrong one produces a perfectly successful install that the platform will never see.
The Navigator has been refreshed
MT5 reads the Indicators folder when it starts, not continuously. A new file dropped in while the platform is running will not appear until you right-click Indicators in the Navigator and choose Refresh, or restart the terminal. This one step accounts for a large share of "it did not install" reports.
Permissions are set for what the tool actually needs
Indicators do not place trades, so the AutoTrading button is not usually relevant to them. What some do need is Allow WebRequest for listed URL under Tools › Options › Expert Advisors, entered exactly as the vendor specifies. Get one character wrong in that URL and the request is refused silently.
When it fails
- The file went into the Experts folder. MQL5 › Experts is for Expert Advisors. An indicator placed there will appear under Expert Advisors in the Navigator, or not appear at all. Move it to MQL5 › Indicators and refresh.
- You have two copies of MT5 installed. A broker-branded MT5 and a MetaQuotes MT5, or two brokers’ builds, each keep entirely separate data folders. Open the data folder from the terminal you are actually trading in, every time, and the problem disappears.
- The zip was never extracted. Windows lets you browse inside a zip file as if it were a folder, so it is genuinely easy to copy from a zip and think you have installed something. Extract first, then copy.
- The file is still blocked by Windows. Files downloaded from the internet can carry a block flag that stops them running. Right-click the file, choose Properties, and tick Unblock on the General tab if the option is there. Antivirus software also quarantines .ex5 files occasionally: check its logs if a file vanishes after you copy it.
- The indicator loads but draws nothing. Check the Experts and Journal tabs in the Toolbox first, because the reason is usually written there. Common causes are a WebRequest URL that was not added, an unlicensed or expired copy, a symbol the tool does not support, or a timeframe the tool refuses to run on.
- WebRequest was added but not committed. In the Options dialog, you must press Enter after typing the URL so it appears as a listed entry, then click OK. Typing the address and clicking OK straight away frequently leaves the list empty. After adding it, remove the indicator from the chart and add it again so it re-initialises.
For different levels of experience
If you are brand new
If this is your first indicator, do it once slowly and it will be second nature afterwards. The sequence is: extract the zip, open MT5, click File › Open Data Folder, go into MQL5 then Indicators, paste the file, go back to MT5, right-click Indicators in the Navigator on the left, choose Refresh, then drag the name onto your chart.
If the Navigator panel is not visible, press Ctrl+N. If you cannot see the Toolbox where the logs are, press Ctrl+T. Those two shortcuts will get you out of most confusion.
Practise this on a demo account first, and one indicator at a time. Installing five tools in one session means that when something does not work you have no idea which one caused it. And remember that installing an indicator is not the same as knowing what to do with it; a chart with a new tool on it is not a trading plan.
If your results are inconsistent
The habit worth building at this stage is treating your MT5 setup as something you can rebuild. Keep a folder somewhere outside MetaTrader containing the original indicator files you paid for, your .set presets and your chart templates, and keep the licence emails with them. Reinstalling Windows, changing broker or moving to a VPS then takes twenty minutes rather than a weekend.
Also learn where the logs are and read them before asking anyone for help. The Experts tab in the Toolbox tells you almost everything: whether the indicator initialised, whether a WebRequest was blocked, whether a licence check failed. Most support tickets that begin "it does not work" are answered by a line already sitting in that tab.
One thing intermediate traders get wrong: reinstalling an indicator rarely fixes a behaviour problem. If a tool loads and draws but does not do what you expected, that is a settings or an understanding issue, not an installation one. Load the vendor’s preset, read what each input actually does, and change one thing at a time.
If you are experienced
For anyone maintaining several terminals, the details that matter are portable mode and folder isolation. Launching terminal64.exe with the /portable flag makes MT5 keep its data folder alongside the executable instead of under AppData, which makes multi-instance setups on a VPS far easier to manage and back up, but it also means File › Open Data Folder points somewhere different from where you may expect. Be consistent about it across every instance.
Deploying to a VPS is the same file copy, with two additions: the terminal must be able to reach any WebRequest URLs through whatever firewall the VPS provider runs, and licence bindings that are tied to a machine or account will need reissuing. Sort the licence out before the deployment window rather than during it, see licensing for how MSP handles this.
On validation: after any install or migration, compare the indicator’s output on the same symbol and period against your existing known-good chart before trusting it. Different broker feeds, different symbol suffixes and different history depth all change what an indicator calculates, and a tool that installed cleanly can still be reading a different market than the one you think it is.
Risk management for this strategy
The genuine risk in installing indicators is what you are running on the machine your trading account is logged into. An .ex5 file is compiled code, and a .dll in the Libraries folder runs with your user’s permissions. Free "cracked" versions of paid indicators circulating on forums and Telegram groups are a well-known vector for credential theft and account hijacking, and the saving is never worth it. Install only from the vendor directly.
The second risk is behavioural. A newly installed indicator creates an urge to trade with it immediately, on live money, before you have any idea how it behaves in different conditions. Run it on a demo account or on historical data for long enough to see it in a trend, a range and a news event. And remember that installing a tool changes nothing about your position sizing: keep using the position size calculator exactly as before.
Where Market Structure Pro fits
Market Structure Pro is an MT5 indicator, so everything on this page applies to it directly; the file goes into MQL5 › Indicators via File › Open Data Folder, you refresh the Navigator, and you drag it onto a chart. The MSP install page has the exact steps, including the WebRequest address to add under Tools › Options › Expert Advisors for licence validation, and licensing covers how activation works across machines. Versions for MT4, TradingView and cTrader are planned but not yet released.
Once it is on the chart, MSP behaves differently from a typical indicator in one way that is worth knowing before you start changing settings. It is not drawing one calculation; it fuses 27 tools into a single verdict of 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 that call. So there is no single input to tweak until the signals look better, which is what most traders do with a new indicator.
It is non-repainting: state locks on the closed bar, so a verdict you saw yesterday is still on the chart today rather than being quietly redrawn. It is session-aware and spread-aware, and its ranging filter is built to say NO TRADE in dead or choppy conditions. It is decision support; it does not place trades, it is not a signal service, and it guarantees nothing.
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 trialFrequently asked questions
Where do I put indicator files in MT5?
In the <span class="mono">MQL5 › Indicators</span> folder inside the MT5 data folder. Reach it from within MT5 by clicking <span class="mono">File › Open Data Folder</span>, then opening <span class="mono">MQL5</span> and then <span class="mono">Indicators</span>. Do not use the folder where the MT5 program was installed; it is a different location.
Why is my indicator not showing in the MT5 Navigator?
Usually because the Navigator has not been refreshed since you copied the file. Right-click the <strong>Indicators</strong> heading in the Navigator panel and choose <strong>Refresh</strong>, or close and reopen MT5. If it still does not appear, check that the file went into <span class="mono">MQL5 › Indicators</span> rather than <span class="mono">Experts</span>, and that you used the data folder of the MT5 you actually have open.
What is the difference between .ex5 and .mq5?
An <span class="mono">.ex5</span> file is compiled and ready to run, which is how most commercial indicators are supplied. An <span class="mono">.mq5</span> file is the human-readable source code and will not run until it is compiled. To compile it, double-click the file to open MetaEditor and press Compile or F7, which produces the <span class="mono">.ex5</span> alongside it.
How do I enable WebRequest in MT5?
Go to <span class="mono">Tools › Options</span>, open the <strong>Expert Advisors</strong> tab, tick <strong>Allow WebRequest for listed URL</strong>, and type the exact address the indicator needs including the <span class="mono">https://</span> prefix. Press Enter so the address appears in the list, then click OK. Remove the indicator from the chart and re-add it so it initialises with the new permission.
Do I need to restart MT5 after installing an indicator?
Not always, refreshing the Navigator is usually enough. A full restart is the reliable fallback and is worth doing if the refresh does not work, if you replaced a file that was already loaded, or if you installed library files alongside the indicator. Close the terminal completely rather than just closing the window.
Why does my indicator load but draw nothing?
Check the Experts and Journal tabs in the Toolbox first (Ctrl+T); the reason is nearly always written there. The usual causes are a missing WebRequest permission, a licence that has not been activated or has expired, a symbol or timeframe the indicator does not support, or not enough loaded history on that chart.
Can I install an MT4 indicator on MT5?
No. MT4 indicators are written in MQL4 and MT5 uses MQL5, and the two are not compatible. An MT4 file placed in the MT5 folder will not run and cannot be converted by copying it. It has to be rewritten for MT5 by a developer.
Where do templates and preset files go in MT5?
Chart templates go in <span class="mono">MQL5 › Profiles › Templates</span>, and preset <span class="mono">.set</span> files go in <span class="mono">MQL5 › Presets</span>, both inside the data folder. Once a preset is in place you can load it from the indicator’s settings window using the Load button, which is safer than typing values in by hand.
Is it safe to install indicators from the internet?
Only from sources you trust. Compiled indicator files and any accompanying DLL run as real code on the machine your trading account is logged into. Cracked copies of paid tools shared on forums and messaging groups are a known route for credential theft, so install from the vendor directly and never from a third-party mirror.
Related reading
- Install Market Structure Pro: The exact steps, WebRequest address and activation for MSP on MT5.
- Common MT5 problems: What to do when the install worked but MT5 is misbehaving.
- Licensing explained: How activation works, and what happens when you change machine.
- Try it on a demo first: Run any new indicator on demo before you trade with it.