/india-trading-skills:exhaustion-reversalfrom india-trading-skills
Scores NSE/BSE stocks for parabolic exhaustion (0-100) using DMA stretch, acceleration, volume blow-off, and circuit streaks. Plans exits via scaling/trailing GTT or shorting F&O names. Also detects selling-exhaustion hammers and news-reaction failures.
Ships in india-trading-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
momentum-scanner finds stocks as they start to move. This skill takes the same stocks weeks later,
when the move is old and steep, and asks whether it is ending. For most Indian retail traders the
answer matters as a holder: how much to sell into strength and where to trail the rest. Shorting
is the exception, and only possible in F&O stocks.
python3 scripts/exhaustion.py climax --csv data/KAYNES.csv # one stock: factors + stage
python3 scripts/exhaustion.py climax --csv-dir data/ --min-score 40 # ranked table
python3 scripts/exhaustion.py plan --csv data/KAYNES.csv --qty 120 --avg-price 4100
python3 scripts/exhaustion.py plan --csv-dir data/ --symbol KAYNES --side short --fno-list fo_mktlots.csv \
--ban-list fo_secban.csv --margin-per-lot 210000 --capital 1500000 --risk-pct 1 --put-premium 120 --put-strike 5000
python3 scripts/exhaustion.py washout --csv-dir data/ --days 3 --capital 500000 --show-rejects
python3 scripts/exhaustion.py reaction --csv data/INFY.csv --date 2026-10-16 --news bullish --after-close \
--crowding long --benchmark-csv nifty.csv
python3 scripts/exhaustion.py scan --csv-dir data/ --fno-list fo_mktlots.csv --bands bands.csv
Universe flags match momentum.py: --csv-dir + --pattern, --csv (repeatable), --symbols
(yfinance), --as-of, --min-turnover-cr (5), --bands (SYMBOL,band, 0 for F&O), --tick,
--json. --fno-list takes one symbol per line, SYMBOL,LOT or NSE fo_mktlots.csv (lots are read
from it). Blank or zero candles are skipped; bad input exits 2 with one error: line.
climax: the parabolic scoreThe high of the move is the highest high in the last 15 sessions (--lookback). Points:
| Factor | Max | Full marks at |
|---|---|---|
| Stretch | 25 | high 6+ ATR over the 20 DMA (10), 50%+ over the 50 DMA (10), 120%+ over the 200 DMA (5) |
| Acceleration | 15 | last 5 sessions running 3x the 20-day daily pace, with 10%+ in those 5 |
| Run | 25 | +50% in 10 / +80% in 20 / +150% in 60 sessions (15), 8 up days (6) and 6 up weeks (4) in a row |
| Blow-off | 30 | widest bar 3x ATR and volume 4x the 50-day average, each the biggest in 60 sessions, gap-ups in the last 5 sessions, and a peak day that closes in its lower part (reversal bar). Or 6 points per consecutive upper-circuit close (5 locked closes = 30): whichever is higher |
| Band cut | 5 | the exchange narrowed the price band during the run (or the stock sits in a 2%/5% band) |
Why these: stretch and run size say how far price has left value; acceleration and up-day streaks catch the vertical last leg; the blow-off bar is where late buyers and short-covering arrive at once. Banded small caps can't print a blow-off bar (they lock), so the circuit streak stands in.
Stage: under 40 not extended, 40-64 extended, 65+ climax, and reversal confirmed once any of these happens after the high: a close below the previous session's low, a close below the 10 EMA, or a lower high (a bounce that fails under the peak, then a close under the pullback low). The date of the first is printed. Until then the output lists tomorrow's levels to watch.
planHolder (default --side hold). Sell a slice into strength: 25% when extended, 40% at a climax,
50% once confirmed (--sell-pct). Trail the rest one tick under the prior day's low (climax or a
circuit streak) or on a close below the 10 EMA (extended), as a GTT single SELL with a limit 1-2%
under the trigger. GTTs fire on LTP and send a limit, so a gap below the limit stays unfilled;
plain SL orders expire at 15:30. On a locked upper circuit, selling into the buy queue fills at once,
which is the best liquidity a pumped stock will offer. In a 2%/5% band a lower-circuit lock blocks
every exit. See trailing-stops and stop-loss-strategies for the general mechanics.
Short (--side short or both). Refused for a non-F&O stock: cash shorts are intraday (MIS)
only, an undelivered short goes to the exchange auction with a penalty, and there is no future or
put to hold overnight. Also refused in the F&O ban (OI above 95% of MWPL: reduce-only) and below
score 40 (--force). Otherwise: entry only after a trigger, a trade below the climax-day low or a
failed bounce, never into strength. Stop is 0.5% above the climax high (--stop-buffer-pct). Targets
are the 10 EMA, 20 EMA and 50 DMA with their R multiple. Size with --capital --risk-pct in whole
lots (--lot, or from --fno-list). Margin is --margin-per-lot from your broker, else 25% of
contract value, capped at 50% of capital. --put-premium/--put-strike prices a long put as the
defined-risk route (see fno-options-analysis, options-strategies). Every short plan prints the
warnings: no ceiling on loss, squeeze into expiry and MWPL, gap-through stops, physical settlement.
washout: selling exhaustion for a long entryA bar in the last 3 sessions (--days) that is the low of the last five and:
a pullback of 8-40% from the 40-session high over 3+ sessions; a prior uptrend (+25% into the high,
a rising 200 DMA, or a name on your --quality list); a wick of 50%+ of the bar and a close in
the top 40%; range ≥ 0.75 ATR; volume ≥ the 50-day average. Score: context 20, depth 15, undercut of
an earlier pivot low then a close back above it 25, wick 15, close 10, volume 15, +5 when a
lower-circuit streak just ended. Entry one tick over the bar's high, stop one tick under its low
(NSE ticks), targets the 20 EMA and the prior high, status pending / triggered / failed.
reaction: did the news work?Day 1 is the news date, or the next session with --after-close. Moves are measured in ATRs with
the news (net of --benchmark-csv if given) over --sessions (3). Failed if day 1 closes
against the news in the worst 35% of its range on 1.5x+ volume, or if after 2-3 sessions price is
0.5+ ATR the wrong way and through the news-day low (high, for bad news). Confirmed if 0.5+ ATR
the right way and holding the news-day midpoint. Otherwise inconclusive. The rule that fired is
printed. --crowding long|short|none adds a gate: crowded side + failed reaction + broken level = a
contrarian setup. Judge crowding from fii-dii-flows (participant OI), the stock's OI vs MWPL, and
MTF/delivery build-up.
scanClimax scores ≥ 40 and washout bars, ranked, illiquid names filtered (listed with the reason), each tagged with its short route: futures/puts, F&O ban, or none overnight.
reaction tells you whether good results were sold.climax on what you hold (or scan). Under 40: let trailing-stops handle it.plan → sell the slice, set the GTT. Confirmed: sell the bigger slice.position-sizing rules, 1% risk or less.washout entries: size with position-sizing (../position-sizing/scripts/risk.py).trading-discipline gate (../trading-discipline/scripts/discipline.py) first.Limits: daily bars only (no intraday triggers or live circuit status); bands are inferred unless
--bands is given; F&O status, lots, ban and margin are only what you pass; the score is a
description of the tape, not a probability that the top is in.
Educational analysis, not investment advice.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
exhaustion, parabolic, blow-off-top, short-selling, profit-booking, nse-bse
npx claudepluginhub xdhruv/claude-trading-skills-india-mv --plugin india-trading-skills36 skills in this plugin
/backtest-labBacktests rule-based swing ideas on NSE/BSE daily bars with Indian frictions built in: decide on
the close and fill at the next open, gap-through stops, slippage, exact per-trade charges by
segment and broker (STT, stamp duty, GST, DP), whole shares or lots, circuit-band no-fills,
futures-only shorts and an optional STCG/LTCG estimate. Six built-in strategies; CAGR vs
buy-and-hold, drawdown, Sharpe/Sortino, profit factor, expectancy in ₹ and R; parameter sweeps
with a plateau-or-spike read, walk-forward and Monte Carlo. backtest.py, stdlib only, offline.
Use when the user asks: "backtest this strategy", "would a 20/50 crossover have worked on X",
"is this edge real or curve-fit", "optimise my parameters", "walk-forward test", "Monte Carlo my
trades", "what drawdown should I expect", "do charges kill this idea", "does a NIFTY 200-DMA
filter help", or before putting real money behind any mechanical rule.
/breakout-plannerStage-2 breakout setups on NSE/BSE stocks: a trend-template check (rising 200 DMA, 50>150>200
stack, distance from 52-week high/low, relative strength vs NIFTY), base detection (volatility
contraction with successively tighter pullbacks, or a flat base) with pivot, depth, duration,
volume dry-up and a grade, then an order-ready plan: trigger, chase limit, capped stop, size,
Indian charges, R targets, GTT/SL templates, circuit-band and NSE tick-size checks. breakout.py
scans a folder of CSVs or yfinance symbols and ranks them, offline-capable.
Use when the user asks: "is X in a Stage 2 uptrend", "find VCP setups", "where is the pivot on X",
"plan a breakout trade in X", "breakout buy point and stop", "scan these stocks for breakouts",
"Minervini trend template for NSE stocks", "how do I place a GTT for a breakout", or any question
about buying stocks as they clear a base.
2 plugins ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job