Skip to main content

Research method

Exponential smoothing: alpha, lag and the EMA family

Exponential smoothing keeps one running value and moves it a fixed fraction, alpha, toward each new close. One number sets both how smooth the line is and how late it turns. 182 readings in the TradersWeek archive use it, most often as a stage inside another indicator rather than as a line of its own.

Output
Research filter
Input
Any ordered series: closes, price changes, ranges or another indicator
Horizon
Set by alpha, usually quoted as a period N with α = 2 / (N + 1)
Best use
Damping noise inside a larger construction, where a stated alpha and seed keep the result reproducible

The archive describes how exponential smoothers are constructed, seeded and nested inside other indicators across 182 readings from the 1980s to the 2020s. TradersWeek has not attached its own reproducible backtest to this card, so nothing here is a performance claim.

  • The update is S = α × close + (1 − α) × previous S. With α = 2 / (N + 1) the weights have the same average age, (N − 1) / 2 bars, as an N-bar simple average.
  • A weight that decays by (1 − α) each bar halves after ln 0.5 / ln(1 − α) bars: about 6.9 bars for an EMA 20.
  • Wilder smoothing uses α = 1 / N, so a Wilder 14 behaves like an EMA 27; the same "14" means a slower line in RSI and ATR than in an EMA.
  • DEMA, TEMA and T3 combine repeated passes to cancel lag on a steady trend; the price is overshoot after a turn and a longer warm-up.
  • In the archive exponential smoothing sits most often beside moving averages (95 readings), trend filters (19), MACD and market breadth (17 each) and RSI (15).

The graph · 7

How the method is built, and where it has been read

Depends on

Read in the archive24 of 182 readings

1982Construct ARIMA forecasts from lag diagnosticsTime series and forecasting1984Matching average age across price filtersIndicators and filters1984Constructing TRIX from a cutoff to one shared alphaIndicators and filters1984Residual-impact construction of exponential smoothersIndicators and filters1987Constructing a cycle-scaled trend oscillatorIndicators and filters1988Indicator smoothing: lookback, weight, and scaleIndicators and filters1988Constructing moving averages: weights, smoothing and crossoversIndicators and filters1988Constructing simple and exponential moving averages as specified filtersIndicators and filters1988Cycle lead from staggered exponential averagesIndicators and filters1988Three-zone price channel from quadratic smoothingIndicators and filters1989Odd-lot short interest as a constructed breadth seriesMarket breadth1989Smoothing filters, cutoff, poles, and sample delayIndicators and filters1989A variable-sensitivity stochastic built on three-sigma boundsIndicators and filters1989Alpha-beta lag parameters versus moving-average windowsIndicators and filters1989Equal-weight zero-cross from smoothed spreadsIndicators and filters1989Evaluating public versus member short-sale breadthMarket breadth1989Constructing a weekly block-tick breadth z-scoreMarket breadth1989Evaluating smoothed free reserves and funds-discount spreadsIntermarket and spreads1989Lock smoothing inside each short-share before the breadth ratioMarket breadth1989Smoothed three-day futures filter for index option bouncesIndicators and filters1989Normalize advance-decline series for a common-scale comparisonMarket breadth1989Constructing a dual-rate advance-decline oscillatorMarket breadth1989Evaluating venue volume as a speculation-breadth signalMarket breadth1990Constructing fund cash and manager-preference filtersIndicators and filters

One constant, two effects

The moving average card covers the SMA against the EMA. This card is about the recursion itself. Exponential smoothing keeps a single value and on every bar moves it part of the way toward the new observation: S = α × x + (1 − α) × previous S, with α between 0 and 1. Unrolled, the newest observation weighs α, the one before α(1 − α), then α(1 − α)², and so on. No observation ever leaves the window; its weight only shrinks.

Traders quote a period instead of alpha. The usual mapping, α = 2 / (N + 1), is not arbitrary: it is the alpha whose weights have an average age of (N − 1) / 2 bars, the same as an N-bar simple average. Both lines then trail a steady trend by the same distance, which is what makes "EMA 20" and "SMA 20" comparable. For N = 20, α ≈ 0.095 and the average age is 9.5 bars.

A second way to read alpha is the half-life: the number of bars after which an observation keeps half its starting weight, ln 0.5 / ln(1 − α). For an EMA 20 that is about 6.9 bars. Smaller alpha means a smoother line, a longer half-life and a later turn; there is no setting that buys smoothness without lag.

Wilder, double and triple smoothing

Wilder smoothing uses α = 1 / N. It is the same recursion with a smaller constant, equivalent to an EMA of 2N − 1, so Wilder 14 is roughly an EMA 27 with an average age of 13 bars. RSI and ATR are built on it, which is why replacing it with a standard EMA of the same "14" speeds both up.

DEMA is 2 × EMA − EMA(EMA) and TEMA is 3 × EMA − 3 × EMA(EMA) + EMA(EMA(EMA)). On a straight-line trend the extra terms cancel the lag of a single pass, but when price turns the correction keeps pushing in the old direction, so the line overshoots before it bends back. T3 blends six passes with a volume factor to trade some of that overshoot for smoothness. TRIX goes the other way: it smooths three times on purpose and plots the one-bar change of the result, an oscillator with little noise and a lot of delay.

Adaptive smoothing lets alpha move with the market. KAMA raises it when price travels efficiently in one direction and lowers it when price chops; VIDYA scales it by the Chande momentum oscillator; McGinley Dynamic adjusts it to the speed of price relative to the line.

The pitfall: seed and warm-up

The recursion needs a first value. One platform starts from the first close, another from the SMA of the first N closes, and early values differ. The difference decays by (1 − α) per bar, so it fades, but slowly for a small alpha, and every extra pass extends the warm-up: a DEMA needs about 2N bars before it has a value, a TEMA about 3N. Comparing EMA levels across platforms, or across histories that start on different dates, is only fair well past that stretch.

Parameter set

The choices that change the smoother

alpha
Smoothing constant

Weight of the newest observation, usually written as a period N with α = 2 / (N + 1).

Default: α ≈ 0.095 (N = 20)A high alpha follows noise; a low one turns late. The same N means a different alpha under Wilder (1 / N).
passes
Number of passes

Single EMA, or two or three nested passes combined as DEMA, TEMA or T3, or read as a change in TRIX.

Default: One passLag-cancelling combinations overshoot after turns; plain nesting adds delay.
seed
Start value

How the first value is set: first observation or SMA of the first N.

Default: SMA of the first N closesEarly values depend on it; levels near the start of history are not comparable across platforms.
adaptive
Adaptive rule

Whether alpha stays fixed or moves with efficiency, volatility or momentum (KAMA, VIDYA, McGinley).

Default: FixedAn adaptive alpha adds its own parameters, and each one is another chance to fit history.

What 182 readings in the archive do with exponential smoothing

Exponential smoothing appears in 182 readings of the TradersWeek research archive: 23 from the 1980s, 93 from the 1990s, 31 from the 2000s, 32 from the 2010s and 3 from the 2020s. In 41 of them it is the main subject. Its most frequent companions are moving averages (95 readings), trend filters (19), MACD (17), market breadth (17), RSI (15), the stochastic oscillator and dominant-cycle work (10 each), and adaptive moving averages (9).

The readings where smoothing is the subject return to four themes:

  • Deriving alpha from a lookback. Several readings show why 2 / (N + 1) matches the average age of an N-bar simple average, and how a lag observed on a rising series gives the constant back.
  • Start-up and weight. The same constant sets how many bars the smoother needs to settle and how far it trails, and the "N-day" label describes a decay rate, not a window of N observations.
  • Double smoothing inside oscillators. Momentum, stochastic and signed-close series are smoothed twice in a row, numerator and denominator separately, before their ratio is taken.
  • Wilder against the standard EMA. Readings hold the RSI lookback fixed and swap only the smoother, mapping 1 / N and 2 / (N + 1) onto one scale.

Where it fits in a workflow

Treat a smoother as a stated filter: name the input, alpha, number of passes and seed together, and keep them fixed while you test the rule that uses the line. If you need less lag, compare a single EMA with DEMA or an adaptive line on the same history and look at the bars after turns, not only at the trend.

On the TradersWeek chart

The indicator list has EMA, Smoothed Moving Average (Wilder, α = 1 / N), Double EMA, Triple EMA, Zero-Lag EMA and Tillson T3 as overlays, the adaptive KAMA, VIDYA and McGinley Dynamic, and TRIX in a separate pane. All are in the free tier; the free plan shows 2 indicators on a chart at a time, Pro 10, Premium 20. The EMA uses α = 2 / (N + 1), default period 20, adjustable from 1 to 500, and is seeded with the SMA of the first N closes; DEMA and TEMA nest that same EMA. TRIX defaults to 18 and smooths the logarithm of the close three times, plotting 10,000 × the one-bar change. KAMA defaults to 10, 2 and 30 and starts from the close itself.

Not investment advice. Historical behaviour of an indicator does not guarantee future results.