Exponential moving average
Also called EMA, exponentially weighted moving average, EWMA
A moving average that gives recent prices more weight, using a smoothing factor of 2/(n+1). It reacts faster to new prices than a simple moving average of the same length, so it lags less.

On this page· 5 sections
An exponential moving average never quite forgets a price. Each new value takes a fixed share of the latest close and keeps the rest from the previous average, so old prices fade out gradually instead of dropping out on a set day[3][5].
That is the point of it. Giving recent data more weight is meant to reduce the lag of a moving average, so an EMA turns sooner than a simple moving average (SMA) of the same length[3][4].
How it works
Two lines define it[3]:
- multiplier = 2 ÷ (n + 1)
- EMA = (close − previous EMA) × multiplier + previous EMA
For 10 periods the multiplier is 2 ÷ 11, about 18.18%. For 20 periods it is 2 ÷ 21, about 9.52%[3].
Statisticians call the method single exponential smoothing, and the multiplier the smoothing constant. The weight on each older price is the multiplier times (1 − multiplier) raised to that price’s age, so the weights shrink geometrically[5]. On a 10-period EMA the latest close carries 18.18% of the weight, the one before it 14.88%, then 12.17% and 9.96%.
Because every past close keeps some weight, the starting point matters. The first EMA is usually seeded with an SMA, and StockCharts notes that a reasonably accurate 10-day EMA needs far more than 10 days of data[3]. NIST makes the same point from the other side: the smaller the smoothing constant, the more the initial value matters[5].
Traders use EMAs alone, as a line for price to cross, and in pairs. A common rule in technicians’ textbooks goes long when a short EMA rises above a long one and short when it falls below[1].
Example
Say a stock index has closed at 5,000 for weeks, so its 10-period EMA and its 10-period SMA both read 5,000. Then it jumps to 5,100 and stays there.
- Bar 1: EMA = (5,100 − 5,000) × 2/11 + 5,000 = 5,018.18. The SMA swaps one 5,000 for 5,100 and reads 5,010.
- Bar 3: EMA 5,045.23, SMA 5,030.
- Bar 7: EMA 5,075.46, SMA 5,070. The EMA is still ahead.
- Bar 8: EMA 5,079.92, SMA 5,080. The SMA is now ahead.
- Bar 10: the SMA holds ten closes at 5,100 and reads 5,100. The EMA reads 5,086.56, because about 13.4% of its weight still rests on closes older than ten bars.
The EMA moves first; the SMA finishes first.
Watch out
Different weighting does not remove the costs of averaging. A CFA Institute Research Foundation review notes that delayed signals, short-lived false signals and trading costs trouble moving averages however they are calculated[2].
Two charts can show different EMA values for the same market if they start the calculation at different points[3][5].
Simple rules built on moving averages have a fading record. Neely and Weller found that the excess returns once earned by simple moving-average rules in currency markets had disappeared by the early 1990s[1].
Sources
- Central bankFederal Reserve Bank of St. LouisTechnical Analysis in the Foreign Exchange Market (Working Paper 2011-001B, Neely & Weller)Checked November 9, 2026
- Professional bodyCFA Institute Research FoundationTechnical Analysis: Modern Perspectives (Literature Review; Scott, Carr & Cremonie, 2016)Checked November 9, 2026
- ReferenceStockCharts ChartSchoolMoving Averages - Simple and ExponentialChecked November 9, 2026
- ReferenceStockCharts ChartSchoolGlossary - EChecked November 9, 2026
- StandardNIST/SEMATECH e-Handbook of Statistical Methods6.4.3.1. Single Exponential SmoothingChecked November 9, 2026
