Direct Answer
The McClellan Oscillator is a market breadth indicator equal to the difference between a 19-day exponential moving average (EMA) and a 39-day EMA of Net Advances (advancing issues minus declining issues) on an exchange or index. Positive readings indicate short-term breadth momentum is running hotter than the longer-term trend, generally read as bullish; negative readings indicate the opposite. It is derived from the same advance-decline data as the advance-decline line but is built to highlight shorter-term shifts in participation rather than a long cumulative trend.
Key Takeaways
- The McClellan Oscillator measures market breadth momentum, not price momentum for a single security.
- It is calculated from Net Advances: the number of advancing issues minus the number of declining issues each day.
- Formula: McClellan Oscillator = 19-day EMA of Net Advances − 39-day EMA of Net Advances.
- It was developed by Sherman and Marian McClellan in the late 1960s.
- A positive value suggests breadth momentum is accelerating; a negative value suggests it is decelerating.
- Divergences between the oscillator and a major index are commonly cited as a sign of narrowing participation.
- It is typically applied at the index or exchange level (e.g., NYSE- or Nasdaq-wide breadth), not to individual stocks.
- It is one of several breadth tools, alongside the advance-decline line and the McClellan Summation Index.
What Is the McClellan Oscillator?
Most technical indicators are built from a single security's own price history. The McClellan Oscillator instead measures the internal health of a broader market by counting how many stocks are advancing versus declining on a given day across an exchange or index. That distinction matters: an index can rise even when the gains are concentrated in a small handful of large stocks, while the majority of individual issues quietly decline. Breadth indicators like the McClellan Oscillator are built to surface that kind of divergence between headline index performance and the participation underneath it.
The building block is Net Advances, the number of advancing issues minus the number of declining issues on a trading day. A running total of Net Advances produces the advance-decline line, a long-term breadth trend indicator. The McClellan Oscillator instead smooths Net Advances with two exponential moving averages of different lengths and takes their difference, converting the raw daily data into a momentum-style oscillator that reacts faster to shorter-term shifts in participation.
McClellan Oscillator Formula and Calculation
The calculation proceeds in two steps:
- Net Advances = Advancing Issues − Declining Issues (calculated each trading day for the exchange or index being measured).
- McClellan Oscillator = 19-day EMA of Net Advances − 39-day EMA of Net Advances.
The 19-day and 39-day lengths are commonly described as approximating 10% and 5% trend constants used in the indicator's original formulation. Because both EMAs are derived from the same Net Advances series, the oscillator behaves similarly to a moving average convergence/divergence (MACD) line, but built on breadth data instead of price data: it rises when short-term breadth momentum outpaces the longer-term trend, and falls when the reverse is true.
A Hypothetical Walkthrough
Consider a hypothetical illustration, not real market data. Suppose on a given trading day, a hypothetical index has 1,800 advancing issues and 1,200 declining issues. Net Advances for that day is 1,800 − 1,200 = 600. Over the following weeks, suppose the 19-day EMA of Net Advances settles around +250 while the 39-day EMA of Net Advances settles around +90. The McClellan Oscillator would read approximately +250 − (+90) = +160, a positive value suggesting that recent breadth momentum is running stronger than the longer-term breadth trend.
Now suppose, in a separate hypothetical scenario, the index grinds to a marginal new closing high while advancing issues shrink relative to declining issues on most days that week. If the 19-day EMA of Net Advances falls to around +40 while the 39-day EMA remains near +90, the oscillator would read approximately +40 − (+90) = −50, a negative reading even as the index itself sits at a new high. That mismatch is the kind of breadth divergence traders watch for: price strength unconfirmed by the number of issues actually participating.
Why Market Breadth Momentum Matters
An index's headline level can mask what is happening underneath it. When gains are broad-based, with a large share of issues advancing alongside the index, that participation is often read as a sign of a healthier, more durable trend. When gains narrow to a shrinking group of issues while the index still grinds higher, some traders treat that as a warning sign that the move is becoming more fragile. The McClellan Oscillator gives that participation question a momentum reading: it rises and falls based on whether breadth is strengthening or weakening relative to its own recent trend, independent of what the headline index price is doing.
Traders commonly use it in a few ways: watching for the oscillator to cross above or below zero as a shift in short-term breadth momentum, watching for divergence between the oscillator and index price as a caution signal, and watching for unusually extreme positive or negative readings as a rough gauge of overbought or oversold breadth conditions. As with any single indicator, none of these uses are treated as a standalone trading signal in isolation.
Limitations and Common Mistakes
- Treating a zero-line cross as a trade signal on its own. Crosses above or below zero are common and can whipsaw; many traders look for additional confirmation before acting.
- Ignoring what universe the breadth data covers. The oscillator's reading depends entirely on which exchange or index's advance-decline data feeds it, NYSE-wide breadth and a narrow sector index will not read the same way.
- Assuming divergence guarantees a reversal. Like other divergence signals, a breadth divergence can persist for a long stretch, or resolve without any meaningful price reversal at all.
- Overlooking data-quality issues. Advance-decline counts can be distorted by large numbers of non-operating-company or fixed-income listings on some exchanges, which some breadth practitioners adjust for.
- Comparing raw oscillator values across very different time periods. What counts as an "extreme" reading can shift as the total number of listed issues on an exchange changes over time.
What Is Actually in the Advance/Decline Count
Everything this oscillator reports comes from one input: the daily count of advancing issues minus declining issues. That makes the composition of the underlying universe a substantive question rather than a footnote. Some exchange-wide counts include a large number of listings that are not operating companies, and a breadth reading partly driven by those instruments is describing something different from participation among businesses.
The universe also determines whether the reading means what you think. Exchange-wide breadth and the breadth of a narrow sector index produce different oscillator values, and a threshold learned from one does not transfer to the other. Whoever reports a reading should say which dataset produced it.
On interpretation, the zero-line cross is the most over-read event on the chart. Crosses are frequent, they whipsaw, and by construction they mark the moment a fast average of breadth passed a slow one rather than a change in market direction. Most descriptions of the indicator ask for something further before acting.
Divergence against a major index gets similar treatment. It is a real observation about narrowing participation and it carries no timing, since these disagreements can persist for a long stretch or resolve without any meaningful reversal in price at all.
Frequently Asked Questions
What is the McClellan Oscillator?
The McClellan Oscillator is a market breadth indicator calculated as the difference between a 19-day exponential moving average and a 39-day exponential moving average of Net Advances (advancing issues minus declining issues) on an exchange or index. It measures whether breadth momentum is accelerating or decelerating.
How is the McClellan Oscillator calculated?
First, calculate daily Net Advances as the number of advancing issues minus the number of declining issues. Then compute a 19-day EMA and a 39-day EMA of that Net Advances series. The McClellan Oscillator equals the 19-day EMA minus the 39-day EMA.
What does a positive or negative McClellan Oscillator mean?
A positive reading means short-term breadth momentum (advancing minus declining issues) is stronger than the longer-term trend, generally associated with bullish breadth conditions. A negative reading means short-term breadth momentum is weaker than the longer-term trend, generally associated with bearish breadth conditions. Extreme readings are sometimes discussed as overbought or oversold.
How is the McClellan Oscillator different from the advance-decline line?
The advance-decline line is a running cumulative total of daily Net Advances and reflects the long-term trend of market participation. The McClellan Oscillator is derived from the same underlying Net Advances data but converts it into a bounded-feeling momentum reading using two EMAs, making it more useful for spotting shorter-term shifts and divergences than the raw cumulative line.
Can the McClellan Oscillator diverge from price?
Yes. If a major index makes a new high while the McClellan Oscillator fails to reach a correspondingly strong positive reading, some traders view that as a sign that fewer issues are participating in the advance, a form of breadth divergence. As with other divergence signals, it indicates weakening internal participation, not a guaranteed reversal.
Why does the McClellan Oscillator use exponential rather than simple averages?
An exponential average weights recent observations more heavily and never fully discards an old one, so it responds faster to a change in breadth and does not step when a large value drops out of a fixed window. A simple-average version of the same construction produces artefacts at the point old data leaves the lookback, which is exactly what the exponential form avoids.
What is the significance of the 19 and 39 day settings?
They are the periods Sherman and Marian McClellan published, chosen so that the slower average is roughly twice the length of the faster one. That fast-minus-slow structure is the same idea a MACD applies to price, here applied to net advances instead. The specific numbers are the authors convention rather than an optimised result, and changing them changes the series.
Are there fixed overbought and oversold levels on the McClellan Oscillator?
Commentators quote reference bands, but they are not portable. The scale of the unadjusted oscillator depends on how many issues the universe contains, so a level that was extreme on a smaller listed universe is ordinary on a larger one, and the ratio-adjusted variant reads on a completely different scale again. Levels have to be established against the specific series being used.
Can the McClellan Oscillator be computed intraday?
It requires intraday advancing and declining issue counts, which are available on most professional feeds, so the calculation is possible. What does not carry over is the parameter choice: 19 and 39 periods of intraday bars cover a very different span than 19 and 39 sessions, and the published behaviour of the indicator was established on daily data.
References
Disclaimer
This page is for educational purposes only and does not constitute investment, financial, or trading advice. Breadth indicators like the McClellan Oscillator reflect historical market participation data and do not guarantee future results. Any figures or scenarios on this page are illustrative and hypothetical, not live or historical market data. Swoopr Investment is not a licensed investment advisor; consult a qualified professional before making investment decisions.