How to Add Indicators in MT5 | Moving Average Setup and Saving Templates

You want a moving average on your MT5 chart, but can't find where to add it?
The short answer: add indicators from the Insert menu, then save the finished chart as a template so you can load it in one step next time.
This article covers how to add, change and delete indicators on MT5 for PC, plus how to use templates and custom indicators.
Key takeaways
- In MT5, add indicators from Insert → Indicators, and change or delete them from the Ctrl+I list.
- The whole chart display can be saved as a template (.tpl), and one named "default" is applied automatically to new charts.
- Custom indicators go in MQL5\Indicators in the data folder, and MT4 .ex4 files do not run on MT5.
In short: add indicators from Insert and save them as a template
- Add an indicator from the Insert menu (Insert → Indicators), or drag it from the Navigator onto the chart
- To change or delete one, right-click the chart and open Indicators List (Ctrl+I)
- Save the whole chart display as a template and load it on other charts
- Custom indicators (.ex5) go in the MQL5\Indicators folder inside the data folder
What MT5 indicators are | The main built-in types
An indicator shows lines or values calculated from price on your chart. MT5 includes dozens of them as standard, at no extra cost.
| Category | Main indicators | What it shows |
|---|---|---|
| Trend | Moving Average, Bollinger Bands, Ichimoku Kinko Hyo | Market direction and momentum |
| Oscillators | RSI, MACD, Stochastic Oscillator | Overbought and oversold |
| Volumes | Volumes, On Balance Volume | Changes in trading volume |
| Bill Williams | Fractals, Alligator | Indicators for specific methods |
Trend indicators are drawn over the main chart, while oscillators appear in a separate window below it. The type differs, but the way you add them is the same.
How to add a Moving Average (PC)

We use the Moving Average, the most common indicator, as the example. Screens follow the standard MT5 layout; details may differ slightly by broker.
- 1
Open a chart
Right-click a symbol in Market Watch and choose Chart Window. An already open chart works too.
- 2
Choose Insert → Indicators
From the top menu, choose Insert → Indicators → Trend → Moving Average.
- 3
Set the period and method
Enter a Period such as 20 or 25, then choose Simple or Exponential under Method.
- 4
Choose the price and color
Leave Apply to as Close in most cases, and pick the line color and width on the Colors tab.
- 5
Click OK
Click OK and the moving average appears on the chart. To show several lines, repeat the same steps.
You can also add an indicator by dragging its name from the Navigator (Ctrl+N) onto the chart. Both methods open the same settings window.
How to change or delete an indicator
You can change or remove an indicator at any time. Use the right-click menu on the chart.
- Change: right-click the chart → Indicators List (Ctrl+I) → select the indicator and click Edit
- Delete: select it in the same window and click Delete. You can also right-click the line → Delete Indicator
- Remove everything: delete each item in the Ctrl+I list one by one
- Go back to a saved setup: right-click → Template → choose the name you saved
Right-clicking exactly on a line is tricky, so working from the Ctrl+I list is more reliable. It shows every indicator on the chart.
Saving and loading templates | Reuse your setup

A template stores how your chart looks, including colors and indicators, in a single .tpl file. The timeframe is not saved.
- 1
Set up the display
Add your indicators and colors so the chart looks the way you want to save it.
- 2
Template → Save Template
Right-click the chart and choose Template → Save Template.
- 3
Name and save it
Use a name that says what is inside, such as "MA20_SMA". Naming it "default" applies it to every new chart, but then Default no longer gives you a clean chart.
- 4
Load it on another chart
Right-click the chart you want → Template → choose the saved name, and it shows the same display.
If you use the same display across several symbols or timeframes, a template saves you the setup work. You can also save one template per strategy under different names.
How to add a custom indicator (.ex5)
Indicators that are not built in come as an .ex5 or .mq5 file. MT4 files (.ex4 or .mq4) do not work on MT5. See MT4 vs MT5 for the other differences.
- 1
Open the data folder
From the top menu, choose File → Open Data Folder. It is the same place you use to install EAs.
- 2
Put it in MQL5\Indicators
Copy the file you obtained into MQL5 → Indicators inside the folder that opens.
- 3
Refresh the Navigator
In the Navigator, right-click Indicators → Refresh, or restart MT5.
- 4
Drag it onto the chart
Drag the name shown in the Navigator onto the chart and the settings window opens.
Don't add too many indicators

More indicators do not mean better decisions. The more you add, the harder it is to see the price itself.
- Don't stack the same type: three or more trend lines show almost the same information
- Try one at a time: be able to say in words what each line is for before you add it
- Remove some if things get slow: too many indicators can make the chart draw slowly
- Pair it with your trading records: note any display change and check later whether results changed
The point of a tidy chart is to make your rules easier to follow. For a simple way to keep records, see How to keep a trading journal.
Once your chart is set up, decide your lot size by working back from the loss on a single trade. Enter your balance and stop-loss width to get the right lot.
Calculate lot sizeFAQ
Q.How do I add an indicator in MT5?
Choose Insert → Indicators from the top menu, pick a type, set the period and color in the settings window, and click OK. You can also drag it onto the chart from the Navigator (Ctrl+N).
Q.How do I remove an indicator I added?
Right-click the chart, open Indicators List (Ctrl+I), select the indicator and click Delete. To clear everything, deleting each item from this list is the reliable way. Loading Default only works if you have not overwritten the default template.
Q.What is a template in MT5?
A template saves your chart colors and indicator combination in one file (.tpl). Save it with right-click → Template → Save Template, then load it on another chart to get the same display.
Q.Can I use MT4 indicators in MT5?
No. MT4 files (.ex4 or .mq4) do not run on MT5. Get an MT5 .ex5 or .mq5 file and put it in MQL5\Indicators in the data folder. Do not install files from unknown sources.
This article is for information purposes only and is not investment advice. Conditions may change, so please check each broker's official page for the latest information. Offshore FX and CFD trading carries a risk of losses exceeding your principal.






