# What is exponential moving average (EMA) and how to use it

Exponential moving average is perhaps one of the most common indicators used when it comes to trading. Understand what goes on behind the computation of this moving average to better complement your trading needs.

## What is exponential moving average (EMA)?

The exponential moving average (EMA) is a type of moving average that considers the weighted average of a series of recent data to reflect the ongoing trend in the market. The weight of the EMA is exponentially tilted towards more recent occurrences, giving the recent data greater influence over the reading.

This price-based indicator typically looks at the average closing price of a security over a specified number of periods, such as a 50-day, 100-day or longer 200-day EMAs, smoothing out short-term price fluctuations to provide a clearer image of the market trend.

As with other moving averages, this is a technical analysis tool that uses historical data to predict future price movements of a freely-traded market. Prices are viewed as a reflection of the real-time supply and demand interactions and thus investor sentiment.

The underlying assumption here is that price patterns tend to repeat over time and market technicians believe that humans often are irrational and emotional and thus tend to behave similarly in similar circumstances. EMA may be used by itself, but oftentimes in conjunction with other technical analysis tools or fundamental analysis for trading as well.

## How to calculate exponential moving average

The computation of a security’s EMA is broadly straightforward. The exponential m-day moving average EMA with smoothing parameter k is defined as the below.

The smoothing parameter k takes on a value of between 0 and 1, typically chosen as 2/(m+1). An example is shown below for the computation of EMA where m = 5 and therefore k = 1/3.

 Price EMA (m=5) Day one 102.4 102.4 Day two 103.6 102.8 Day three 103.5 103.0 Day four 101.2 102.4 Day five 100.0 101.6

## Exponential moving average vs simple moving averages

As explained above, EMA as with simple moving averages (SMAs) are popular technical analysis tools. They are also very similar in measurement of trends. SMAs can be quite simply computed using the formula below for an m-day SMA.

The difference, however, is that EMAs accord greater weightage to more recent information and will therefore be more sensitive towards the latest price changes than SMA. While this may matter very little for short-term trading, the difference becomes more apparent in the study of longer-term price trends. Recent data may be regarded as more telling of the latest market sentiment. This had also been why EMA presents itself as a popular choice of moving average between the two. In practice, both EMA and SMAs are commonly used by technical analysts and traders.

Both exponential and simple moving averages, while different in their computation of value, may be used in similar manners. A straightforward way to utilise moving averages in one’s trade is to use two moving averages of different time frames in conjunction.

A short-term moving average (stMA) is used to reflect the current impetus of the market while a longer-term moving average (ltMA) shows the broader trend of the market. When a stMA crosses over from underneath a ltMA, this serves as a bullish signal in the market and is commonly known as a golden cross. Conversely, the crossing over of an stMA from above a ltMA is considered bearish and is recognised as a death cross.

Using Apple, a popular US Fang index as an example, one can see that the crossover of the short-term 20-day MA above the longer-term 60-day MA as a bullish sign. Depending on one’s time frame of trade, the MAs of choice can also be adjusted correspondingly.

## Exponential moving average limitations

Once again, the key trait of the EMA may also be its limitation. Given the greater influence that recent data has on the EMA, recency bias is present here. With the stock market, this can be dangerous when prices are at extremes. The EMA may fuel further buying interest in the market during a time when prices are already in extreme overbought condition, overdue for a pullback. It is important that one exercise their discretion when using any tools in their trading. Back testing would be one way to improve the validity of one’s trading strategy using tools such as the EMA. Using the EMA in conjunction with other analytical tools may also a way to improve one’s conviction in their trade.

Deze informatie is opgesteld door IG Europe GmbH en IG Markets Ltd (beide IG). Evenals de disclaimer hieronder bevat de tekst op deze pagina geen vermelding van onze prijzen, een aanbieding of een verzoek om een transactie in welk financieel instrument dan ook. IG aanvaardt geen verantwoordelijkheid voor het gebruik dat van deze opmerkingen kan worden gemaakt en voor de daaruit voortvloeiende gevolgen. IG geeft geen verklaring of garantie over de nauwkeurigheid of volledigheid van deze informatie. Iedere handeling van een persoon naar aanleiding hiervan is dan ook geheel op eigen risico. Een door IG gepubliceerd onderzoek houdt geen rekening met de specifieke beleggingsdoelstellingen, de financiële situatie en behoeften van een specifiek persoon die deze informatie onder ogen kan krijgen. Het is niet uitgevoerd conform juridische eisen die zodanig zijn opgesteld dat de onafhankelijkheid van onderzoek op het gebied van investeringen wordt bevorderd, en dient daarom als marketingcommunicatie te worden beschouwd. Hoewel wij er niet uitdrukkelijk van weerhouden worden om te handelen op basis van onze aanbevelingen en hiervan te profiteren alvorens ze met onze cliënten te delen, zijn wij hier niet op uit. Bekijk de volledige disclaimer inzake niet-onafhankelijk onderzoek en de driemaandelijkse samenvatting.

## Mogelijk bent u geïnteresseerd in…

Dankzij onze transparante kostenpagina ziet u gemakkelijk de kosten die met uw trades gemoeid kunnen gaan.

Ontdek waarom zoveel klanten ons kiezen en wat ons de grootste CFD-provider ter wereld maakt.

Blijf op de hoogte van gebeurtenissen die de markten kunnen opschudden dankzij onze aanpasbare economische kalender.

CFD’s zijn complexe instrumenten en brengen vanwege het hefboomeffect een hoog risico met zich mee van snel oplopende verliezen. 68% van de retailbeleggers lijdt verlies op de handel in CFD’s bij deze aanbieder. Het is belangrijk dat u goed begrijpt hoe CFD's werken en dat u nagaat of u zich het hoge risico op verlies kunt permitteren. Opties en turbocertificaten zijn complexe financiële instrumenten. Uw vermogen loopt risico. U kunt uw geld snel verliezen. CFD’s zijn complexe instrumenten en brengen vanwege het hefboomeffect een hoog risico met zich mee van snel oplopende verliezen.