Technical Analysis › Market Breadth

McClellan Oscillator and Summation Index: Breadth Momentum

Spot the edge. Swoop in.

The advance/decline line tells you the cumulative direction of breadth. The McClellan Oscillator and Summation Index add a momentum layer on top of it, built from two exponential moving averages of daily net advances. This guide walks through both formulas, a worked example showing how the oscillator reacts when net advances jump, and why McClellan values legitimately differ from one data provider to the next.

By Swoopr Editorial Team

Published · Updated

AI-assisted content · Swoopr is responsible for the final published article.

Key Takeaways

The McClellan Oscillator turns the raw advance/decline count into a momentum reading by comparing a fast and a slow exponential moving average of daily net advances, the same crossover logic used in price-based momentum indicators, applied to breadth data instead. The McClellan Summation Index takes that momentum reading and accumulates it into a slower, trend-following line. Neither value is standardized in the way a percentage or a ratio is — the exact number depends on choices like EMA initialization and the Summation Index's starting value, which is why the "same" reading can differ between providers even when both are calculating it correctly.

Direct answer: The McClellan Oscillator is a 19-period exponential moving average of daily net advances minus a 39-period exponential moving average of the same series — a fast-minus-slow breadth momentum measure. The McClellan Summation Index is the running cumulative sum of those oscillator values over time, turning the oscillator's day-to-day swings into a smoother, slower-moving trend line.

How Are the McClellan Oscillator and Summation Index Calculated?

Both indicators are built entirely from one input: the daily net-advances series (advancing issues minus declining issues), the same figure that produces the cumulative advance/decline line when summed without any smoothing.

McClellan Oscillator formula

McClellan Oscillator = 19-period EMA of net advances − 39-period EMA of net advances. Sherman and Marian McClellan developed the measure in the late 1960s by applying a fast-minus-slow exponential moving average crossover, the standard structure behind indicators like MACD, to breadth data instead of price. Because the 19-period EMA reacts to new data faster than the 39-period EMA, the oscillator swings positive when net advances accelerate and negative when they decelerate or reverse, well before a slower moving average would show the same shift.

EMA initialization — why the starting point matters

An exponential moving average needs a starting value before it can apply its smoothing constant to each new observation. One common, defensible convention — the one used in Swoopr's own calculation module — seeds the EMA from a simple average of the first N observations in the series, then applies the standard EMA smoothing constant (2 ÷ (period + 1)) from that point forward. Other data providers seed their EMAs differently (for example, starting directly from the first data point, or using a different lookback for the seed). The choice doesn't change the underlying formula, but it does shift the exact numeric output, especially in the early part of a series before the smoothing has had time to converge.

McClellan Summation Index formula

McClellan Summation Index = running cumulative sum of the oscillator's daily values, starting from a chosen initialization value. Swoopr's calculation module defaults that starting value to 0, which is one common convention; other providers commonly start from other baselines. Changing the starting value shifts the Summation Index's absolute level up or down by a constant amount, but it does not change its day-to-day shape — the slope and turning points of the line are identical regardless of where it started, since every subsequent value is the previous value plus the same oscillator input.

Worked Example: A Sudden Jump in Net Advances

Illustrative, deterministic numbers — not live market data.

Consider a 45-day net-advances series that stays flat at 20 net advances per day for the first 39 days, then jumps to a sustained net advance of 120 per day for the final 6 days. The oscillator requires 39 observations before its first value exists (the 39-period EMA needs that many inputs), so output begins right at the point of the jump.

Oscillator values for the final 6 days

Once the jump to 120/day begins, the oscillator's daily values (rounded to two decimals) are: 0, 5, 9.25, 12.84, 15.84, 18.33, 20.37 — seven values in total, since the oscillator's first available reading lands exactly on day 39, before the jump has had any effect, and the following six days capture the jump's impact.

Summation Index values, starting at 250

Accumulating those same seven oscillator values on top of an illustrative starting value of 250 produces: 250, 255, 264.25, 277.09, 292.93, 311.26, 331.63.

What this demonstrates

The oscillator turns positive almost immediately once net advances jump, because the faster 19-period EMA starts climbing toward the new, higher net-advances level right away, while the slower 39-period EMA is still weighted down by 39 days of the prior, flatter reading. That gap between the fast and slow EMA is exactly what the oscillator measures, and it's why it can register a momentum shift well before a single long moving average would. The Summation Index, meanwhile, simply adds each of those oscillator values on top of the last — it doesn't react as sharply as the oscillator itself, but it steadily climbs as long as the oscillator keeps printing positive values, turning a series of individually modest daily readings into a visibly rising trend line over the six days shown here.

Misconceptions Versus Reality

MisconceptionReality
A McClellan Oscillator or Summation Index reading is a standardized value, comparable across any sourceEMA initialization and Summation Index starting-value conventions differ by provider, so the exact numeric level is not directly comparable across sources even when both are calculated correctly
Crossing zero is an automatic buy or sell signalThe oscillator is a momentum measure describing the rate of change in breadth, not a standardized trading rule; treat a zero-line cross as a description of conditions, not an instruction
The Summation Index and the advance/decline line measure the same thingThe A/D line is a raw, unsmoothed cumulative sum of net advances; the Summation Index accumulates the already-smoothed oscillator, so the two can diverge noticeably even though both are cumulative measures
The McClellan Oscillator needs only a couple of days of data to be meaningfulThe oscillator has no output at all until the 39-period EMA has enough observations to exist, and readings shortly after that point are still influenced by the EMA's initialization

Risks, Limitations, and Exceptions

Frequently Asked Questions

What are the McClellan Oscillator and Summation Index?

The McClellan Oscillator is a breadth momentum measure built from daily net advances (advancing issues minus declining issues), calculated as a 19-period exponential moving average of net advances minus a 39-period exponential moving average of net advances. The McClellan Summation Index is the running cumulative sum of those daily oscillator values, turning the faster, noisier oscillator into a slower-moving trend line. Together they translate the day-to-day advance/decline count into a momentum reading rather than a single daily snapshot.

How is the McClellan Oscillator calculated?

First calculate daily net advances (advancers minus decliners) for each day in the series. Then compute two exponential moving averages of that net-advances series: a 19-period EMA and a 39-period EMA. The oscillator value for each day is the 19-period EMA minus the 39-period EMA — a fast-minus-slow moving-average crossover, the same style of calculation used for price-based momentum indicators, applied to breadth data instead of price. The oscillator only produces output once the 39-period EMA has enough observations to exist.

Why do McClellan values differ across websites?

Three sources of variation compound: the universe of issues used (all exchange-listed stocks, an index's constituents, or a narrower list differs by provider), the data vendor's own advance/decline counts, and the EMA initialization and Summation Index starting-value conventions each provider chooses. Seeding an EMA from a simple average of the first N observations is one defensible convention among several, and starting the Summation Index at 0, 1000, or another baseline shifts its absolute level without changing its day-to-day shape. None of these differences make one provider's numbers wrong; they simply reflect different starting assumptions applied to the same underlying formula.

Sources and Methodology

The McClellan Oscillator and Summation Index were developed by Sherman and Marian McClellan and are built from standard NYSE- and Nasdaq-style daily advance/decline counts for a defined exchange or index universe, consistent with conventions used across financial data vendors. The exponential moving average and cumulative-sum formulas on this page match the calculation implemented in Swoopr's own market-breadth module.

The worked example on this page uses an illustrative, synthetic net-advances series chosen to demonstrate the formulas clearly — it is not live or historical market data for any specific date.

This content was reviewed by the Swoopr Editorial Team in August 2026.

Related Reading