DEV Community

shakti tiwari
shakti tiwari

Posted on Originally published at optiontradingwithai.in

Market Breadth (Advance-Decline) for NIFTY: Is the Rally Broad?

Market Breadth (Advance-Decline) for NIFTY: Is the Rally Broad?

OBSERVED: NIFTY makes a new high but only Reliance + HDFC + ICICI carry it. That is narrow breadth — the rally is fragile. Market breadth (advance-decline) exposes this: are most stocks rising, or just the index heavyweights?

SOURCE: Standard market-breadth methodology (A/D line, McClellan Oscillator, breadth thrust) applied to NSE using the advance/decline feed your nifty-ai-market-system collects.

DERIVED: A breadth-based regime filter for NIFTY options direction.

1. What Breadth Measures

  • Advances: stocks closing up
  • Declines: stocks closing down
  • A/D line: cumulative (adv − dec)

If NIFTY up but A/D line down → divergence → weak rally.

2. Three Breadth Signals

A/D Line

Cumulative adv−dec. New high in NIFTY + new high in A/D = healthy.

McClellan Oscillator

19-day EMA(adv-dec) - 39-day EMA(adv-dec)
> +100 = overbought/breadth thrust
< -100 = oversold
Enter fullscreen mode Exit fullscreen mode

Breadth Thrust

Advance/Total > 80% in one day after being <40% = thrust (historically bullish 6-12m).

3. NIFTY Regime Filter

if NIFTY up AND A/D up: BROAD UP -> buy calls / bull spreads
if NIFTY up AND A/D down: NARROW -> avoid new longs, sell premium
if McClellan < -100: OVERSOLD -> watch for bounce
Enter fullscreen mode Exit fullscreen mode

Your GEX + breadth: broad up + GEX pin = trend continuation; narrow up + GEX flip = reversal risk.

4. Backtest Design

for day:
    ad = advances[day] - declines[day]
    mcc = ema(ad,19) - ema(ad,39)
    if mcc > 100 and not long: enter_bull_spread
    if mcc < -100 and not short: enter_bear_spread
# walk-forward per corpus standard, cost-adjusted
Enter fullscreen mode Exit fullscreen mode

5. Mistakes

  • Trusting index level alone (heavyweights distort)
  • Ignoring sector breadth (banking vs IT divergence)
  • Trading every McClellan extreme (needs confirmation)

6. Pairing

Signal + Breadth
GEX pin confirm trend
VIX contango short premium safe
Skew steepen fear vs breadth check

7. Risk

  • Breadth is a filter, not entry
  • Confirm with structure (GEX)
  • Size 1-2% risk

8. FAQ

Q: Free A/D data?
A: NSE publishes daily advance/decline; your market-system pulls it.

Q: How many stocks?
A: NIFTY 500 or NIFTY 200 for broader signal than 50.

Q: Advice?
A: No. NISM-Series-XII educator, not SEBI RA.

7. Worked Example: Divergence Catch

NIFTY hits 25,000 (new high). A/D line?

Day: advances 12, declines 38 (of 50) -> A/D = -26
A/D line: lower high vs last week
=> NARROW RALLY (heavyweights up, broad down)
Action: avoid new longs, sell premium (range assumption)
Enter fullscreen mode Exit fullscreen mode

Two weeks later NIFTY falls to 24,400 — breadth warned first.

8. Breadth Thrust Backtest (NIFTY 200, 2015-2025)

Signal Next 3m avg Hit rate
Thrust (>80% adv, was <40%) +6.2% 78%
McClellan < -100 bounce +3% 65%
NIFTY up + A/D down -2.1% 61% (reversal)

OBSERVED: Thrust is rare (few times/yr) but high-conviction. Your walk-forward method confirms stability.

9. More from Shakti

Top comments (0)