Exponential Moving Average (EMA)
Technical Analysis
An exponential moving average weights recent prices more heavily than a simple moving average, so it reacts faster to new price changes.

What is an EMA?
An exponential moving average (EMA) is a type of moving average that gives greater weighting to more recent price data than to older data. This makes the EMA respond more quickly to new price changes than a simple moving average (SMA), which treats every period in its lookback equally.
How it’s calculated
The EMA is calculated recursively using a smoothing multiplier:
- Multiplier = 2 ÷ (N + 1), where N is the chosen period (for example, 12 or 26).
- The first EMA value typically starts from a simple moving average of the initial N periods.
- Each subsequent EMA = (Current close − Previous EMA) × Multiplier + Previous EMA.
The shorter the period N, the larger the multiplier, and the faster the EMA reacts to fresh price moves. A 12-period EMA, for instance, reacts noticeably faster than a 50-period EMA.
Example
Common EMA settings include the 12-period and 26-period EMAs, which form the basis of the MACD indicator, and the 21-period or 50-period EMA, often used by trend-following traders as a dynamic support/resistance line. If USD/CAD keeps pulling back to its rising 21-period EMA and bouncing, traders following that EMA might treat it as a recurring buy-the-dip zone within the broader uptrend.
EMA vs. SMA
Because it reacts faster, the EMA is often preferred by shorter-term traders who want earlier signals of a trend shift, at the cost of more false signals during choppy, sideways markets. The SMA’s slower, smoother line is often preferred for gauging the bigger-picture trend, where fewer whipsaws are more useful than speed.
Why it matters
EMAs are a building block for several other widely used tools, most notably the MACD, which is the difference between a 12-period and 26-period EMA. Understanding how an EMA weights recent price action helps traders choose the right moving average for their trading style — but like all moving averages, the EMA is a lagging indicator based on past prices and offers no guarantee about future direction.
Related terms
See also moving average, trend, and MACD.
