McClellan Oscillator: Definition, Uses, and What It Indicates

What Is the McClellan Oscillator?

The McClellan Oscillator is a market breadth indicator that is based on the difference between the number of advancing and declining issues on a stock exchange, such as the New York Stock Exchange (NYSE) or NASDAQ.

The indicator is used to show strong shifts in sentiment in the indexes, called breadth thrusts. It also helps in analyzing the strength of an index trend via divergence or confirmation.

McClellan Oscillator

Key Takeaways

  • The McClellan Oscillator formula can be applied to any stock exchange or group of stocks.
  • A reading above zero helps confirm a rise in the index, while readings below zero confirm a decline in the index.
  • When the index is rising but the oscillator is falling, that warns that the index could start declining too. When the index is falling and the oscillator is rising, that indicates the index could start rising soon. This is called divergence.
  • A significant change, such as moving 100 points or more, from a negative reading to a positive reading is called a breadth thrust. It may indicate a strong reversal from downtrend to uptrend is underway on the stock exchange.

The Formula for the McClellan Oscillator is

There are two formulas for the McClellan oscillator. The original formula, and one that adjusts for changes in the number of stocks listed on the stock exchange. The adjusted formula allows for a better comparison of values over longer periods of time.

McClellan Oscillator = ( 19-day EMA of Advances Declines ) ( 39-day EMA of Advances Declines ) 19-day EMA = ( Current Day Advances Declines ) 0.10 + Prior Day EMA 39-day EMA = ( Current Day Advances Declines ) 0.05 + Prior Day EMA Adj. McClellan Oscillator = ( 19-Day EMA of ANA ) ( 39-Day EMA of ANA ) Adj. Net Advances (ANA) = Advances Declines Advances + Declines 19-day EMA = ( Current Day ANA Prior Day EMA 0.10 + Prior Day EMA 39-day EMA = ( Current Day ANA Prior Day EMA ) 0.05 + Prior Day EMA \begin{aligned} \text{McClellan Oscillator} =& ( \text{19-day EMA of Advances} - \\ &\text{Declines} ) - ( \text{39-day EMA} \\ &\text{of Advances} - \text{Declines} ) \\ \text{19-day EMA} =& ( \text{Current Day Advances} - \\ &\text{Declines} ) * 0.10 + \\ &\text{Prior Day EMA} \\ \text{39-day EMA} =& ( \text{Current Day Advances} - \\ &\text{Declines} ) *0.05 + \\ &\text{Prior Day EMA} \\ \\ \text{Adj. McClellan Oscillator} =& ( \text{19-Day EMA of ANA} ) - \\ &( \text{39-Day EMA of ANA} ) \\ \text{Adj. Net Advances (ANA)} =& \frac{\text{Advances} - \text{Declines}}{\text{Advances} + \text{Declines}}\\ \text{19-day EMA} =& ( \text{Current Day ANA} - \\ &\text{Prior Day EMA} * 0.10 \\ &+ \text{Prior Day EMA} \\ \text{39-day EMA} =& ( \text{Current Day ANA} - \\ &\text{Prior Day EMA} ) * 0.05 \\ &+ \text{Prior Day EMA} \\ \end{aligned} McClellan Oscillator=19-day EMA=39-day EMA=Adj. McClellan Oscillator=Adj. Net Advances (ANA)=19-day EMA=39-day EMA=(19-day EMA of AdvancesDeclines)(39-day EMAof AdvancesDeclines)(Current Day AdvancesDeclines)0.10+Prior Day EMA(Current Day AdvancesDeclines)0.05+Prior Day EMA(19-Day EMA of ANA)(39-Day EMA of ANA)Advances+DeclinesAdvancesDeclines(Current Day ANAPrior Day EMA0.10+Prior Day EMA(Current Day ANAPrior Day EMA)0.05+Prior Day EMA

where: EMA = Exponential moving average Advances = Number of stocks trading above their previous day’s close Declines = Number of stocks trading below their previous day’s close \begin{aligned} &\textbf{where:} \\ &\text{EMA} = \text{Exponential moving average} \\ &\text{Advances} = \text{Number of stocks trading above their} \\ &\text{previous day's close} \\ &\text{Declines} = \text{Number of stocks trading below their} \\ &\text{previous day's close} \\ \end{aligned} where:EMA=Exponential moving averageAdvances=Number of stocks trading above theirprevious day’s closeDeclines=Number of stocks trading below theirprevious day’s close

How to Calculate the McClellan Oscillator

  1. To get the calculation started, track Advances - Declines on a stock exchange for 19 and 39 days. Calculate a simple average for these, not exponential moving average (EMA).
  2. Use these simple values as the Prior Day EMA values in the 19- and 39-day EMA formulas.
  3. Calculate the 19- and 39-day EMAs.
  4. Calculate the McClellan Oscillator value.
  5. Now that the value has been calculated, on the next calculation use this value for the Prior Day EMA. Start calculating EMAs for the formula instead of simple averages.
  6. If using the adjusted formula, the steps are the same, except use ANA instead of using Advances - Declines.

What Does the McClellan Oscillator Tell You?

The McClellan Oscillator is an indicator based on market breadth which technical analysts can use in conjunction with other technical tools to determine the overall state of the stock market and assess the strength of its current trend.

Since the indicator is based on all the stocks in an exchange, it is compared to the price movements of indexes that reflect that exchange, or compared to major indexes such as the S&P 500.

Positive and negative values indicate whether more stocks, on average, are advancing or declining. The indicator is positive when the 19-day EMA is above the 39-day EMA, and negative when the 19-day EMA is below the 39-day EMA.

A positive and rising indicator suggests that stocks on the exchange are being accumulated. A negative and falling indicator signals that stocks are being sold. Typically such action confirms the current trend in the index.

Crossovers from positive to negative, or vice versa, may signal the trend has changed in the index or exchange being tracked. When the indicator makes a large move, typically of 100 points or more, from negative to positive territory, that is called a breadth thrust. It means a large number of stocks moved up after a bearish move. Since the stock market tends to rise over time, this a positive signal and may indicate that a bottom in the index is in and prices are heading higher overall.

When index prices and the indicator are moving in different directions, then the current index trend may lack strength. Bullish divergence occurs when the oscillator is rising while the index is falling. This indicates the index could head higher soon since more stocks are starting to advance.

Bearish divergence is when the index is rising and the indicator is falling. This means fewer stocks are keeping the advance going and prices may start to head lower.

The Difference Between the McClellan Oscillator and McClellan Summation Index?

The McClellan Oscillator was developed by Sherman and Marian McClellan, who also developed the McClellan Summation Index. The McClellan Summation Index adds the current day's McClellan Oscillator to the previous day's McClellan Summation Index. In other words, the Summation Index is a cumulative measure, whereas the oscillator is not. While the oscillator may be more useful for analyzing shorter-term trends, the Summation Index is more applicable to broader and longer-term price trends.

Limitations of Using the McClellan Oscillator

The indicator tends to produce lots of signals. Breadth thrusts, divergence, and crossovers all occur with some frequency, but not all these signals will result in the price/index moving in the expected direction. The indicator is prone to producing false signals and therefore should be used in conjunction with price action analysis and other technical indicators.

The indicator can also be quite choppy, moving between positive and negative territory rapidly. Such action indicates a choppy market, but this isn't evident until the indicator has made this whipsaw move a few times.

Study how the indicator acts over extended periods of time and in different market conditions before relying on the indicator for trading purposes.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Robbins, R. (2012). Market Considerations. In Tactical Trend Trading (pp. 101-116). Apress, Berkeley, CA.

  2. Devcic, J. (2004). Understanding McClellan's Oscillator & Summation Index. TECHNICAL ANALYSIS OF STOCKS AND COMMODITIES-MAGAZINE EDITION-22(9), 60-61.

  3. McClellan, S. (1989). Patterns for Profit: The McClellan Oscillator and Summation Index. Marian Publishing.

  4. McClellan Financial Publications. "Sherman McClellan." Accessed August 27, 2021.

Open a New Bank Account
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.