PipCircle app icon

Install PipCircle

Add the app to your device - fast access, full screen, and it works offline.

Important Disclaimer

PipCircle is the social network for traders. We connect forex, stock, crypto, and prop firm traders with broker reviews, community insights, and real-time trading discussions.

The information on this platform, including user posts, broker reviews, and discussions, is for informational and educational purposes only. It does not constitute financial advice, investment recommendations, or an endorsement of any broker or trading strategy.

Risk Warning: Trading in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. You should carefully consider your investment objectives, level of experience, and risk appetite before trading.

Users are solely responsible for their own trading decisions.

Exponential moving average

The exponential moving average gives the newest closes the most weight, so it turns sooner than a simple average of the same length.

  • Level 3 Reading Charts
  • الدرس 27 من 31
  • 4 دقائق قراءة
  • 2 أسئلة

An exponential moving average, or EMA, is a moving average that gives more weight to recent closes than to older ones. It reacts faster to a change in price than a simple moving average of the same period. Each new value is a blend of the latest close and the previous value of the EMA.

The formula

multiplier = 2 ÷ (period + 1)

EMA = close × multiplier + previous EMA × (1 − multiplier)

PeriodMultiplierWeight of the latest close
50.333333.3%
100.181818.2%
200.09529.5%
500.03923.9%
2000.01001.0%

A worked example

Take the closes from the last lesson. An EMA needs a starting value, and the usual choice is the simple average of the first closes: 1.09652 on the fifth candle. The sixth close is 1.0954.

EMA = 1.0954 × 0.3333 + 1.09652 × 0.6667 = 1.09615

CandleClose5-period SMA5-period EMA
51.09501.096521.09652
61.09541.096081.09615
71.09421.095561.09550

On the seventh candle the close fell 12 pips. The EMA dropped 6.5 pips and the SMA 5.2. The EMA moved further because a third of it is the newest close.

Where the weight goes

Bars compare two 5-period averages. The simple average gives each of the last five closes 20%. The exponential average gives the latest close 33%, then 22%, 15%, 10% and 7%, and keeps 13% for older closes.Bars compare two 5-period averages. The simple average gives each of the last five closes 20%. The exponential average gives the latest close 33%, then 22%, 15%, 10% and 7%, and keeps 13% for older closes.
Figure 1. How a 5-period SMA and a 5-period EMA share out their weight among the closes.

A 5-period SMA gives 20% to each of the last five closes and nothing to anything older. A 5-period EMA gives 33.3% to the latest close, then 22.2%, 14.8%, 9.9% and 6.6% to the four before it. The remaining 13.2% is spread over all the older closes.

An old close never leaves an EMA completely. Its weight shrinks with every new candle. For that reason an EMA has no sudden jump when an extreme close ages out of the window, which a simple average does.

Differences between platforms

Platforms do not all start an EMA in the same way, and they load different amounts of history. On a chart with few candles, two platforms can show slightly different values for the same EMA. With plenty of history loaded, several times the period, the difference fades to nothing that matters.

Key points

  • An EMA gives recent closes more weight. Its multiplier is 2 ÷ (period + 1).
  • EMA = close × multiplier + previous EMA × (1 − multiplier).
  • In a 5-period EMA the latest close has 33.3% of the weight, and 13.2% rests on closes more than five periods old.
  • An EMA reacts sooner than an SMA and never drops a close completely.

مراجعة سريعة

لا تُحتسب هذه الأسئلة في نتيجة الاختبار القصير.

1. What is the multiplier of a 10-period EMA?
2. A 5-period EMA stands at 1.09652 and the next close is 1.0954. What is the new EMA?

Common mistakes

  • Thinking a 10-period EMA looks at only ten closes. Every earlier close still has a small weight.
  • Comparing EMA values on a chart with little history. The starting value has not yet faded, so the numbers are unreliable.
  • Assuming that faster is better. A faster average follows the price more closely, including the moves that do not last.

Another example

A 9-period EMA has a multiplier of 2 ÷ 10, which is 0.2. Suppose the EMA on GBP/USD stood at 1.2700 yesterday and today’s close is 1.2760, a gap of 60 pips. The new EMA is 1.2760 × 0.2 + 1.2700 × 0.8, which is 1.2712. It has closed one fifth of the gap, 12 pips. If tomorrow also closes at 1.2760, the EMA moves a fifth of the remaining 48 pips and reaches 1.2722.

Questions people ask

How do you calculate an exponential moving average?

Work out the multiplier, which is 2 divided by the period plus 1. Multiply the latest close by it, multiply yesterday’s EMA by 1 minus the multiplier, and add the two. The first value is usually taken as the simple average of the first closes.

Why does my EMA differ from another platform’s?

The two platforms have probably started the calculation in different places. An EMA depends on its starting value and on how much history is loaded, and the effect of the start takes many candles to fade. Different closing times for daily candles add a further small difference.

Does an EMA ever forget old prices?

Not entirely. Each close keeps some weight for ever, but the weight shrinks by a fixed proportion with every new candle. In a 5-period EMA, closes more than five periods old share about 13% of the weight, and closes more than ten periods old share under 2%.

What is the difference between an EMA and a weighted moving average?

Both give recent closes more weight. A weighted moving average uses a fixed window, with weights that step down evenly from the newest close to the oldest and then stop. An EMA lets the weights fall away by a constant proportion and never cuts them off.

التاليSMA or EMA: which to use

الدروس مجانية للقراءة دون حساب. سجّل الدخول وسيتذكر PipCircle أين توقفت ويحفظ نتائجك ويمنحك شاراتك. سجّل الدخول مجانًا

Trading foreign exchange and CFDs carries a high risk of losing money. PipCircle Learn is education and is not investment advice.

SA flag

Showing PipCircle in العربية. Prefer another language?

We use cookies

Necessary cookies keep PipCircle working. Optional cookies (analytics, marketing, preferences) help us improve the product. You can change this any time from Settings → Privacy & Data. Read our Privacy Policy.