allorca

Exponential moving average (EMA)

A moving average that counts recent prices more heavily than older ones, so it reacts sooner than a simple moving average of the same length.

An exponential moving average updates by moving a set fraction of the way from its previous value towards each new closing price. A common convention sets that fraction at 2 divided by one more than the number of days, so a 9-day EMA moves a fifth of the way each day. Older prices never fully drop out, but their weight shrinks every day. It matters because charting tools often offer both kinds of average, and the same number of days can give noticeably different lines. Leaning on recent prices, the EMA tends to change direction sooner than a simple average of the same length. The common misunderstanding is that faster means better. Reacting sooner also means reacting to more noise (brief wobbles), so an EMA can give more signals that quickly reverse. It still lags too: in a steady climb, a 20-day EMA trails the price by about as much as a 20-day simple average does.

Example

Made-up numbers: a 9-day EMA uses a fraction of 0.2. Yesterday it stood at $50, and today the share closes at $55. The EMA moves a fifth of the $5 gap, to $51. If the next close is $55 again, it moves a fifth of the remaining $4 gap, to $51.80.

Related

This term appears in Allorca’s free lessons. Start learning.