/india-trading-skills:fibonacci-tradingfrom india-trading-skills
Computes Fibonacci retracement entry zones and extension targets for NSE/BSE stocks and indices using ta.py fib, with automatic swing detection and confluence from moving averages, support/resistance, round numbers, and option OI strikes.
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.
None: SKILL.md is the whole skill.
Fibonacci levels mark zones where pullbacks often pause and where extended moves often stall. Use them as zones that need confirmation, never as standalone signals.
# Manual swing (e.g. NIFTY rallied 22,000 → 24,000)
python3 ../technical-analysis/scripts/ta.py fib --high 24000 --low 22000 --trend up
# Add the pullback low (point C) for trend-based extension targets
python3 ../technical-analysis/scripts/ta.py fib --high 24000 --low 22000 --trend up --pivot 23200
# Down-swing (rally retracements are sell zones)
python3 ../technical-analysis/scripts/ta.py fib --high 24000 --low 22000 --trend down
# Automatic: largest swing in the last 120 bars, with current price position
python3 ../technical-analysis/scripts/ta.py fib --symbol NIFTY # or --csv / --candles
The user's phrasing "from 24,000 to 22,000" means a down-swing (high first). Draw retracements upward from the low.
| Level | Character | Use |
|---|---|---|
| 23.6% | Shallow | Very strong trend; aggressive entries only |
| 38.2% | Normal | Standard pullback entry zone |
| 50.0% | Deep (not a true Fib ratio, widely watched) | Valid with confirmation |
| 61.8% | Golden ratio | Last good defence of the trend; best R:R if it holds |
| 78.6% | Very deep | Trend likely failing; tight stop or avoid |
The best zone in healthy trends is 38.2%–61.8% on falling volume, followed by a reversal candle. A close beyond 78.6% invalidates the swing.
| Level | Use |
|---|---|
| 100% | Measured move (AB = CD) |
| 127.2% | Conservative target, partial profit |
| 161.8% | Standard swing target |
| 200% / 261.8% | Strong trends only |
With --pivot (point C, the end of the retracement) the script projects trend-based extensions:
C ± (B − A) × level. Without it, extensions are measured from A, which is the classic extension beyond B.
| Combination | Strength |
|---|---|
| Fib alone | Moderate |
| Fib + horizontal S/R or gap zone | Strong |
| Fib + SMA50/SMA200 | Strong |
| Fib + round number (₹1,000; NIFTY 24,500) or a big option-OI strike | Strong (India-specific magnet) |
| Fib + S/R + MA, or multi-timeframe Fib overlap | Very strong |
trailing-stops).risk-reward-ratio).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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 1, 2026
Other plugins' skills for the same job