Form not found

What is EMA (Exponential Moving Average) in trading and how to use this indicator?

Education /
Milan Cutkovic

What is the Exponential Moving Average indicator? 

The exponential moving average (EMA) is a type of moving average that is used by traders to smooth out price data. The key difference between the EMA and the simple moving average (SMA) is that the EMA gives more importance to recent price moves, reducing the lag–the delay between actual price movements and the indicator’s response to those movements.  

The EMA is one of the most popular technical indicators and is used by both short-term and long-term traders. Common periods for the EMA include 9 and 21 for short-term momentum, while 50, 100, and 200 are typically used for identifying medium- to long-term trends. 

The indicator is used to identify trading opportunities and support traders in their decision-making process but can also serve as an active part of a trading strategy (for example, trading EMA crossovers). 

What is it used for? 

The EMA helps traders identify current market conditions, i.e., whether the instrument is in an uptrend, a downtrend, or moving sideways. 

If the price is trading above the EMA, the instrument is currently in an uptrend. 

If the price is below the EMA, the instrument is currently in a downtrend. 

How do we identify if there is no clear trend and the market is moving sideways? 

The EMA itself will be almost flat, while price will hover around it with frequent crosses above and below the EMA. 

Aside from that, the EMA is frequently incorporated into trading strategies and can help generate signals. 

A popular strategy involving the EMA is the price cross. Traders will enter a long position when the price of an instrument crosses above the EMA and a short position when it crosses below it. 

Another variant of this strategy is the EMA crossovers, which occur when a short-term EMA crosses above or below a long-term EMA, generating a signal for traders to act upon. 

Furthermore, the EMA can serve as a level of support or resistance. 

How to calculate it 

First, decide the time period for the EMA — for example, 50 days. The period determines how many past prices are considered in the calculation. 

To start the calculation, we need an initial value. This is usually done by calculating a Simple Moving Average (SMA) of the first 50 closing prices. This SMA will serve as the first EMA value. 

Next, you calculate the smoothing factor, which simply establishes the "weight" or importance of the most recent price in the EMA calculation. The smoothing factor ensures that newer prices have a bigger impact on the EMA, while older prices gradually have less influence. 

Once the smoothing factor is established, we will calculate the EMA for the next day by taking the current day’s price, multiplying it by the smoothing factor and adding to that the previous day’s EMA, multiplied by 1 minus the smooth factor. 

Finally, we repeat this process for each new day. 

EMA formula

EMA (today) = Smoothing Factor x Price (today) + (1 - Smoothing Factor) x EMA (yesterday)

Smoothing Factor = 2 / (Number of periods + 1)

 

How to use the EMA in trading 

The EMA serves as a valuable tool for identifying trends. If the price is above the EMA and the EMA slopes upwards, it signifies an uptrend in the instrument. On the other hand, if the price is below the EMA and the EMA slopes downward, it implies that the instrument is in a downtrend. 

There are two main methods that traders use to incorporate the EMA in their trading strategy. 

One method involves the crossover between two EMAs, specifically a shorter-period EMA crossing above or below a longer-period EMA. For instance, when a 50-period EMA crosses above a 200-period EMA, this is interpreted as a bullish signal. Conversely, if a 50-period EMA crosses below a 200-period EMA, it is regarded as a bearish signal. 

The other method involves waiting for the price to cross either above or below the EMA. For instance, a long position would be entered once the price has crossed above the EMA, anticipating bullish momentum. Conversely, a short position would be initiated when the price crosses below the EMA, expecting bearish momentum. It is essential to confirm that there is an underlying trend, as a period of consolidation can lead to numerous false signals.   

 

Exponential Moving Average (EMA) vs Simple Moving Average (SMA) 

While both are types of moving averages, there are several key differences between the EMA and the SMA: 

  • The EMA places greater emphasis on the recent price action, while the SMA gives equal weight to all prices in the specific period. 
  • As a result, the EMA reacts faster to changes in trend, while the SMA tends to have a longer lag. 
  • The SMA is smoother but has a greater lag, while the EMA is less smooth but responds more quickly. 
  • EMA is preferred by short-term traders, whereas the SMA is more frequently used by swing traders. 

 

Advantages and limitations of the EMA 

Advantages 

  • It helps traders identify trends more easily. 
  • It can be used to generate trading signals. 
  • It can easily be combined with other technical indicators and tools. 
  • It is a widely used indicator, improving reliability. 
  • It works on all timeframes and across all instruments. 

Limitations 

  • If used as a trading signal, it must be combined with other tools to improve accuracy. 
  • Traders must ensure that there is a clear trend; using an EMA when markets are moving sideways may result in many false signals, as price frequently fluctuates above and below the EMA. 
  • The EMA will generate more "noise" as it is more sensitive to recent price action. 

 

Summary 

The EMA is a type of moving average in which recent price action has greater weight. This gives it an advantage over the SMA, which is smoother but has a greater lag. It is a popular indicator and widely used by traders, mostly for identifying trends or for generating trade signals. 

The EMA is a useful tool as it reacts faster to recent price action, but traders should proceed with caution if markets are moving sideways, as it would generate many false signals.  

The EMA can easily be combined with other technical indicators and tools, which can improve the reliability of signals generated by EMA price crosses or crossovers between two EMAs. 

 

Ready to trade your edge?

Join thousands of traders and trade CFDs on forexsharesindicescommodities, and cryptocurrencies!

 

 

This information is not to be construed as a recommendation; or an offer to buy or sell; or the solicitation of an offer to buy or sell any security, financial product, or instrument; or to participate in any trading strategy. It has been prepared without taking your objectives, financial situation and needs into account. Any references to past performance and forecasts are not reliable indicators of future results. Axi makes no representation and assumes no liability with regard to the accuracy and completeness of the content in this publication. Readers should seek their own advice.

FAQ


What is an EMA?

A type of moving average that gives greater weight to recent price action. 


What does EMA stand for?

It stands for exponential moving average. 


What is the key difference between the EMA and the SMA?

The EMA responds more rapidly to recent price movements, whereas the SMA assigns equal weight to all prices within the specified period.


What are the most commonly used EMA settings?

The most commonly used settings are 9, 21, 50, 100 and 200. 


Can I trade only by using EMA?

It is possible, but it is always better to combine it with other tools for additional confirmation and filtering out bad signals.  


What are the most popular ways to trade EMA?

Two common approaches are entering a trade when the price crosses above or below the EMA and using the crossover between two EMAs to signal potential trend changes. 


Can the EMA be used on all timeframes?

Yes, the EMA can be used on all timeframes. 


Can the EMA be applied on the chart of all instruments?

Yes, it can be used for all instruments. 



Milan Cutkovic

Milan Cutkovic

Milan Cutkovic has over eight years of experience in trading and market analysis across forex, indices, commodities, and stocks. He was one of the first traders accepted into the Axi Select program which identifies highly talented traders and assists them with professional development.

As well as being a trader, Milan writes daily analysis for the Axi community, using his extensive knowledge of financial markets to provide unique insights and commentary. He is passionate about helping others become more successful in their trading and shares his skills by contributing to comprehensive trading eBooks and regularly publishing educational articles on the Axi blog, His work is frequently quoted in leading international newspapers and media portals.

Milan is frequently quoted and mentioned in many financial publications, including Yahoo Finance, Business Insider, Barrons, CNN, Reuters, New York Post, and MarketWatch.

Find him on: LinkedIn


More on this topic

Read More

Ready to trade your edge?

Start trading with a global, award-winning broker.

Try a Free Demo Open a Live Account