/india-trading-skills:breakout-plannerfrom india-trading-skills
Evaluates Stage-2 breakout setups on NSE/BSE stocks: trend template, base detection with pivot, and order-ready plan with trigger, stop, size, Indian charges, and GTT/SL templates.
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.
Buy strength only where three things line up: a stock already in a Stage-2 uptrend, a tight base whose pullbacks shrink as supply dries up, and a pivot you can define to the tick. The script does the detection and arithmetic. You add regime, news and judgement.
# One stock: trend template + liquidity + base + pivot (add a NIFTY CSV for relative strength)
python3 scripts/breakout.py check --csv polycab.csv --benchmark-csv nifty.csv
python3 scripts/breakout.py check --symbol POLYCAB --benchmark NIFTY # yfinance
# Plan from the chart (pivot, last low and ATR are read from the data)
python3 scripts/breakout.py plan --csv polycab.csv --capital 1000000 --risk-pct 1 --band 0
# Plan from numbers you already have (no data needed)
python3 scripts/breakout.py plan --pivot 1520 --contraction-low 1462 --prev-close 1498 \
--capital 500000 --band 10 --segment mtf --leverage 2 --broker zerodha
# Rank many: one CSV per symbol (file name = symbol), or a yfinance list
python3 scripts/breakout.py scan --csv-dir data/ --benchmark-csv data/nifty.csv --top 15
python3 scripts/breakout.py scan --symbols DIXON,KAYNES,TRENT,POLYCAB --benchmark NIFTY
Inputs follow technical-analysis: --csv, --candles (broker-MCP JSON) or --symbol. Use 260+
daily bars. Every command takes --json. Bad input exits 2 with a one-line error.
checkTrend template (all must pass for "Stage 2"): close above SMA50/150/200; SMA50 > SMA150 > SMA200; SMA200 higher than 22 sessions ago; within 25% of the 52-week high; at least 30% above the 52-week low; with a benchmark, beating it over both 3 and 6 months. Use NIFTY for large caps and NIFTY Midcap/Smallcap or the sector index for the rest. Five of six is "watch", not "buy".
Base. The base starts at the highest high of the last 150 bars. Swings are traced with a threshold of max(3%, 1.25 × ATR%). A bounce that fails into a lower low stays part of the same pullback; a small dip on the way to a higher high is ignored.
plan| Item | Rule (defaults) |
|---|---|
| Trigger | pivot + 0.2%, rounded up to the tick |
| Chase limit | pivot + 3% (--max-chase-pct; warns above 5%). Size is computed at this worst fill |
| Stop | last contraction low − 1% (--stop-method atr = trigger − 2×ATR), capped at 8% below the limit |
| Size | position-sizing logic (risk.py): risk % of capital incl. costs, 20% single-stock cap; MTF divides the risk budget by the leverage |
| Charges | trading-costs (charges.py) round trip at the stop and at each target, delivery or MTF with interest |
| Targets | 2R and 3R from the worst fill (--targets 2,3,5) |
A capped stop sits inside the base, so the base is too loose for your chase. Prefer to skip it or buy closer to the pivot.
--tick if the broker rejects
a price.--band 2|5|10|20 with --prev-close (taken from the data's last close)
warns when the trigger or chase limit is beyond today's upper circuit. 2%/5% bands mark
surveillance, SME or illiquid names, where breakouts lock at the upper circuit and exits lock at
the lower one. F&O stocks have no fixed circuit (--band 0): the exchange widens their dynamic
band in steps.--surveillance asm|gsm|t2t.--min-turnover-cr).
Scans push illiquid names to the bottom. Skip SME and operator-style stocks: a vertical base on
rising volume with no news or delivery is a red flag.../market-regime/scripts/regime.py status first (see market-regime). Take new
breakouts only when the regime allows long exposure, and respect its position cap.scan on the watchlist, then check the top names and confirm the base on the chart
(technical-analysis, multi-timeframe-analysis).plan for actionable names. Cross-check the stop with stop-loss-strategies and the size
with position-sizing.trailing-stops: breakeven at 1R, trail from 2R.
Exit fast if price closes back under the pivot on heavy volume within a few sessions.SYMBOL — date, close | trend 6/6 | base VCP A | pre-breakout (−2.1% vs pivot)
T1 20% → T2 10% → T3 5% | dry-up 0.40x | pivot ₹P | last low ₹L
Trigger ₹T | chase ≤ ₹C | stop ₹S (x% , capped?) | qty N (₹value, y% of capital) | risk ₹R
Targets 2R ₹.. / 3R ₹.. (net of charges) | band check | tick
Orders: GTT buy (trigger/limit) → GTT OCO (stop/target); DAY SL alternative
Checklist: regime, surveillance, results date, delivery %, liquidity
Educational analysis, not investment advice.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
breakout-trading, stage-2, vcp, nse-stocks, minervini, technical-analysis
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.
/broker-integrationConnect Claude to Indian brokers and use them safely: official MCP servers for Groww, Zerodha
Kite, Dhan, Upstox, Fyers and Kotak Neo (endpoints, auth, read vs order capabilities as of Oct 2026),
tool discovery and capability mapping, saving candles for the analysis scripts, a mandatory
order-confirmation protocol, SEBI retail-algo/static-IP rules, and data fallbacks (yfinance, CSV).
Use when the user asks to connect or set up Groww/Zerodha/Kite/Dhan/Upstox/Fyers/Angel One, "fetch my
holdings/positions", "get live price", "place/modify/cancel an order", "set a GTT", "why was my order
rejected", or when another skill needs live data.
2 plugins ship this exact skill · first indexed Nov 1, 2026
Other plugins' skills for the same job