# McClellan Oscillator

## Introduction

Developed by Sherman and Marian McClellan, the McClellan Oscillator is a breadth indicator derived from Net Advances, which is the number of advancing issues less the number of declining issues. Subtracting the 39-day exponential moving average of Net Advances from the 19-day exponential moving average of Net Advances forms the oscillator. As the formula reveals, the McClellan Oscillator is a momentum indicator that works similar to MACD. McClellan Oscillator signals can be generated with breadth thrusts, centerline crossovers and divergences.

## Calculation

```

McClellan Oscillator: 19-day EMA of RANA - 39-day EMA of RANA

19-day EMA* = (Current Day RANA - Prior Day EMA) * .10 + Prior Day EMA)
39-day EMA* = (Current Day RANA - Prior Day EMA) * .05 + Prior Day EMA)

* The first EMA calculation is a simple average.

```

As the table below shows, Net Advances ranged from +2293 to -1806 in July 2010. Ratio adjusted net advances (RANA) ranged from +753 to -595. Remember, the initial ratios were multiplied by 1000 to eliminate the decimals. This means that +753 equals +75.3% Net Advances and -595 equals -59.5% Net Advances. Exponential moving averages were then created from ratio adjusted net advances (RANA) and the McClellan Oscillator is simply the 19-day EMA less the 39-day EMA.

Calculation Note: The 19-day EMA and 39-day EMA in the chart above are based on Net Advances divided by total issues (\$NYAD:\$NYTOT). This ratio was not multiplied by 1000 and left in its original decimal format.

## Interpretation

Think of the McClellan Oscillator as the MACD for the AD Line, which is a cumulative measure of Net Advances. Just as MACD puts momentum into the price plot of a stock, the McClellan Oscillator puts momentum into the AD Line. The McClellan Oscillator is positive when the 19-day EMA (shorter moving average) is above the 39-day (longer moving average) EMA. This signals that advances are gaining the upper hand. Conversely, the indicator is negative when the 19-day EMA is below the 39-day EMA. This signals that declining issues are dominating. Signals typical for MACD apply to the McClellan Oscillator. First, the McClellan Oscillator generally favors the bulls when positive and the bears when negative. Second, chartists can look for bullish and bearish divergences to anticipate reversals. Third, chartists can look for breadth thrusts to signal the start of an extended move.

## Positive versus Negative

Even though the McClellan Oscillator can be quite volatile, it can also remain positive or negative for extended periods during a strong uptrend or downtrend. Because the NYSE McClellan Oscillator (\$NYMO) is based on NYSE stocks, the following example uses the NY Composite as the base index for comparison. On the chart below, the McClellan Oscillator moved into positive territory in late November (2008) and remained positive for around six weeks. This string of positive values corresponded with an uptrend in the NY Composite. The advance ended when the McClellan Oscillator turned negative the second week of January. There were two small blips into positive territory and then an extended period of negative values in February (four weeks). In reality, these small blips were quite weak because neither exceeded +50 and neither lasted more than two days. Selling pressure intensified in mid February as the McClellan Oscillator moved below its January lows.

The next chart shows the Nasdaq McClellan Oscillator (\$NAMO) with the Nasdaq in the lower window. There are four distinct periods on this chart: two indecisive, one positive and one negative. In the first period, the McClellan Oscillator was clearly positive from the second week of February until the fourth week of March. Notice how is surged above +50 in late February and stayed positive into late March In the second period, the indicator turned indecisive from the fourth week of March until the second week of May. There were several crosses above/below the zero line. Notice that the indicator did not exceed +30 on the upside or -30 on the downside. There was not much conviction either way. The third period starts with a decisive move below the prior lows as the McClellan Oscillator plunges below -100. This strong selling pressure signaled the start of an extended decline and the oscillator remained largely negative until mid June. The chart ends with the fourth period, which is another period of indecision as the oscillator fluctuated above/below zero without much conviction.

The chart below shows the Nasdaq McClellan Oscillator during the March 2009 bottom. Notice how the McClellan Oscillator formed a bullish divergence and then surged more than 150 points (-80 to +80). This surge reflected strong buying pressure that marked an important low. Think of it as a rocket on lift off. A strong surge is needed to solidify a low and escape the gravity of selling pressure.

Also notice that the Nasdaq continued higher as the McClellan Oscillator formed an extended bearish divergence from late March until early May. Lower highs after a breadth surge are normal. One cannot expect the oscillator to remain exceptionally strong (above +50) and continue forging higher highs after such a breadth surge. It is sufficient for the McClellan Oscillator to simply remain positive to keep the bulls going.

The next chart shows the McClellan Oscillator foreshadowing a bottom in February. The McClellan Oscillator hit its low in late January, but the NY Composite moved to a new low in early February. With the McClellan Oscillator forming a higher low, a bullish divergence formed ahead of the breadth thrust. The bullish divergence warned of a possible trend reversal and the breadth thrust from -70 to +50 (+120) confirmed the reversal. The McClellan Oscillator peaked in early March and formed a bearish divergence, but the NY Composite continued higher into mid April.

## Divergences

Bullish and bearish divergences in the McClellan Oscillator can foreshadow reversals in the underlying index. However, chartists should not look too hard for such divergences. There will be many divergences and most will not result in reversals or extended moves.

The key, as always, is to separate robust divergences from weak divergences. First, a divergence should be confirmed with a strong supporting move. A bullish divergence is confirmed with a strong move into positive territory. A bearish divergence is confirmed with a strong move into negative territory. Second, divergences should be sharp. The difference between the reaction highs or lows should be noticeable, not negligible.

The chart below shows the Nasdaq McClellan Oscillator with a sharp bearish divergence in October 2007. Even though the Nasdaq moved to a new high in October 2007, the McClellan Oscillator formed a sharply lower high that was barely positive. The subsequent move into negative territory in early November showed a significant increase in selling pressure.

There are also some other signals and non-signals worth reviewing on this chart. Even though the McClellan Oscillator surged from positive to negative territory in November-December, the positive surge did not exceed +50. In other words, it was not strong enough to qualify as a bullish breadth thrust. There was a bullish breadth thrust in January-February, but this thrust was not preceded by a bullish divergence. The oscillator subsequently formed lower highs in February and then broke down in March. Also notice that the Nasdaq did not move higher in February to confirm the breadth thrust.

## Conclusions

The McClellan Oscillator measures the momentum of the AD Line or Net Advances. As a momentum oscillator, it is prone to the pitfalls of normal momentum oscillators, such as MACD. Bearish and bullish divergences can produce some great signals, but these signals are certainly not fail-proof. The same is true for breadth thrusts and crosses into negative or positive territory. Like MACD, the McClellan Oscillator is a rather volatile indicator that produces many potential signals. Signals should be confirmed or refuted with other technical indicators and chart analysis. Chartists can also study past behavior to get a better handle on future behavior.

## SharpCharts

SharpCharts users can plot the ratio-adjusted McClellan Oscillator for the NYSE McClellan Oscillator (\$NYMO) or the Nasdaq McClellan Oscillator (\$NAMO). Users can also plot the un-adjusted McClellan Oscillator for the NYSE (\$NYMOT) and Nasdaq (\$NAMOT). The unadjusted McClellan Oscillators are based on Net Advances (as opposed to ratio adjusted Net Advances).

These indicators can be shown in the main chart window or in indicator windows above or below the main window. The example above shows the NYSE McClellan Oscillator as a “histogram” plot in the main chart window with the NY Composite in the indicator window below. Just select “histogram” as a chart “type”.

Chartists can also add horizontal lines as an overlay to help identify key levels. Two levels can be added by separating the values with a comma in the parameters box (50,-50). The underlying index can be added in an indicator window below the main window. Select “price” and then enter the symbol in the “Parameters” box.