How to Add a Moving Average on MT4
BY TIOmarkets
|June 10, 2026A moving average is one of the most widely used technical indicators in trading. It smooths price action by averaging the price over a defined number of bars, producing a single line that follows the price more slowly than the raw bars themselves. Traders use moving averages to identify trends, define support and resistance levels, generate signals from crossovers, and filter trade direction. MetaTrader 4 includes the moving average as a built-in indicator under the Trend category, available in four calculation methods.
This guide covers how to add a moving average to an MT4 chart, the four available methods (SMA, EMA, SMMA, LWMA), how to configure the period, shift, and applied price, how to customise the visual appearance, and how to add multiple moving averages to the same chart.
What Is a Moving Average
A moving average takes the closing prices of the last N bars (where N is the period you choose) and produces an averaged value. As each new bar forms, the oldest bar is dropped from the calculation and the newest bar is added. The result is a line that lags price but smooths out short-term noise.
The shorter the period, the more responsive the moving average is to recent price changes. A 9-period moving average reacts quickly to new bars; a 200-period moving average reacts slowly and represents a longer-term average.
Different calculation methods weight the bars differently:
Simple Moving Average (SMA) gives equal weight to every bar in the period.
Exponential Moving Average (EMA) gives more weight to recent bars and less to older ones. It reacts faster to new prices than the SMA.
Smoothed Moving Average (SMMA) is similar to the EMA but with a longer effective lookback, producing a smoother line.
Linear Weighted Moving Average (LWMA) weights bars linearly, with the most recent bar weighted highest. Like the EMA, it is more responsive than the SMA.
The choice between methods is a matter of trader preference and what each method's behaviour offers for the strategy at hand.
How to Add a Moving Average on MT4
MetaTrader 4 offers two main ways to add a moving average to a chart.
Method 1: Insert Menu
Click the Insert menu in the top toolbar and navigate to Indicators > Trend > Moving Average. The Moving Average parameters dialog opens.
Method 2: Navigator Drag-and-Drop
Press Ctrl+N to open the Navigator window. Expand Indicators > Trend > Moving Average. Click and drag the Moving Average entry onto the chart where you want it applied. The parameters dialog opens.
Both methods produce the same dialog and the same result. Choose whichever is faster for your workflow.
Configuring the Moving Average Parameters
The parameters dialog has several tabs. The Common tab (sometimes simply the Parameters tab depending on build) is where you set the key values.
Period: the number of bars used in the calculation. Common period values include 9, 20, 50, 100, and 200, but any positive integer is valid.
Shift: shifts the moving average forward or backward on the chart by the specified number of bars. The default is 0 (no shift). A positive shift moves the line into the future; a negative shift moves it into the past.
MA method: the calculation method. Choose Simple, Exponential, Smoothed, or Linear Weighted.
Apply to: the price series used for the average. Close is the default. Other options include Open, High, Low, Median Price (the average of high and low), Typical Price (the average of high, low, and close), and Weighted Close (a weighted average emphasising the close).
When you have set the parameters, the Style tab lets you customise the line's colour, style, and width before clicking OK.
Customising the Visual Appearance
Switch to the Style tab to set how the moving average looks on the chart.
Colour: click the colour swatch to pick from the standard palette or open the custom colour picker.
Style: choose solid, dash, dot, dash-dot, or dash-dot-dot.
Width: 1 to 5 pixels.
These settings can be changed later by right-clicking the moving average line and choosing Properties.
Adding Multiple Moving Averages
Many trading strategies use two or more moving averages on the same chart: a short-period MA for short-term direction and a longer-period MA for the broader trend. Crossovers between them can be used as signals or filters.
To add a second moving average, repeat the Insert or Navigator method. Each time, the parameters dialog opens for the new instance. Set a different period (and ideally a different colour) so the two are distinguishable on the chart.
You can add as many moving averages as you want. The chart can become cluttered if you add too many; two or three is typical.
Editing an Existing Moving Average
To change the parameters or appearance of a moving average already on the chart:
Right-click the moving average line directly.
Select Properties from the context menu.
The parameters dialog opens with the current values. Change any setting on the Common or Style tabs and click OK.
Alternatively, double-click the line to open Properties directly. To find a moving average that is not easy to click (very short, very narrow, or hidden behind price action), open Charts > Indicators List in the menu bar. This shows all indicators applied to the chart with edit and delete buttons.
Removing a Moving Average
To remove a moving average from the chart:
Right-click the line and choose Delete.
Or open Charts > Indicators List, select the moving average, and click Delete.
Or, if you want to remove all indicators at once, go to Charts > Indicators List > Delete All.
Moving Averages on MT4 Mobile
The MT4 mobile app includes the moving average as one of the 30 built-in indicators available. To add one on mobile, open a chart, tap the indicators icon (typically an "f" or chart-with-line icon), select Moving Average, and configure the parameters. The mobile app has the same four MA methods as the desktop. The visual styling options on mobile are typically limited to colour selection.
Practical Considerations
A moving average is a lagging indicator. By definition it averages past prices, so it always reacts after the price has moved. The longer the period, the greater the lag. Traders accept this trade-off in exchange for the smoothing benefit.
Different markets and instruments may respond differently to the same moving average settings. A 20-period MA on a 4-hour EURUSD chart is calculating an average of 20 four-hour bars (80 hours). A 20-period MA on a daily chart of the same pair is calculating an average of 20 daily bars (20 days). The same indicator label means different time spans on different chart timeframes.
Moving averages are sometimes used in combination with other indicators or with chart structure (support, resistance, swing highs and lows). The line itself does not generate trade decisions; how a trader interprets it does.
Demo accounts let you experiment with different periods and methods without financial commitment. Try several configurations to see how each behaves on your preferred instruments and timeframes.
Trading at TIOmarkets
TIOmarkets offers MetaTrader 4 and MetaTrader 5 on desktop, web, and mobile, across four account types. The Standard account is created automatically on registration with a minimum deposit of $20 or currency equivalent. The Raw and VIP Black accounts are opened separately through the client area. The Nano account is MT5 only with a $20 minimum deposit, USD only. Hedging is supported on all accounts. A swap-free Islamic account is available; contact TIOmarkets for eligibility and instrument requirements. Copy trading is available on both MT4 and MT5.
Orders are executed at the best available market price, which may result in positive or negative slippage. Demo accounts often execute instantly and may not fully replicate live slippage conditions. Spreads are variable and are typically higher than minimum figures shown. Leverage on each instrument is subject to change depending on market conditions and applicable regulatory requirements. You can review the full list of account types on the TIOmarkets accounts page.

FAQ
Risk disclaimer: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. Never deposit more than you are prepared to lose. Professional client’s losses can exceed their deposit. Please see our risk warning policy and seek independent professional advice if you do not fully understand. This information is not directed or intended for distribution to or use by residents of certain countries/jurisdictions including, but not limited to, USA & Countries included in the OFAC sanction list. The Company holds the right to alter the aforementioned list of countries at its own discretion.
TIOmarkets offers an exclusively execution-only service. The views expressed are for information purposes only. None of the content provided constitutes any form of investment advice. The comments are made available purely for educational and marketing purposes and do NOT constitute advice or investment recommendation (and should not be considered as such) and do not in any way constitute an invitation to acquire any financial instrument or product. TIOmarkets and its affiliates and consultants are not liable for any damages that may be caused by individual comments or statements by TIOmarkets analysis and assumes no liability with respect to the completeness and correctness of the content presented. The investor is solely responsible for the risk of his/her investment decisions. The analyses and comments presented do not include any consideration of your personal investment objectives, financial circumstances, or needs. The content has not been prepared in accordance with any legal requirements for financial analysis and must, therefore, be viewed by the reader as marketing information. TIOmarkets prohibits duplication or publication without explicit approval.
Join us on social media
Authors BIO

Behind every blog post lies the combined experience of the people working at TIOmarkets. We are a team of dedicated industry professionals and financial markets enthusiasts committed to providing you with trading education and financial markets commentary. Our goal is to help empower you with the knowledge you need to trade in the markets effectively.





