Home
Glossary
Exponential Moving Average (EMA)

Exponential Moving Average (EMA)

Beginner

What Is an EMA?

An exponential moving average (EMA) is a tool used in technical analysis to track the price movements of an asset over a certain period. Unlike the simple moving average (SMA), the EMA gives more importance to recent price data, making it more responsive to short-term market fluctuations.
This makes the EMA similar to the weighted moving average (WMA), which also gives more weight to recent data points. However, the EMA does so in an exponential manner while the WMA does so in a linear fashion.

How to Calculate an EMA

As mentioned, the EMA gives exponentially more weight to recent price data. You can apply the EMA to different time frames, but to illustrate, we will consider each period as a full trading day. The EMA can be calculated with the following formula: 

EMA = ( Closing Price -  Previous EMA ) x Multiplier + Previous EMA, where:
  • The Closing Price ​is the last traded price of the period (day). So, if you use a daily chart, it is the daily close of the candlestick. If the current day is not closed yet, you can disregard it and use the previous periods instead.
  • The Previous EMA is the EMA value for the previous period (day). If you do not have the previous EMA, you can replace it with the simple moving average (SMA) (see example below).
  • Multiplier = 2 / (n + 1). It is the smoothing constant. Its value is determined by the number of periods you use (n).

EMA Example

Suppose we want to calculate a 10-day EMA. If there is no available EMA for the previous day, we will have to calculate the SMA first.

1. Start with the SMA.

Let’s assume that the respective closing prices from day 1 to 10 are 50, 57, 58, 53, 55, 49, 56, 54, 63, and 64.

Using the formula:

SMA = (50 + 57 + 58 + 53 + 55 + 49 + 56 + 54 + 63 + 64) / 10 = 55.9

2. Determine the Multiplier.

Multiplier = 2 / (10+1) ​= 2 / 11 = 0.1818

3. Compute the EMA. 

For the 11th day, let’s assume that the closing price is 60. Putting it all together in the EMA formula, we will have the following:

EMA = (60 − 55.9) x 0.1818 + 55.9 = 56.64

In this example, the 10-day EMA is $56.64. It can now serve as the previous day’s EMA for the next day’s EMA calculation.

EMAs in Crypto Trading

In crypto trading, EMAs can be used to spot market trends, reversals, and crossover signals.

1. Trend identification. Traders use EMAs to identify the direction of the market trend. A rising EMA can indicate an uptrend, while a falling EMA may suggest a downtrend.
2. EMA crossover strategy: This involves using two EMAs, typically a short-term EMA (e.g., 10-day) and a long-term EMA (e.g., 50-day). A buy signal occurs when the short-term EMA crosses above the long-term EMA, while a sell signal occurs when the short-term EMA crosses below the long-term EMA.
3. EMA and SMA. Many traders combine EMAs with SMAs to get a better picture of the market trends and potential reversals. Since the EMA is more sensitive to short-term fluctuations, it may sometimes generate false signals, so using the SMA along with an EMA can help traders confirm the signals generated. When the SMA generates the same signal a few periods after the EMA, there is a lower probability of it being false.
4. Price and EMA crossovers: Some traders also look for instances where the market price crosses above or below an EMA. A price crossing above the EMA may signal a buying opportunity, while a price crossing below the EMA could indicate a selling opportunity.

Conclusion

The EMA is a technical analysis tool that assigns more weight to recent price data, offering a more responsive and accurate representation of the market trend. In crypto trading, EMAs can be used to spot trends, reversals, and crossover signals. However, as with any technical analysis indicator, there are no guarantees. Traders often combine multiple TA indicators to reduce risks.