FreeIndicators·ThinkorSwim
Cumulative Advance/Decline
Running breadth line to confirm or doubt the market move.
How to install in ThinkorSwim
- In ThinkorSwim, open a chart, then go to Studies → Edit Studies.
- Click Create, clear the editor, and paste the code.
- Name it, click Apply, then OK, and it draws on your chart.
How to Use — WeTradePro Cumulative Advance/Decline Line
The classic breadth line: how many stocks are actually going up vs down, added up. Exposes narrow rallies built on a few mega-caps. Educational, not advice.
What it is (one line)
A cumulative Advance/Decline line built from NYSE breadth ($ADD, or $ADVN - $DECN) — when it confirms price the rally is broad and healthy; when price rises but the A/D line lags, the move is narrow and fragile.
Who it's for & best timeframe
| Trader type | How you use it | Best timeframe | anchorMode |
|---|---|---|---|
| Day trader | Intraday breadth: is the whole tape participating today? | 1-min – 5-min | SESSION |
| Swing trader | Best fit — confirm index trends and spot breadth divergences before tops | Daily | ALL |
| Position trader | Long-horizon health check: is the bull market broad or thinning? | Daily / Weekly | ALL |
Best overall: Daily chart with `anchorMode = ALL` to track the multi-month breadth trend, and `SESSION` on a 5-min chart when day-trading the index.
What you see (lower panel)
- Green/red line: the cumulative A/D line — green when rising (breadth expanding), red when falling (breadth contracting).
- Dashed zero line: breadth-neutral reference (most relevant in SESSION mode).
- Labels: the A/D line value, whether breadth is EXPANDING or CONTRACTING, and this bar's net advancers.
How to use it
- Confirm trends. Index makes a new high AND the A/D line makes a new high = broad, healthy rally — trust it.
- Hunt divergences. Index makes a new high but the A/D line makes a *lower* high = fewer stocks participating — a classic warning that a top may be forming.
- Read the slope intraday (SESSION). Rising line = buyers across the tape; falling = broad selling. Pairs well with Cumulative $TICK.
- Bottom signal. Price keeps dropping but the A/D line stops making lower lows = selling is narrowing — possible base.
Settings (inputs)
source(ADD) — use the ready-made$ADDnet-advancers feed, or switch toADVN_DECNto compute advancers minus decliners directly.anchorMode(SESSION) —SESSIONresets each day (intraday breadth);ALLruns the total across all chart history (the classic A/D line).
Best on
- Index ETFs and futures (SPY, QQQ, ES, NQ) and broad-market analysis. These are NYSE internals, so use them to judge the *market*, not a single thin stock.
Common mistakes
- Reading divergences in SESSION mode for swing calls — use
ALLfor the meaningful multi-day divergence picture. - Applying it to one small-cap ticker — the A/D line is the whole market, not your stock.
- Confusing a falling line above zero with a crash — in ALL mode the absolute level matters less than the slope and divergence vs price.
- Forgetting SESSION resets daily — early-session values are small by design.
Video script outline (for your WeTradePro tutorial)
- Hook: "The index is green — but are most stocks actually up? The A/D line tells you."
- Confirm: new index high + new A/D high = broad rally.
- The divergence: index up, A/D line making lower highs = narrowing market.
- SESSION vs ALL mode — intraday breadth vs the long-term line.
- Pairing it with Cumulative $TICK for a full internals read.
- $ADD vs $ADVN-$DECN sources.
- Recap + "import link in description."
Educational analysis, not financial advice.
← Back to all 103 indicators