Looking Beyond Price Trends With the McClellan Oscillator

The oscillator exposes whether market strength reflects broad-based buying or narrow leadership, a distinction that often determines whether rallies continue or reverse.

Wayne Thorp leads a class in AAII's new Essential Investing Video Course. Go to https://www.aaii.com/ves for more information and to subscribe.

  • Explanation of the McClellan Oscillator, its calculation and how it measures market participation beyond price indexes
  • Interpretation of signals including positive/negative territory, divergences, breadth thrusts and historical extreme readings
  • Practical strategies for applying oscillator analysis, avoiding common mistakes and adapting to modern market structure

The most expensive mistake individual investors make isn’t picking the wrong stocks; it’s misreading market conditions. As market concentration reached extreme levels in 2024—with just seven mega-cap stocks driving the entire S&P 500 index higher while the average stock declined—many investors continued buying aggressively despite narrowing market participation. A 55-year-old breadth indicator could have warned them.

The McClellan Oscillator, developed by Sherman and Marian McClellan in 1969, measures market participation beyond what price indexes reveal. While the S&P 500 can rise on the strength of its largest components, the oscillator exposes whether that strength reflects broad-based buying or narrow leadership. This distinction often determines whether rallies continue or reverse.

The oscillator calculates the difference between 19-day and 39-day exponential moving averages (EMAs) of net advancing issues (advancing stocks minus declining stocks). EMAs weight recent data more heavily than simple averages, making the indicator more responsive to changing conditions.

Modern implementations use ratio-adjusted calculations to account for the changing number of listed securities. The formula produces oscillating values around zero. Positive readings indicate that recent market breadth exceeds the longer-term average, meaning more stocks are participating in market moves. Negative readings suggest deteriorating participation, often preceding broader market weakness even when major indexes continue rising.

Calculating the McClellan Oscillator

The oscillator consists of several components that work together to create a sensitive measure of market momentum.

A crucial limitation of raw advance/decline data is that the total number of stocks trading on exchanges changes over time. The New York Stock Exchange (NYSE) has grown from around 2,000 issues in 1990 to over 3,500 in 2000, settling at roughly 2,800 today. The first component adjusts for this limitation:

  • Ratio-adjusted net advances (RANA), calculated as (advancing issues – declining issues) ÷ (advancing issues + declining issues)

By using ratio-adjusted figures, we can compare McClellan Oscillator values across extended periods. Those oscillators are:

  • The 19-day EMA of RANA, calculated as [(current day’s RANA – prior day’s EMA) × 0.10] + prior day’s EMA, and
  • The 39-day EMA of RANA, calculated as [(current day’s RANA – prior day’s EMA) × 0.05] + prior day’s EMA.

EMAs reduce lag compared to simple moving averages by applying more weight to recent data. The weighting multiplier equals [2 ÷ (time periods + 1)]. For the 19-day EMA, this produces a multiplier of 10%: 2 ÷ (19 + 1) = 0.10.

With weighting applied, the McClellan Oscillator is calculated as:

  • (19-day EMA of RANA – 39-day EMA of RANA) × 1,000

The final calculation subtracts the longer-period average from the shorter-period average and multiplies by 1,000 to eliminate decimals.

Working Through a Practical Example

Consider NYSE data from a volatile period. On a day when 1,847 issues advanced and 1,331 declined, the raw net advances is +516. However, applying the RANA calculation results in:

= (1,847 – 1,331) ÷ (1,847 + 1,331)
= 516 ÷ 3,178
= 0.162, or 16.2%

This means that, on that trading day, net advancing issues represented 16.2% of all NYSE stocks that either advanced or declined. Without additional context, the raw net advances value of +516 is meaningless.

This RANA figure feeds into both EMAs. If the previous day’s 19-day EMA was 0.140, the new 19-day EMA becomes 0.142: [(0.162 – 0.140) × 0.10] + 0.140. A similar calculation updates the 39-day EMA.

The final oscillator reading equals +7: (0.142 – 0.135) × 1,000. This indicates modest positive momentum in market breadth.

Interpreting Oscillator Signals

The McClellan Oscillator is sometimes described as the moving average convergence/divergence (MACD) of the Advance/Decline (A/D) line, which accurately captures its function. Like MACD, it identifies momentum changes through the interaction of two moving averages.

Positive Versus Negative Territory

The oscillator moves between positive and negative territory based on crossovers between the 19-day and 39-day EMAs. Positive readings indicate that recent breadth exceeds the longer-term average, while negative readings suggest deteriorating participation.

Extended periods in positive territory typically correspond with strong uptrends in the underlying index. Conversely, sustained negative readings often accompany significant downtrends. However, the oscillator can be quite volatile due to its EMA construction, which responds quickly to individual data points.

Overbought and Oversold Conditions

Like many momentum oscillators, the McClellan Oscillator indicates possible overbought conditions when reaching the +70 to +100 range and possible oversold conditions in the –70 to –100 range. These traditional thresholds have expanded somewhat in more recent periods, with extreme readings now often reaching ±150 or beyond during periods of intense market stress.

Divergence Analysis

Divergences represent the McClellan Oscillator’s most powerful application. A divergence occurs when the indicator moves in one direction while the index moves in the opposite direction.

Bearish Divergences

Bearish divergences develop when the indicator makes lower highs while prices make higher highs. Think of this as the market putting on a brave face while losing stamina underneath.

A clear example unfolded during February and March 2024. The S&P 500 kept climbing to new highs week after week, which is exactly what you’d want to see in a bull market. But beneath the surface, something concerning was happening: The McClellan Oscillator (based on NYSE data) was making progressively lower peaks. Each time the S&P 500 hit a new high, fewer NYSE-listed stocks were participating in the advance.

Here’s how to spot this pattern: Draw an imaginary line connecting the oscillator’s recent peaks. If that line slopes downward while the price index continues to rise, you’re seeing a bearish divergence develop. It’s like watching a runner who keeps moving forward but is clearly getting tired; eventually, they’ll have to slow down.

The divergence in early 2024 was confirmed when the oscillator moved into negative territory in March 2024, signaling that broad NYSE participation had turned negative despite the S&P 500’s strength. This warned that the rally was running on fumes. Sure enough, the broader market subsequently weakened as the narrow leadership became unsustainable.

The key insight is that when fewer and fewer stocks participate in market advances, those advances become vulnerable. The McClellan Oscillator reveals this weakness before it becomes obvious in price action.

Bullish Divergences

Bullish divergences occur when the indicator makes higher lows while prices mark lower lows. In August 2023, the NYSE Composite started a pronounced downtrend, but the McClellan Oscillator began making higher lows. This bullish convergence was confirmed when the oscillator moved into positive territory in early September, followed by the NYSE Composite gaining over 4% in less than three weeks.

The key to successful divergence analysis lies in patience and confirmation. Patterns are much easier to identify after the fact than while they are developing. Avoid identifying patterns where none truly exist, and wait for confirmation before acting on apparent divergences.

Breadth Thrusts

A breadth thrust occurs when the McClellan Oscillator moves rapidly from extreme negative readings to strong positive readings. Most analysts look for at least a 100-point move that starts below –50 and rises above +50. Such moves indicate powerful shifts from selling exhaustion to broad-based buying. They sometimes mark the beginning of prolonged advances.

Breadth thrusts gain additional significance when preceded by bullish divergences. In the NYSE example from August through September 2023, bullish divergence developed before a breadth thrust from –100 to +55 (+155 total move) confirmed the reversal. This combination of divergence followed by thrust provided high-confidence entry signals.

The rarity of true breadth thrusts adds to their significance. During May 2024, markets experienced one of the most powerful breadth thrusts in decades, with the McClellan Oscillator surging from deeply oversold levels to strongly overbought readings in just a few trading sessions. Historical analysis shows that similar patterns occurred only 21 times since 1940, with 20 instances followed by significant market gains.

Extreme Readings and Their Lessons

Learning from past market extremes helps investors recognize similar opportunities and warnings. The McClellan Oscillator’s extreme readings have consistently coincided with major market turning points, providing valuable lessons for today’s investors.

March 2020: The Pandemic Panic

When markets crashed in March 2020, fear dominated headlines, but the McClellan Oscillator told a different story. As the S&P 500 fell 34% from its February peak, the oscillator plunged to –300—one of the most extreme oversold readings in its 55-year history.

Figure 1 shows the power of divergence analysis during the March 2020 crash. The bullish divergence provided an early warning that selling pressure was exhausting, giving investors objective evidence to consider adding positions near the market bottom.

Figure 1

Extreme McClellan Oscillator Preceding 2020 Market Rebound

Though the S&P 500 index continued making lower lows through March 23, 2020 (red dashed trend line), the McClellan Oscillator made higher lows after its March 12, 2020, extreme of –138.6 (green dashed trend line).

Figure 1 Extreme McClellan Oscillator Preceding 2020 Market Rebound  Though the S&P 500 index continued making lower lows through March 23, 2020 (red dashed trend line), the McClellan Oscillator made higher lows after its March 12, 2020, extreme of –138.6 (green dashed trend line).

Source: QuoteMedia; chart generated by Claude.ai.

This wasn’t just another market decline; it was panic- selling. When the oscillator reaches such extreme levels, it signals that selling has become exhausted and indiscriminate. Smart investors who recognized this pattern and began buying in late March—when everyone else was paralyzed by fear—captured the entire recovery that followed. The lesson is: Extreme fear often creates the best buying opportunities.

October 2008: The Financial Crisis Drop

The Lehman Brothers collapse sent shockwaves through global markets. The McClellan Oscillator hit –400 in October 2008—the most extreme reading ever recorded. While this seemed terrifying at the time, it actually marked the final capitulation that preceded the bear market.

Investors who understood that such extreme readings typically mark major bottoms positioned themselves for the 11-year bull market that followed. This real example offers a key insight: When everyone is selling and the oscillator reaches unprecedented extremes, contrarian positioning often pays off handsomely.

1999–2000: Dot-Com Euphoria Warning

The opposite extreme occurred during the dot-com bubble. Throughout 1999 and early 2000, the McClellan Oscillator frequently exceeded +150 as internet stocks soared. These extreme positive readings warned that too many investors had become euphoric—a dangerous sign.

While the oscillator couldn’t pinpoint the exact market top, it correctly warned that participation had reached unsustainable levels. Investors who heeded this warning and reduced exposure avoided much of the subsequent 78% decline in the Nasdaq Composite.

Pattern Recognition

These examples reveal a consistent pattern: Readings below –200 typically mark significant bottoms when fear reaches extreme levels, while sustained readings above +150 often warn of dangerous optimism. The timing varies, but the oscillator’s message about market participation extremes has remained reliable across different market environments.

Adapting to Modern Market Structure

Contemporary markets present unique challenges for breadth analysis that didn’t exist in 1969 when the McClellan Oscillator was developed. Algorithmic trading now accounts for over 70% of equity volume, creating rapid intraday breadth shifts that can generate false signals. The rise of passive investing, with approximately 60% of U.S. equity funds now passive, means that exchange-traded fund (ETF) flows can cause entire sectors to move in lockstep regardless of individual fundamentals.

These structural changes require adaptation rather than abandonment of breadth analysis. Professional analysts increasingly use longer time frames to filter algorithmic noise and combine breadth measures with other indicators for confirmation. Individual investors can adopt similar approaches by focusing on weekly rather than daily patterns and using the oscillator to assess market health rather than precise timing.

Tom McClellan, current editor of The McClellan Market Report and son of the oscillator’s inventors, acknowledges these challenges while maintaining the tool’s validity. “The McClellan Oscillator measures acceleration in breadth, not just direction,” noted McClellan on the McClellan Financial Publications site. “While market structure changes affect readings, breadth divergences remain valid warning signals when properly interpreted.”

Practical Implementation Strategies

Individual investors should approach McClellan Oscillator analysis as a risk management tool rather than a timing mechanism. Here is what the most effective applications involve.

  • Opportunity Recognition: Extreme oversold readings below –100, particularly during market panics, often provide excellent entry points for long-term positions. The March 2020 crash, October 2022 bear market low and March 2023 banking crisis all generated such opportunities.
  • Avoiding Common Traps: The oscillator helps prevent two costly investor mistakes—buying aggressively when markets appear strong but breadth is deteriorating (distribution phase), and selling in panic when extreme oversold conditions suggest selling exhaustion.

Common Mistakes to Avoid

Even experienced investors can misapply the McClellan Oscillator, leading to poor timing and unnecessary losses.

  • Overtrading Zero-Line Crosses: The most frequent mistake involves treating every move above or below zero as a trading signal. The oscillator can whipsaw around the zero line during sideways markets, generating numerous false signals. Focus instead on sustained moves that persist for several days.
  • Ignoring the Trend Context: Oscillator readings must be interpreted within the broader market context. A reading of –50 during a bull market correction carries different implications than the same reading during a bear market rally.
  • Expecting Perfect Timing: The oscillator identifies conditions and probabilities, not precise entry and exit points. Instead, use oscillator signals to adjust position sizes and risk levels gradually.
  • Relying Solely on the Oscillator: The McClellan Oscillator works best as part of a comprehensive analysis framework. Confirm signals with volume patterns, sector rotation analysis and fundamental market conditions.

No single technical indicator is infallible, and the McClellan Oscillator has specific limitations investors must understand. It measures market participation, not direction, and it can remain at extreme levels longer than expected during powerful trends. False signals occur, particularly during transitional periods when market structure changes rapidly.

Conclusion

The McClellan Oscillator’s 55-year track record demonstrates that market breadth analysis remains relevant despite significant changes in market structure. While algorithmic trading and passive investing create new interpretation challenges, the fundamental principle that sustainable moves require broad participation hasn’t changed.

Individual investors who master breadth analysis gain perspective unavailable from price charts alone. They can distinguish between healthy rallies supported by broad participation and vulnerable advances driven by narrow leadership. They can identify oversold conditions that create opportunities and avoid the common mistake of buying during distribution phases when smart money is selling.

The tool requires no complex software or advanced mathematics—just the discipline to monitor periodically and the wisdom to act on what it reveals. 

Discussion

ROBERT A from NC posted 10 months ago:

My comment to another article in this month's Journal is appropriate here: I join my fellow members in their dissatisfaction with what is happening to AAII. This has become a much different organization than the one I thought I was joining many years ago. More and more, it seems designed PRIMARILY to generate revenue (and maybe bigger paychecks for those involved in its management?). Recent articles seem to focus more and more on making investing appear esoteric and overly complex, so that members are encouraged to use the "premium services" offered by the high priests who understand it all. So many of those same articles seem intent on distracting investors from the simpler, more fundamental aspects that lead to long-term wealth and redirecting them to constructs used by short-term traders. This is sad to see.


BARRY J from TX posted 10 months ago:

I am going to miss Wayne’s educational market technical analysis articles. #1 He was the AAII champion for growth stocks at AAII. In the “factors” family, value and quality ratio analyses are only “elementary school pictures” of a student who does not know what he does not know, but MIGHT “graduate” someday and possibly learn enough to produce income later. #2 “Growth” stocks produce 80% of ALL market payoffs. #3 I want to understand the math behind the headlines. This is the only way “dumb money” IIs like me can understand how the other 80%-90% of market participants (“smart money”) are beating us “dumb money” to the trough -- aka known as the weak form of Fama’s “efficient market hypothesis.” #4 I don’t seek to “time” the market with Wayne’s formulas and the data they produce. I seek to know the elements of the “story” behind the headlines. Like a good reporter, I want to be informed of the facts behind the story --“what,” “who,” “how,” and “when” are driving market trends. I have all the opinions (“why”) I need. It’s the “rest of the story” I want to learn. #5 I keep a kosher (“diversified”) portfolio allocated toward growth using SPX-listed equities and ETFs. Even as a simpleton II, I still want to try to understand HOW I got “lucky” this time … so I can do it again. #6 Best of luck, Wayne. You helped me, and I know teaching me anything isn’t easy.


JOHN L from NJ posted 10 months ago:

While I wish Wayne the best of luck with his career; I won't miss these articles every month concerning well known market "indicators". Wayne sells this as educational; when in fact these are all market timing tools that don't help individuals out perform the market. What I want from the AAII is more financial planning and less how to beat the market articles. And I echo Robert A's dissatisfaction with the direction the AAII has taken recently. I did not join the AAII to be up sold "premium" newsletters on a regular basis!


JOHN L from NJ posted 10 months ago:

One potential reason for the AAII's recent focus on premium services and the partnership with BetterInvesting could be financial. According to ProPublica; in 2023 AAII Revenues $7.43 M, Expenses 7.52 M, Assets 1.86 M, and Liabilities $14.3 M. As a non profit the small loss is not a concern but technically with Liabilities of $14.3 M and Assets of only $1.86 M the AAII is bankrupt. The trends since 2014 are not encouraging: Assets have declined $8.07 M while Liabilities have only declined $4.0 M.


You need to log in as a registered AAII user before commenting.
Create an account

Log In

Get your free copy of our special report analyzing the tech stocks most likely to outperform the market.

Download the FREE Report Here: