Direct Answer
McClellan Oscillator is a market-breadth oscillator built from the difference between fast and slow exponential averages of net advances. A higher reading generally means breadth momentum is stronger on the upside; a lower reading generally means breadth momentum is stronger on the downside. The main limitation is that exchange universe and ratio adjustment can materially change the series; document the exact version.
McClellan Oscillator: Formula, Meaning, Signals, Examples and How to Use It
How Is McClellan Oscillator Calculated?
Developed by Sherman and Marian McClellan, the oscillator is the difference between a 19-day and a 39-day exponential moving average of daily net advances (advancing minus declining issues). It measures breadth momentum.
Formula: McClellan Oscillator = EMA19(net advances) - EMA39(net advances); net advances = advancing issues - declining issues
Inputs:
- Daily advancing and declining issue counts for an exchange
- Net advances each day (advancing minus declining)
- Smoothing constants 0.10 for the 19-day average and 0.05 for the 39-day average
- Whether raw or ratio-adjusted net advances are used
Worked example. If net advances are 300 today and the prior 19-day and 39-day averages are 100 and 80, the new averages are 120.0 and 91.0, so the oscillator reads 29.0. The inputs are illustrative numbers, not market data.
Reading it. Positive readings mean the faster average of net advances is above the slower one, so breadth momentum is positive; negative readings mean the opposite. The zero line is the usual dividing level, and analysts also watch zero-line crossings and divergences against a price index.
Limits. Values depend on the universe and on whether net advances are raw or ratio-adjusted, so figures from different sources are not comparable. The oscillator is also unbounded, so a given number means different things for large and small universes.
Indicator snapshot
| Attribute | Value |
|---|---|
| Abbreviation | : |
| Category | Breadth |
| Creator / origin | Sherman and Marian McClellan |
| Primary inputs | Price/volume/market data as applicable |
| Common settings | 19 and 39 EMA convention |
| Output | Line/scalar |
| Typical range | Varies |
| Primary purpose | Measure how widely a market move is being participated in across constituents. |
| Main limitation | Exchange universe and ratio adjustment can materially change the series; document the exact version. |
What is McClellan Oscillator?
McClellan Oscillator is a market-breadth oscillator built from the difference between fast and slow exponential averages of net advances. It should be treated as a transformation of observable market data, not as an independent source of truth. The useful question is not whether the indicator is “bullish” or “bearish” in isolation, but what specific market property it measures, which assumptions enter the calculation, and whether that information is already duplicated by another tool on the chart.
For Swoopr, the canonical profile should separate definition, calculation, interpretation and decision use. That keeps readers from collapsing a descriptive metric into a trading strategy. An indicator can describe trend, momentum, volatility, participation, positioning or risk without providing a complete entry, exit, sizing or portfolio decision.
What does it measure and why is it used?
Measure how widely a market move is being participated in across constituents. The practical value is repeatability: the same inputs and formula can be applied across a defined dataset, allowing users to compare readings through time or across instruments when the calculation convention is held constant.
The calculation can still be misleading if the data source, session, adjustment method, smoothing rule or parameter set changes. Two platforms can legitimately report different readings while using different assumptions, so check which conventions a chart uses.
Formula
Common form = 19-period EMA of net advances − 39-period EMA of net advances, using ratio-adjusted variants in some implementations
Calculation discipline
- Fix the instrument, timeframe and session before computing the indicator.
- Use one documented price/volume source and one corporate-action convention.
- State every lookback, smoothing method and reset rule.
- Handle missing data and zero denominators explicitly.
- Reproduce at least one worked example from raw inputs during QA.
- Compare the implementation with a second independent calculation before publication.
How to read McClellan Oscillator
A higher reading generally means breadth momentum is stronger on the upside. A lower reading generally means breadth momentum is stronger on the downside. That interpretation is descriptive, not predictive. The same numerical state can lead to different outcomes in a strong trend, quiet range, event-driven gap or illiquid market.
Bullish, bearish and neutral context
A bullish interpretation is appropriate only when the reading lines up with the indicator's actual job. For a trend tool, that means direction or trend persistence; for a momentum tool, it means stronger upside momentum; for a volatility measure, “higher” is not bullish at all:it only means larger expected or realized movement. A generic bullish or bearish label therefore does not fit a direction-neutral indicator.
A neutral state should be defined when the indicator does not provide enough evidence for its intended job. This is especially important for bounded oscillators near mid-range, volatility gauges near historical medians, or spread measures near long-run norms.
Common settings
The common reference is 19 and 39 EMA convention. This is a starting convention, not a universally optimal parameter. Shorter lookbacks generally respond faster and produce more state changes; longer lookbacks smooth noise but react later. Parameter selection should be tied to the intended decision horizon, then tested over multiple instruments and regimes rather than optimized to one historical period.
Worked hypothetical interpretation
Suppose a researcher calculates McClellan Oscillator with the documented settings across a liquid security and observes a material change in the reading. The first step is to state what changed in the underlying input. The second is to ask whether price structure, volume, volatility or the benchmark environment confirms that interpretation. The third is to define what observation would invalidate it. Only after those steps should the indicator feed a strategy rule.
This sequence prevents a common error: treating the indicator output as if it arrived independently of the price, volume, options or market data used to calculate it.
Best and weak market conditions
McClellan Oscillator is most useful when the market property it measures is actually relevant to the decision. It is weakest when the regime changes faster than the lookback, the market is illiquid, the input data are incomplete, or the chosen parameter set is mismatched to the timeframe. A trend indicator tends to struggle in ranges; a mean-reversion oscillator can remain extreme during persistent trends; volume-based measures can break when venue coverage changes; options and on-chain measures can be provider-specific.
Strengths
- Subtracting a slow average from a fast one removes the persistent level of net advances, leaving a momentum reading centered on zero.
- The 0.10 and 0.05 smoothing constants equal 2 / (19 + 1) and 2 / (39 + 1), so the series can be recomputed from daily advance and decline counts.
- Reproducible when the formula and data convention are fixed.
Weaknesses and false signals
- Exchange universe and ratio adjustment can materially change the series; document the exact version.
- Parameter changes can alter timing and classification.
- Correlated indicators can create false confidence by repeating the same underlying information.
- Historical relationships can fail after market structure or volatility regimes change.
- Backtests can be overstated by look-ahead bias, survivorship bias, unrealistic fills or omitted transaction costs.
Combining McClellan Oscillator with other indicators
The strongest combination usually pairs different input families rather than similar formulas. Before adding another indicator, identify the specific error it is supposed to catch and measure how often the two signals disagree. High agreement between two price-only oscillators is not necessarily confirmation; it can be arithmetic redundancy.
Related entities for this profile include: Advance/Decline Line, Arms Index, Advance/Decline Ratio, Advance/Decline Volume Line, Bullish Percent Index, McClellan Summation Index.
When not to use it
Do not use McClellan Oscillator as a standalone forecast or as a substitute for position sizing, liquidity checks, execution planning or fundamental research when those are relevant to the decision. Avoid publishing “best settings” without a defined asset universe, timeframe, cost model and out-of-sample validation. If the indicator depends on proprietary or provider-specific methodology, the provider's own documentation is the authority on how it is calculated.
Practical checklist
- [ ] What exact question is the indicator answering?
- [ ] What data series, session and adjustments are used?
- [ ] What parameters and smoothing rules are fixed?
- [ ] Is the indicator bounded, unbounded or price-denominated?
- [ ] Does a second indicator add independent information?
- [ ] What market regime is present?
- [ ] What would invalidate the interpretation?
- [ ] Have slippage, costs and execution constraints been considered?
- [ ] Has the calculation been independently reproduced?
Frequently asked questions
Is McClellan Oscillator a buy or sell signal?
No. It is an analytical measure. A trade still needs a hypothesis, trigger, invalidation rule, position size, exit logic and realistic execution assumptions.
What is the best setting for McClellan Oscillator?
There is no universal best setting. Start with the conventional reference (19 and 39 EMA convention) and test nearby values across instruments, regimes and out-of-sample periods. Favor stable parameter regions over one historical winner.
Can McClellan Oscillator be used by itself?
It can describe its specific market property by itself, but using it alone generally leaves other important dimensions:direction, regime, participation, valuation, liquidity or risk:undefined.
Does McClellan Oscillator work on every timeframe?
The calculation may be portable, but behavior is not. A 14-period reading on a five-minute chart describes a very different market window from the same setting on a daily chart. Validate the exact timeframe.
Why does McClellan Oscillator give false signals?
False signals arise from lag, noise, regime changes, parameter sensitivity, data conventions and the fact that market participants react to new information after the reading is calculated.
How should McClellan Oscillator be backtested?
Write rules before testing, use point-in-time data, include delisted securities where relevant, model realistic fills and costs, reserve a validation sample, break results out by regime and compare with a simpler baseline.
Related Swoopr content
- Parent hub: Market Breadth Indicators
- Related indicators: Advance/Decline Line, Arms Index, Advance/Decline Ratio, Advance/Decline Volume Line, Bullish Percent Index, McClellan Summation Index
Sources and further reading
Editorial and risk note
This page is educational content, not individualized investment advice. It does not imply guaranteed prediction, accuracy or outperformance.
Frequently Asked Questions
Is McClellan Oscillator a buy or sell signal?
No. Positive readings mean the faster average of net advances is above the slower one, so breadth momentum is positive; negative readings mean the opposite. Values depend on the universe and on whether net advances are raw or ratio-adjusted, so figures from different sources are not comparable. A trade built on it still needs a trigger, an invalidation rule, a position size and realistic execution assumptions.
What is the best setting for McClellan Oscillator?
McClellan Oscillator takes these inputs: daily advancing and declining issue counts for an exchange; net advances each day (advancing minus declining); smoothing constants 0.10 for the 19-day average and 0.05 for the 39-day average. There is no universal best setting for the tunable ones, so test them across instruments, regimes and out-of-sample periods and favor stable parameter regions over one historical winner.
Can McClellan Oscillator be used by itself?
Values depend on the universe and on whether net advances are raw or ratio-adjusted, so figures from different sources are not comparable. The oscillator is also unbounded, so a given number means different things for large and small universes. For that reason it is read next to measures of direction, participation, valuation, liquidity and risk, not alone.
Does McClellan Oscillator work on every timeframe?
The calculation (McClellan Oscillator = EMA19(net advances) - EMA39(net advances); net advances = advancing issues - declining issues) can be run on any bar size, but behavior is not portable: a reading on a five-minute chart describes a very different market window from the same reading on a daily chart. Validate the exact timeframe before relying on it.
Why does McClellan Oscillator give false signals?
Raw net advances grow with the number of listed issues, so a reading from a larger universe cannot be set beside one from a smaller universe. Both averages need a start value, so early observations depend on the seed chosen, and different data vendors may seed differently. Lag, noise and regime changes add to this, because market participants react to new information after the reading is calculated.
How should McClellan Oscillator be backtested?
Rebuild McClellan Oscillator from daily advancing and declining issue counts for an exchange using point-in-time data, write the rules before testing, include delisted securities where relevant, model realistic fills and costs, reserve a validation sample and compare with a simpler baseline.