Univest
Univest
  • Markets

McClellan Oscillator Explained: The 19 and 39 Day EMA Formula, How to Read Zero Line Crosses and Extremes, Breadth Divergences and Where the Indicator Falls Short in India

  • November 25, 2026
  • Posted by: Kunal Singla
  • Category: Market
No Comments
McClellan Oscillator Explained: The 19 and 39 Day EMA Formula, How to Read Zero Line Crosses and Extremes, Breadth Divergences and Where the Indicator Falls Short in India

McClellan oscillator = 19 day EMA minus 39 day EMA of net advances (advancing minus declining stocks). Above zero is improving breadth. Watch divergences with the index.

Quick Answer

McClellan oscillator explained simply: it is a market breadth indicator that subtracts a 39 day EMA of net advances from a 19 day EMA of net advances, where net advances are advancing stocks minus declining ones. A reading above zero shows breadth improving, and below zero shows it weakening. It helps to see whether an index move has broad support.

McClellan oscillator explained for traders who want to know if a rally is broad or narrow: it tracks how many stocks take part in the move.

FREE Analyst Review on Stocks – Click Here

This guide covers the formula, how to read it, divergences and its limits for Indian markets. It is educational and not a recommendation.

5 Hot Stocks in the Buying Zone – Get Them for FREE

Table of Contents

Toggle
  • McClellan Oscillator Explained: The Formula
  • How to Read It
  • Breadth Divergences
  • A Worked Example
  • Using It in India
  • Limits
  • Conclusion
  • Frequently Asked Questions
    • What is the McClellan oscillator?
    • How do you calculate the McClellan oscillator?
    • What does a positive McClellan oscillator mean?
    • What is a breadth divergence?
    • Can I use the McClellan oscillator for Indian markets?
    • What is the McClellan summation index?
    • Is the oscillator a buy or sell signal by itself?

McClellan Oscillator Explained: The Formula

  1. Net advances = number of advancing stocks minus number of declining stocks, for the day.
  2. Compute a 19 day EMA of net advances.
  3. Compute a 39 day EMA of net advances.
  4. Oscillator = 19 day EMA minus 39 day EMA.

Sherman and Marian McClellan created it in the 1960s for the NYSE. The same logic applies to NSE advance and decline data.

How to Read It

Reading Meaning
Above zero Breadth is improving, more stocks are rising
Below zero Breadth is weakening, more stocks are falling
Crossing above zero Bullish shift in breadth
Crossing below zero Bearish shift in breadth
Very high or very low Overbought or oversold zones, depending on the market

The extremes depend on the market, so study its past range before using fixed levels.

The zero line is the simplest signal to follow. A move across the zero line from below shows that short term breadth has overtaken longer term breadth, and a move down across the zero line shows the opposite. Many traders wait for the mcclellan oscillator to hold above the zero line for several days before they trust the change, since quick whipsaws are common near the zero line. A breadth divergence at a high, where the mcclellan oscillator fails to confirm the index, is often more useful than a simple cross. Keep a chart of the mcclellan oscillator next to the index.

Breadth Divergences

  • Bearish: the index makes a new high, but the oscillator makes a lower high. Fewer stocks support the rally.
  • Bullish: the index makes a new low, but the oscillator makes a higher low. Selling is losing breadth.
  • Divergences work better when the oscillator is at an extreme.

Use the Univest Screener to check live fundamentals before you act on any idea.

A Worked Example

Day Advances Declines Net advances
1 1,500 900 +600
2 1,100 1,300 -200
3 1,700 700 +1,000

The 19 day average of these net figures reacts faster than the 39 day average. When the faster average rises above the slower one, the oscillator turns positive.

Using It in India

  • Use NSE or BSE advance and decline counts, and keep the data consistent.
  • Compare with the Nifty 50 or Sensex, which are weighted by a few large stocks and can rise while many stocks fall.
  • Check the oscillator when an index nears a high, to see whether the rally is broad.

Limits

  • Indian exchange data include many illiquid stocks, which add noise.
  • Index heavy weights can move the index with weak breadth for long.
  • The signal lags, as with any moving average.
  • Few retail platforms plot it, so you may need to calculate it.

Download the Univest iOS App or Univest Android App to get daily stock research and market updates.

Conclusion

The McClellan oscillator subtracts a 39 day EMA of net advances from a 19 day EMA to show the direction of market breadth. Read zero line crosses, extremes and divergences with the index, and expect noise from thin stocks.

Use it to judge the health of a rally.

Disclaimer: Data and figures in this article are sourced from publicly available information. These may or may not be accurate. Please verify all data with the official NSE (nseindia.com) and BSE (bseindia.com) websites before making any investment decision. Investments in securities are subject to market risk. This content is for educational purposes only and is not investment advice by Univest (SEBI RA INH000013776).

Frequently Asked Questions

What is the McClellan oscillator?

Ans. It is a breadth indicator that compares a 19 day and a 39 day EMA of net advances, showing whether more stocks are rising or falling.

How do you calculate the McClellan oscillator?

Ans. Compute net advances as advancing minus declining stocks, take 19 day and 39 day EMAs of it and subtract the longer from the shorter.

What does a positive McClellan oscillator mean?

Ans. It means the short term average of net advances is above the longer term, so breadth is improving and more stocks are taking part in the rise.

What is a breadth divergence?

Ans. It is when the index and the oscillator disagree, such as the index making a new high while the oscillator makes a lower high.

Can I use the McClellan oscillator for Indian markets?

Ans. Yes, using NSE or BSE advance and decline data, though illiquid stocks add noise and few platforms plot it.

What is the McClellan summation index?

Ans. It is a running total of the oscillator values, used to judge longer term breadth trends.

Is the oscillator a buy or sell signal by itself?

Ans. No. It shows breadth, so use it with price trends, volume and support and resistance levels.



advance decline Market Breadth McClellan oscillator technical indicator
Author: Kunal Singla
Kunal Singla is the Associate Director - Research at Univest, leading quantitative equity research, intraday trading setups, and derivatives strategy. With 4+ years of experience in Indian equity markets, he combines rigorous quantitative methods with classical technical analysis to build high-conviction research frameworks for retail and advisory clients. He holds an MSc from the Indian Institute of Technology (IIT) Delhi — one of India's most selective institutions — and has completed the Certificate in Quantitative Finance (CQF), a globally recognised programme covering derivatives pricing, risk modelling, machine learning for finance, and advanced portfolio theory. This combination places him in a small group of Indian analysts with both deep academic training in quantitative methods and SEBI-recognised research credentials. Kunal holds seven SEBI-recognised NISM certifications spanning research, derivatives, portfolio management, and securities operations: Series-XV (Research Analyst), Series-XXI-A (Portfolio Managers), Series-XVI (Commodity Derivatives), Series-VIII (Equity Derivatives), Series-VII (SORM), Series-V-A (Mutual Fund Distributors), and Series-I (Currency Derivatives). At Univest — India's SEBI-registered research and advisory platform — Kunal leads research inputs for Pro Lite, Pro Super, Pro Gold, and Pro Commodity advisory services, alongside publishing intraday stock picks on Univest Blogs.

Leave a Reply Cancel reply