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.
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.
- McClellan Oscillator = EMA(19, net advances) − EMA(39, net advances).
- Net advances = advancing issues − declining issues for a given day, the same raw input the advance/decline line is built from.
- McClellan Summation Index = running cumulative sum of the oscillator's daily values, starting from a chosen initialization value.
- EMA initialization and Summation Index starting values are conventions, not universal constants. This is the main reason values differ across providers.
- This is a momentum measure to describe breadth conditions, not a standardized buy/sell signal or a threshold to trade against.
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 Investment'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 Investment'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
| Misconception | Reality |
|---|---|
| A McClellan Oscillator or Summation Index reading is a standardized value, comparable across any source | EMA 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 signal | The 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 thing | The 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 meaningful | The 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
- The McClellan Oscillator and Summation Index describe breadth momentum; they are not standardized trading signals, and no specific level or zero-line cross should be treated as an automatic buy or sell instruction.
- Absolute readings are not comparable across data providers due to differing universe definitions, EMA initialization conventions, and Summation Index starting values, compare a single provider's readings over time to itself, not against a different provider's numbers for the same date.
- Both measures require a meaningful lookback (at minimum 39 observations for the oscillator) before producing any output, and early readings are still influenced by how the underlying EMAs were seeded.
- Like any breadth measure, these indicators depend on accurate, consistently reported advance/decline data for the chosen universe; gaps or revisions in that underlying data propagate into both the oscillator and the Summation Index.
- The worked example on this page uses an illustrative, synthetic net-advances series chosen to demonstrate the formulas clearly. It is not a specific historical date's data.
Two Providers, Two Different Numbers, Both Correct
Unlike a percentage or a ratio, neither of these values is standardised. The oscillator depends on how the exponential averages were initialised, and the summation index additionally depends on the arbitrary value it started accumulating from. Two providers can calculate both correctly and publish different numbers for the same date, which means a reading quoted from one source cannot be checked against a threshold learned from another.
The practical rule that follows is to compare a provider series against itself over time and never against a different provider figures. Direction, shape and the size of a move within one consistent series carry information; the absolute level travels badly.
The relationship between the two measures is worth keeping straight. The oscillator is a fast-minus-slow comparison of breadth momentum, so it swings; the summation index accumulates those swings into a slower line, which trends. They are the same underlying data at two different speeds, and reading a summation index turn as though it were an oscillator signal misjudges how long it takes to happen.
Both also need a meaningful history before they mean anything. The oscillator requires at least the longer lookback before producing output at all, and the earliest readings still carry the influence of how the averages were seeded, which is another reason a fresh series should not be compared to an established one.
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.
What is the ratio-adjusted McClellan Oscillator?
A variant that divides net advances by the total of advances plus declines before smoothing, rather than feeding the raw net into the exponential averages. Because the raw net scales with how many issues are listed, unadjusted readings from different eras are not comparable. The ratio-adjusted form removes that dependence, at the cost of producing values on a completely different scale from the original.
Can the Summation Index rise while the oscillator is negative?
No, and this follows directly from the construction. The Summation Index is a running total of oscillator values, so it rises exactly on the days the oscillator is positive and falls on the days it is negative. A chart appearing to show otherwise is either plotting a smoothed Summation Index or using two different oscillator settings for the two panels.
What does a Summation Index crossing zero represent?
That the cumulative sum of oscillator readings since the series began has moved from one side of its starting value to the other. Because it is a running total, the crossing is slow and depends on the seed value the provider chose, which is why the zero line on one provider chart does not correspond to the zero line on another.
Is there a volume version of the McClellan Oscillator?
Yes. The McClellan Volume Oscillator applies the same double exponential structure to the difference between up volume and down volume rather than to the difference between advancing and declining issue counts. It responds to where trading concentrated rather than to how many issues moved, so it can diverge from the issue-count version on days when activity was lopsided.
Which universe should these measures be computed on?
The traditional construction uses New York Stock Exchange data, and common-stock-only variants exist to exclude non-operating-company listings. Versions built on other exchanges or on a specific index behave differently, particularly where the listing composition differs. Published reference levels were established against a specific universe and do not transfer to another one unchanged.
How does the oscillator differ from simply charting net advances?
Charting net advances shows the daily level, which is noisy and carries no memory. Taking the difference between a faster and a slower exponential average of that series removes the level and leaves the rate of change of breadth, producing a series that oscillates around zero. The two charts of the same underlying data look almost nothing alike.
References
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. Key reference sources include:
- CMT Association, Technical Analysis Body of Knowledge and Research: cmtassociation.org: professional body of knowledge covering breadth-momentum oscillators including the McClellan Oscillator.
- NYSE, Historical Market Data: nyse.com/market-data/historical: exchange-level advance/decline data this oscillator's inputs are built from.
- Nasdaq, Market Activity: nasdaq.com/market-activity: issue-level advancing/declining reporting for a comparable universe.
The exponential moving average and cumulative-sum formulas on this page match the calculation implemented in Swoopr Investment'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.