MT5 Launch Promo: 30% OFF

MT5

MT5 Launch Promo: 30% OFF

MT5

Prop Trading

Prop Trading

Prop Trading

What are custom indicators and templates in MetaTrader?

What are custom indicators and templates in MetaTrader?

What are custom indicators and templates in MetaTrader?

17 wrz 2025

What are custom indicators and templates in MetaTrader?
What are custom indicators and templates in MetaTrader?
What are custom indicators and templates in MetaTrader?

How do custom indicators differ from the default ones?


When you first open MetaTrader, you'll find a range of built-in technical indicators like Moving Averages, RSI, or MACD. These are powerful tools, but they represent a standard set. Custom indicators, on the other hand, are external tools developed by third-party programmers or even other traders. They are designed to address specific analytical needs or unique trading strategies that the default indicators might not cover. Think of them as specialized tools that you can add to your MetaTrader toolbox to enhance your analysis in a simulated account or live trading environment. These can range from complex algorithms designed to predict market movements to simple visual aids for identifying chart patterns.


What is a template and why should I use one?


Imagine setting up a chart exactly how you like it: specific colors for your candlesticks, a particular moving average, an RSI, and maybe a custom indicator or two, all with your preferred settings. Now, imagine having to do that every single time you open a new chart or switch currency pairs. Tedious, right? This is where templates come in. A MetaTrader template is a saved snapshot of a chart's appearance and all the analytical tools applied to it. This includes:

  • Chart type: Candlesticks, bar chart, line chart.

  • Color scheme: Background, foreground, candle colors, grid.

  • Indicators: All custom and default indicators, along with their individual settings.

  • Objects: Trend lines, Fibonacci retracements, text labels, etc.

Using templates is a massive time-saver. With a single click, you can transform a blank chart into your fully customized analytical workspace, ensuring consistency across all your charts.


How do I install a custom indicator in MetaTrader 4 (MT4)?


Installing custom indicators in MT4 is a straightforward process, but precision is key to ensure the platform recognizes the new files.


Step 1: Locating the MQL4 folder.


Your first task is to find the dedicated folder where MetaTrader stores all its custom programs and settings.

  1. Open your MetaTrader 4 platform.

  2. Go to the File menu located at the top-left corner of the platform.

  3. Click on Open Data Folder. A new window will pop up, displaying the root directory of your MT4 installation. This is where the platform keeps all its important files.


Step 2: Placing the indicator file.


Once you have the data folder open, you need to navigate to the specific location for indicators.

  1. Inside the opened data folder, find and double-click the MQL4 folder. This folder contains all the custom program files for MT4.

  2. Within the MQL4 folder, you will see a sub-folder named Indicators. Double-click this to open it.

  3. Now, take the custom indicator file(s) you have downloaded (these will typically have a .mq4 or .ex4 extension for MT4) and copy them into this Indicators folder. You can drag and drop, or simply copy and paste.


Step 3: Refreshing MetaTrader to see the new indicator.


Placing the file isn't quite enough; MetaTrader needs to be told to look for new files.

  1. Close the MQL4 and Indicators folders you opened.

  2. Return to your MT4 platform.

  3. In the Navigator window (usually on the left side, showing Accounts, Indicators, EAs, etc.), right-click on the Indicators heading.

  4. From the context menu, select Refresh.

Your newly installed custom indicator should now appear in the list under the "Custom Indicators" section in the Navigator window. You can now drag it onto any chart in your simulated account or live trading setup.


How do I install a custom indicator in MetaTrader 5 (MT5)?


The process for MT5 is very similar to MT4, with the main difference being the folder name (MQL5 instead of MQL4).


Step 1: Finding the correct directory.


Just like with MT4, you need to access the platform's data folder.

  1. Open your MetaTrader 5 platform.

  2. Click on the File menu at the top-left.

  3. Select Open Data Folder. This action will open a new explorer window to your MT5 installation's root directory.


Step 2: Copying the files to the Indicators folder.


Navigate to the MT5-specific program folder and then to the indicators directory.

  1. Inside the data folder, locate and double-click the MQL5 folder.

  2. Within the MQL5 folder, find and open the Indicators sub-folder.

  3. Copy and paste your custom indicator file(s) into this folder. For MT5, these files will typically have a .mq5 or .ex5 extension.


Step 3: Refreshing the platform.


Once the files are in place, you need to refresh MetaTrader 5 so it can load the new indicator.

  1. Close the file explorer windows.

  2. In your MT5 platform, go to the Navigator window.

  3. Right-click on the Indicators heading.

  4. Select Refresh from the menu.

Your new custom indicator should now be visible in the "Indicators" list, ready to be used on your charts.


How do I create and save a chart template?


Creating and saving a template is incredibly efficient for consistent analysis and quick setup.


Step 1: Setting up your chart.


First, you need to customize a chart exactly how you want it to appear.

  1. Open any chart in your MetaTrader platform.

  2. Modify the chart's properties (right-click the chart -> Properties) to set your desired colors for the background, foreground, bars, candles, grid, etc.

  3. Add all the default and custom indicators you wish to use. Drag them from the Navigator window onto the chart.

  4. Adjust the settings for each indicator as needed (e.g., periods for moving averages, levels for RSI).

  5. If you use drawing objects like trend lines, Fibonacci tools, or text, you can add these to the template as well.


Step 2: Saving the template.


Once your chart looks perfect, it's time to save it as a template.

  1. Right-click anywhere on the chart (ensure you're not clicking on an indicator or object, just the chart background).

  2. From the context menu, hover over Template.

  3. Click on Save Template....

  4. A "Save As" window will appear. Give your template a clear and descriptive name (e.g., "My Scalping Setup," "Daily Trend Following"). Templates are saved with a .tpl extension.

  5. Click Save.


Step 3: Using your new template.


Now that your template is saved, applying it to any chart is quick and easy.

  1. Open a new chart or switch to a different currency pair.

  2. Right-click anywhere on the chart.

  3. Hover over Template.

  4. Select your newly saved template from the list.

The new chart will instantly transform to match all the settings, colors, and indicators you saved in your template. This is particularly useful for quickly applying your analytical setup to various markets or timeframes in your simulated account.


Troubleshooting: Why can't I see my new indicator or template?


It can be frustrating when something doesn't appear as expected. Here are the most common reasons and solutions for troubleshooting.


The file has the wrong extension.


MetaTrader platforms are very specific about file types and locations.

  • Check the extension: Ensure that the indicator file you are trying to install has the correct extension for your platform:

    • MT4: .mq4 (source code) or .ex4 (compiled executable)

    • MT5: .mq5 (source code) or .ex5 (compiled executable)

  • Platform mismatch: An .ex4 file will not work in an MT5 platform, and vice versa. Always download the version specifically designed for your MetaTrader platform.


MetaTrader needs a refresh.


This is by far the most common oversight.

  • Refresh the Navigator: After copying indicator files, you must right-click the "Indicators" section in the Navigator window and select "Refresh." The platform doesn't automatically scan for new files.

  • Restart the platform: If refreshing doesn't work, completely close and restart your MetaTrader platform. This forces a full reload of all files and can often resolve the issue.


The folder path is incorrect.


Even a slight deviation in the folder path can prevent MetaTrader from finding your files.

  • Indicators: Double-check that you placed your indicator files into the MQL4 (for MT4) or MQL5 (for MT5) folder, and then into the Indicators sub-folder. Do not place them directly in the MQL4/MQL5 folder, or in any other sub-folder like "Experts" or "Scripts."

  • Templates: Templates are saved automatically in the correct "templates" folder when you use the "Save Template" option from the chart. If you manually moved a .tpl file, ensure it's in the profiles/templates folder within your data directory.

By following these steps carefully, you'll be able to successfully install custom indicators and create useful templates, significantly enhancing your MetaTrader experience in your simulated account and beyond.