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 compared to stock market indexes related to the exchange.

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 McClennan Oscillator is

There are two formulas for the McClennan 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 EMA39-day EMA=(Current day advances - declines)0.05+Prior Day EMAAdj. McClellan Oscillator=(19-Day EMA of ANA)(39-Day EMA of ANA)Adj. Net Advances (ANA)=(AdvancesDeclines)(Advances+Declines)19-day EMA=(Current Day ANAPrior Day EMA)0.10+Prior Day EMA39-day EMA=(Current Day ANAPrior Day EMA)0.05+Prior Day EMA\begin{aligned} \text{McClellan Oscillator}=&\left(\text{19-day EMA of advances - declines}\right)\\ &-\left(\text{39-day EMA of advances - declines}\right)\\ \text{19-day EMA} =& \left(\text{Current day advances - declines}\right)*0.10\\ &+\text{Prior Day EMA}\\ \text{39-day EMA} =& \left(\text{Current day advances - declines}\right)*0.05\\ &+\text{Prior Day EMA} \\ \\ \text{Adj. McClellan Oscillator}=&\left(\text{19-Day EMA of ANA}\right)-\left(\text{39-Day EMA of ANA}\right)\\ \text{Adj. Net Advances (ANA)} =& \frac{\left(\text{Advances} - \text{Declines}\right)}{\left(\text{Advances} + \text{Declines}\right)}\\ \text{19-day EMA}=& \left(\text{Current Day ANA}-\text{Prior Day EMA}\right)*0.10\\ &+\text{Prior Day EMA} \\ \text{39-day EMA} =& \left(\text{Current Day ANA}-\text{Prior Day EMA}\right)*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 advances - declines)(39-day EMA of advances - declines)(Current day advances - declines)0.10+Prior Day EMA(Current day advances - declines)0.05+Prior Day EMA(19-Day EMA of ANA)(39-Day EMA of ANA)(Advances+Declines)(AdvancesDeclines)(Current Day ANAPrior Day EMA)0.10+Prior Day EMA(Current Day ANAPrior Day EMA)0.05+Prior Day EMA

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

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 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 health 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 thursts, 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.