Please note ThinkMarkets does not provide CFD services to residents of the US.

Learn To Trade
Indicators & Chart Patterns

Deepen your knowledge of technical analysis indicators and hone your skills as a trader.

Find your detailed guides here
Live Webinars

Boost your knowledge with our live, interactive webinars delivered by industry experts.

Learn More
Trading Glossary

From beginners to experts, all traders need to know a wide range of technical terms. Let us be your guide.

Learn more
Knowledge Base

No matter your experience level, download our free trading guides and develop your skills.

Learn more
Learn To Trade

Trade smarter: boost your skills with our training resources.

Create a live account
Market Analysis
Market News

All the latest market news, with regular insights and analysis from our in-house experts

Learn more
Economic Calendar

Make sure you are ahead of every market move with our constantly updated economic calendar.

Learn more
Technical Analysis

Harness past market data to forecast price direction and anticipate market moves.

Learn more
Live Webinars

Boost your knowledge with our live, interactive webinars delivered by industry experts.

Register now
Special Reports

Engaging, in-depth macroeconomic analysis and expert educational content from our in-house analysts

Learn more
Market Analysis

Harness the market intelligence you need to build your trading strategies.

Create a live account
About ThinkMarkets

Check out our sponsorships with global institutions and athletes, built on shared values of excellence.

Learn more
About Us

Find out more about ThinkMarkets, an established, multi-award winning global broker you can trust.

Learn more

Discover a range of rewarding career possibilities across the globe

Apply now
ThinkMarkets News

Keep up to date with our latest company news and announcements

Learn more
Trading Infrastructure

When it comes to the speed we execute your trades, no expense is spared. Find out more.

Learn more
Contact Us

Our multilingual support team is here for you 24/7.

Learn more
About ThinkMarkets

Global presence, local expertise - find out what sets us apart.

Create a live account
Log in Create account

The Simple Moving Average (SMA) Indicator

The Simple Moving Average (SMA) indicator is one of the most straightforward measures available to traders. 

It is a trend-defining indicator that isn’t necessarily made to be used in range-bound markets, but they can show you when that condition is approaching, thereby keeping you out of the market or having you switch the tools that you use.

What is the simple moving average indicator?

The simple moving average indicator is a measure of the average price over a certain amount of candlesticks

For example, if the 20-day simple moving average indicator is added to a chart, it will calculate the average price over the previous 20 days. The indicator updates itself at every candlestick and creates a line that goes up and down on the chart, showing the overall flow of where the market is going. 

There are other versions of moving average indicators, but the simple moving average indicator is the easiest to use. You simply measure the average closing price of a certain amount of candles, divided by that many candles. 

This gives you the average price, and as time goes on the various levels are connected by a line, giving traders a clear view as to whether the average price is rising, falling, or simply going sideways over a certain amount of time.

It can be used on any timeframe, but there are some that do tend to be used more than others. 

How to add a simple moving average indicator to Metatrader

To add a simple moving average indicator to your charts, click on the 'Insert' menu, choose 'Indicators', and then select 'Trend', where you will find 'Moving Average' on that menu. A dialog box will pop up with the title 'Moving average', giving you several options. 

The 'Period' box allows you to select how many candlesticks you wish to calculate the average price of, and then the 'MA method' allows you to select which type of moving average you want to apply. In this case, you would obviously select 'Simple.' You can also choose to apply to either the close, high, low, or open, but 99% of what you will see involves the close.

adding the Simple Moving Average indicator

How the simple moving average indicator is typically used

The most common way this indicator is used is to determine the overall trend. Notice the red line that is sloping lower on the chart below. It shows that we are clearly grinding lower over the course of the last several days on the hourly chart in the AUD/NZD pair. 

The slope going lower is a function of the average price drifting lower and lower over time. Notice how at the beginning of the chart the 20 SMA was rising, but then the price broke down through the moving average to show that something had changed. 

Shortly after that, you’ll notice that a majority of the candlesticks were below the 20 SMA, showing that price had changed from rising over the course of the previous 20 hours to falling. 

This shows an overall trend change, and it gives you an idea as to whether you should be long or short a currency pair. In this case, it’s obvious that selling the Australian dollar against the New Zealand dollar was the right way to go. The moving average shows you just how right it was.

ALT: example of a 20 SMA trading strategy

For example, at the blue arrow you can see that the market was clearly in an uptrend and pulled back towards the 50 day EMA where we saw the market bounce significantly from that level and continue to go higher. 

One way that you could have looked at this is that the 'hammer' that had formed on the daily chart right at the 50 day simple moving average was a sign that buyers were finding dynamic support there. Later on, you can see that the market broke down below the 50-day simple moving average indicator, but then bounced back towards it where the red arrow shows a selling opportunity based upon a massive bearish candlestick. 

Later on, it tested the general vicinity of the 50-day simple moving average indicator three times where it sold off each time it got too close to it. 

At the very end of the chart the market closed well above the 50 day EMA and then started to rocket to the upside showing the 50 day EMA starting to slope higher, confirming than that the trend has obviously changed for the upside in favor of the Euro instead of sloping lower in favor the British pound like it had been previously.

Another use for simple moving average indicators is to look for 'moving average crossovers'. This typically is used for 'buy and sell signals' and some traders even go so far as to always stay in the marketplace based upon how the signal is showing, either bullish or bearish. That being said, the simplest explanation is that you take a faster moving SMA and plot it with a slower moving SMA on a chart. In this example, we will use the CAD/CHF daily chart.

On the chart, there is the red 20 day simple moving average, and the white 50 day simple moving average. 

In a 'moving average crossover system', the idea is that as the quicker moving average rises above the slower one, shorter-term traders are starting to come in and momentum is moving to the upside. At that point, traders will buy the market. 

On the other hand, when the faster moving average dips below the longer-term moving average, then it shows that short-term traders are starting to push momentum to the downside, and it becomes a sell signal. In this scenario, you buy when the indicator of the shorter time frame breaks higher, and you sell or find yourself short when the lower timeframe indicator breaks underneath. 

When you look at this chart, you can see the inherent problem with using this system without any type of filter. There would have been five potential losses before the market finally broke in your direction and would have had you selling into a major breakdown. 

One simple filter is to look at the longer-term simple moving average indicator, and what the slope is. For example, in this chart you can see that we were relatively flat for most of this, and that may have kept you out of the market as it shows that we weren’t really trending. 

On the final crossover, and the one that the market is currently trading, you can see that the longer-term 50-day EMA started to slope lower, and the two moving averages started to spread out, showing that there was a real divergence between the two time frames, and that momentum was picking up. 

In the end, quite often the simple moving average indicator is used with something along the lines of an oscillator in order to determine momentum, and possible diversions. There are other indicators people will use with it, but it seems to be oscillators are by far the most common.

Some common simple moving averages While there is no 'magic bullet', there are some common ones that are popular:
  • 10-SMA, for fast moving short-term trades
  • 20-SMA, for slightly longer term momentum on short-term trades
  • 50-day SMA, which represents just a bit underneath a quarter
  • 100-day SMA, which represents half a year
  • 200-day SMA, which represents roughly one year of trading based upon trading hours
Any opinions, news, research, analyses, prices or other information contained on this website is provided as general market commentary and does not constitute investment advice. ThinkMarkets will not accept liability for any loss or damage including, without limitation, to any loss of profit which may arise directly or indirectly from use of or reliance on such information.
Back to top