FBS turns 16

Unlock birthday rewards: from gadgets and dreams cars to VIP trips.Learn more
Open account
Open accountLog In
Open account

Apr 22, 2025

Strategy

Comparing Simple Moving Average and Exponential Moving Average

MDP-8002_1_cover_1200x675_EN.png

Moving averages are tools frequently used in trading strategies. When used correctly, they can be of great advantage. This article covers the difference between EMA and SMA, calculating exponential moving average, setting the EMA for trading, and using EMA-based strategies.

What is the simple moving average?

The simple moving average (SMA) shows the average of a selected range of prices. It is calculated by adding the most recent prices and dividing the resulting number by the number of periods in the calculation average.

What is the exponential moving average (EMA)?

While the SMA gives equal weight to all values, the exponential moving average (EMA) provides a higher weighting to recent prices. Because the EMA gives more weight to current data than older data, it is more reactive to the latest price changes than the SMA. For that reason, some traders prefer this type of moving average.

The other two types of moving average are smoothed weighted and linear weighted.

The main difference between the types of moving average lies in the sensitivity to changes in the data used in their calculation.

Simple vs. exponential moving average

Both the EMA and the SMA are technical indicators. They use past data to generate a smooth trend line for the security price. But what’s the difference between them?

The EMA places a greater weight on recent prices, whereas the SMA places equal weight on all data points; this is why the EMA line curves faster than the SMA line.

The optimal moving average to use for your analysis depends on your trading strategy. However, it is essential to note that none of the moving averages is better than the others. For example, although the EMA accurately represents recent price movements and helps identify trends more quickly, it also experiences more short-term fluctuations than the SMA.

How to calculate the exponential moving average (EMA)

Calculating the EMA is a little more complicated than calculating the SMA:

  • Calculate the simple moving average.

SMA = the sum of the closing prices for the number of periods / the number of periods

  • Calculate the multiplier for the smoothing/weighting factor for the previous EMA.

Multiplier = 2 / (the number of periods + 1)

  • Get the exponential moving average for the current period.

EMA for the current period = (closing price - EMA for the previous period) x multiplier + EMA (previous period)

You may use the SMA as the EMA for the previous period if you are calculating the EMA for the first time.

However complex the whole thing may seem, the good news is computers calculate moving averages for us now, so you don't have to do all the math yourself.

Setting up the EMA

To apply the exponential moving average to your FBS app chart, choose Æ’ - Indicators - Moving Average. Then you must click the Moving Average button and change the MA method to Exponential.

To apply the exponential moving average to your MetaTrader 4 and 5 chart, choose Insert – Indicators – Trend. Then you must click the Moving Average button and change the MA method to Exponential.

You can also choose the period, method, and even the color of the EMA.

MDP-8002_2_1200x675_EN.png

Experienced traders usually calculate the EMA according to the close price.

The 8- and 20-day EMAs tend to be the most popular periods for day traders, while the 50- and 200-day EMAs are better suited for long-term investors.

Trading with the EMA

1. EMA ribbons strategy

Traders sometimes watch moving average ribbons, which plot many moving averages rather than just one onto a price chart. Though seemingly complex, EMA ribbons are easy to see on charting applications and offer a simple way of visualizing the dynamic relationship between trends in the short, intermediate, and long term.

Traders and analysts rely on moving averages and ribbons to identify turning points, continuations, and overbought/oversold conditions, define support and resistance areas, and measure price trend strengths.

To construct a moving average ribbon, plot many moving averages of varying period lengths on a price chart. Common parameters include eight or more moving averages and intervals that range from a 2-period to a 400-period moving average. The most popular EMA ribbon consists of eight lines from 20- to 55-period EMAs.

When all the moving averages converge into one point on the chart, the trend strength may weaken and point to a reversal. The opposite is true if the moving averages are fanning and moving apart, suggesting that prices range and that a trend is strong or strengthening.

In downtrends, shorter moving averages cross below longer moving averages. Conversely, uptrends show shorter moving averages traveling above longer moving averages.

Moving average ribbons are easy to interpret. The indicators trigger buy and sell signals whenever the moving average lines all cross at one point. Traders look to buy when shorter-term moving averages cross above the longer-term moving averages from below and sell when shorter moving averages cross all other lines from above.

MDP-8002_3_1200x675_EN.png

Moreover, traders use the EMA ribbon as a support and resistance level:

  • If the price breaks and closes the candle below the EMA ribbon during an uptrend, it’s a sell signal.

  • Conversely, if the price breaks and closes the candle above the EMA ribbon during a downtrend, it is a buy signal.

MDP-8002_4_1200x675_EN.png

Important: For ease of analysis, keep the type of moving average consistent across the ribbon. Use only exponential moving averages or simple moving averages

2. DEMA (the Double EMA strategy)

The strategy below is perfect for swing traders. We suggest you use the H1 timeframe, as it fits the strategy best: using two EMAs on lower timeframes may create lots of interrupting noise.

A strategy for opening a long position:

  • Wait for the short EMA to cross the long EMA to the upside.

  • Wait for other confirmations (break of the critical level).

  • Place your stop-loss behind the last high or low.

  • Track the direction of the moving averages.

  • Close your position after the short EMA crosses the long EMA to the downside or the price reaches your target.

MDP-8002_5_1200x675_EN.png

As shown in the image, the blue 13-period EMA and the orange 21-period EMA are applied to the H1 chart of AUDUSD on June 15. The pair starts to go up when the orange line crosses the blue line to the upside. A trader enters the long position after the breakout of the recent high, which acts as a resistance level. Then they close the position as the orange EMA crosses the blue one upside down.

MDP-8002_6_1200x675_EN.png

Conversely, if the orange line (short EMA) crosses the blue line (long EMA) to the downside, this may signal an opportunity to open a sell trade. You must close your position when the short EMA crosses the long EMA to the upside.

3. Using EMAs as dynamic support and resistance

Moving averages can also indicate support and resistance areas. A rising EMA tends to support price action, while a falling EMA tends to provide resistance to price action. A trader should open a buy trade when the price is near the rising EMA and sell when the price is near the falling EMA. For this strategy, 25 EMA on H1 fits the best.

MDP-8002_7_1200x675_EN.png

EMA vs. SMA: a summary

Depending on their strategies, traders prefer different numbers and types of moving averages. The EMA seems especially popular for giving more weight to recent prices, lagging less than other averages. You will find EMAs in many truly efficient trading strategies, with the EMA ribbon as one of the most valuable tools for finding entry points and stopping market reversals.

Share with friends:

Open an FBS account

By registering, you accept FBS Customer Agreement conditions and FBS Privacy Policy and assume all risks inherent with trading operations on the world financial markets.

FBS at social media

iconhover iconiconhover iconiconhover iconiconhover icon

Contact us

iconhover iconiconhover iconiconhover iconiconhover icon
store iconstore icon
Get on the
App Store
store iconstore icon
Get on the
Google Play

Trading

Company

About FBS

Legal documents

Company news

FC Leicester City

Help Center

Partnership programs

The website is operated by FBS Markets Inc.; Registration No. 000001317; FBS Markets Inc. is registered by the Financial Services Commission under the Securities Industry Act 2021, license number 000102/31. Office Address: 9725, Fabers Road Extension, Unit 1, Belize City, Belize.

FBS Markets Inc. does not offer financial services to residents of certain jurisdictions, including, but not limited to: the USA, the EU, the UK, Israel, the Islamic Republic of Iran, Myanmar.

Payment transactions are managed by HDC Technologies Ltd.; Registration No. HE 370778; Legal address: Arch. Makariou III & Vyronos, P. Lordos Center, Block B, Office 203, Limassol, Cyprus. Additional address: Office 267, Irene Court, Corner Rigenas and 28th October street, Agia Triada, 3035, Limassol, Cyprus.

Contact number: +357 22 010970; additional number: +501 611 0594.

For cooperation, please contact us via [email protected].

Risk Warning: Before you start trading, you should completely understand the risks involved with the currency market and trading on margin, and you should be aware of your level of experience.

Any copying, reproduction, republication, as well as on the Internet resources of any materials from this website is possible only upon written permission.

The information on this website does not constitute investment advice, a recommendation, or a solicitation to engage in any investment activity.