Tue. Oct 20th, 2020
EMA on the chart

What Is The Exponentially Weighted Moving Average?

As you embark on your trading journey, you need to have the right tools that'll help you make better decisions.

And mastery of each of your tools is vital to your success.

So, here's another to add to your trading toolbox: the exponentially weighted moving average.

In this post, you'll learn its uses, how it's calculated, how it differs from the Simple Moving Average (SMA), its limitations, and where to find it on MetaTrader 4.

What's the EMA?

The Exponential Moving Average or EMA is a modification of the Simple Moving Average.

It's a technical indicator that exhibits almost the same functions as the SMA, and its calculation is virtually similar except for the extra weight placed on the most recent price data.

This extra weight is to place more importance on the latest price making the Moving Average more reactive to the new price information.

EMA Uses

As with the SMA, the EMA is utilized by traders for the following purposes:

1. Indicate a change in trend

A change in trend happens when a cross between a fast MA and a slow MA occurs. A fast MA is one with fewer closing prices like a 10-day MA, for example. A slow MA, on the other hand, averages more closing prices, e.g., 100 or 200-day MA.

The example below shows a 10-day EMA plotted by the red line and the 100-day EMA plotted by the blue line.


2. Spot Support and Resistance Levels

According to John Magee and Robert D. Edwards in their classic book Technical Analysis of Stock Trends, moving averages were initially intended to be used as automated trend lines. This remains true today.

The crosses between prices and the moving averages create areas on the chart that can be inferred as dynamic support or resistance levels.

3. Determine market condition

The market condition, whether it's bullish, bearish or sideways, can be determined by understanding how the price and the Moving Average are situated from one another on the chart.

4. Signal trading opportunities

And, finally, as with indicating a shift in trend, trading opportunities can also be spotted from the crossover between multiple moving averages.

How to Calculate the EMA

To calculate the EMA, follow these steps:

  • Determine the time period (number of candlesticks or bars) and get the average.
  • Calculate the weighting factor using this formula: 2÷ (Time Period + 1). So, if it's a 10-day EMA, the WEIGHT would be 0.1818. 
  • Then follow this formula for calculating the EMA: WEIGHT x CURRENT CLOSING PRICE + AVERAGE x (1-WEIGHT). The closing price here should be the 11th day and is 1.0871, and the average for 10 days is 1.0928, for example. So, the calculation for the EMA will look like this: 0.1818 x 1.0871 + 1.0928 x (1-0.1818) = 1.0918.
  • To get the next day's EMA, replace the Average with the EMA from yesterday (11th day) and the closing price to today's (12th day) closing price. The closing price for the 12th day, for example, is 1.0912. So, the EMA for day 12 will be calculated like this, 0.1818 x 1.0912 + 0.8182 x 1.0918 = 1.0917.

Here's how to calculate the EMA on Excel:

Exponential Moving Average vs. Simple Moving Average 

The main difference between the EMA and the SMA is that the EMA is more sensitive to the latest price data, so, in a chart, you'll see it slither closer to the price.

The benefit of that is it can catch a change in trend faster than the SMA. Take a look at the image below.

EUR_USD chart

As you can see from this EUR/USD chart, the 50-day EMA line (blue) was able to signal bearish or bullishness faster than the 50-day SMA (red). And, that occurred three times in seven months.
However, this difference is very minimal, especially with higher time periods.

For the sake of simplifying the analysis, some traders would make use of the SMA instead, or add more weight to the closing prices than the standard EMA calculation adds.

 EMA False Signals

The EMAs' capacity to catch moves quicker than the SMA is also its downside. Since moving averages only present probabilities, the new price might be a mere surprise reaction to fundamental data, and the EMA is more susceptible to capture it.

How to add the EMA on MetaTrader

To add the EMA on your MetaTrader 4 platform, follow these steps:

  • Click on INSERT
  • Hover to INDICATORS
  • Set the period
  • Finally, click on the MA METHOD and select EXPONENTIAL


Remember that the EMA is only a technical indicator, and it only suggests where the market currently stands or if there is a possible change to it. Therefore, to think that it'll guarantee you consistent positive results is an entirely misguided view. Again, echoing the message at the beginning of this article, mastering the trading tools like the EMA is just to aid you in your decision making.

Trade the EMA using a backtesting software

Improve your trading by 300%

3 thoughts on “What Is The Exponentially Weighted Moving Average?

  1. Interesting article and very thoroughly explained. While I did get a bit lost in all the calculations – I appreciate the explanation. I’ve tried trading before (a few years back) and never thought of fully understanding the calculations that can help identify trends in the rise/fall of the market price. This is surely a good read for people who are heavily investing in trading.

  2. Exponential moving average is an  indicator that I value its use so much. Your article us spot on and I musts say tha I found very bit of it very amazing to learn about. I majorly make use of EMA just to get the trend and to make sure I am on track with whatever is going on inside the the market. As the saying goes, don’t ever trade against the trend. So it is germane to make sure one identifies the trend’s movement and trade accordingly. Thanks

  3. Trading requires professionalism rather than gambling. Back then when cryptocurrency still make sense to me, my mentor asked me to study a candlestick guides but I was so lazy to do that. I realized my mistake after lossing more than 50% of my investment. I took a break eversince that time. To start again I need an EMA like this and the candlestick my mentor recommended. This is an enlightening review that worth adopting

Leave a Reply

Your email address will not be published. Required fields are marked *