Skip to main content
skill CX Codex

fibonacci-trading — Claude Code skill for Fibonacci levels

The fibonacci-trading Claude Code skill calculates Fibonacci retracement zones and extension targets for NSE/BSE stocks and indices. It activates for pullback-entry questions or requests to calculate levels from a swing high and low.

MIT ★ 69 updated 2026-11-13

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india
/plugin install india-trading-skills@india-trading-skills
Open on GitHub

What fibonacci-trading does

The skill calculates Fibonacci retracement zones and extension targets for NSE/BSE stocks and indices. It can detect a large swing automatically or use supplied high and low values; --pivot adds trend-based targets measured from the pullback point.

The analysis can compare levels with moving averages, support and resistance, round prices, and high open-interest option strikes. Treat each level as a zone that needs a price reaction, not as a standalone signal. The script requires python3 and ../technical-analysis/scripts/ta.py; input can come from a symbol, CSV, or candle data. Split-adjusted prices are required, since a split within the selected swing distorts the levels.

What it helps with

  • calculate retracement levels after a price move
  • find potential pullback entry zones
  • project extension targets from a retracement point
  • compare Fibonacci levels with support and moving averages

Example prompts for the agent

  • Calculate Fibonacci levels for NIFTY using its latest major swing.
  • Find pullback zones for a move with a high of 24000 and a low of 22000.
  • Project extension targets from pullback point 23200 for the move from 22000 to 24000.

How to install fibonacci-trading

1Plugin marketplace

/plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india
/plugin install india-trading-skills@india-trading-skills

This installs the whole india-trading-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add Shubhamkumartrichy/claude-trading-skills-india --skill fibonacci-trading -a claude-code

3Manually: put the files in place

~/.claude/skills/fibonacci-trading/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fibonacci-trading/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about fibonacci-trading

How do I install fibonacci-trading in Claude Code?

Add the marketplace with /plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india, then install the skill with /plugin install india-trading-skills@india-trading-skills.

What does fibonacci-trading do?

It calculates Fibonacci retracement zones and extension targets for NSE/BSE stocks and indices. It can also compare those levels with factors such as moving averages and support zones.

What does fibonacci-trading need to run?

It requires python3, the ../technical-analysis/scripts/ta.py script, and instrument data supplied as a symbol, CSV, or candles. Prices adjusted for splits are needed for the calculation.

Source text

SKILL.md · MIT
---
name: fibonacci-trading
description: |
  Fibonacci retracement entry zones and extension targets for NSE/BSE stocks and indices, with
  automatic swing detection (ta.py fib), trend-based extensions from the pullback point, and
  confluence with moving averages, support/resistance, round numbers and option OI strikes.

  Use when the user asks: "fib levels for X", "Fibonacci retracement", "where to buy the pullback",
  "golden ratio / 61.8%", "Fib extension targets", "how far can NIFTY fall/rise from here", or gives
  a swing high and low to compute levels.
---

# Fibonacci Trading

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.

## Compute

```bash
# 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.

## Retracements (entry zones)

| 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.

## Extensions (targets)

| 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.

## Drawing rules
1. Use a **completed** swing of at least about 5% (stocks) or 3% (indices), not one still in progress.
2. Uptrend: anchor at the swing low and drag to the swing high. Downtrend: the reverse.
3. Use split-adjusted data. A bonus or split inside the swing ruins the levels.
4. Draw from more than one timeframe. Where weekly and daily Fib levels overlap is a strong zone.

## Confluence (strength ladder)

| 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 |

## Rules
1. Treat each level as a zone (±1% for stocks, ±0.5% for indices).
2. Wait for a reaction candle in the zone (hammer, engulfing, 75-min reversal).
3. Stop goes beyond the next Fib level or the swing extreme, with a buffer of at least 1 ATR.
4. Take partial profits at 127.2%, trail the rest (`trailing-stops`).
5. Check R:R after costs before entering (`risk-reward-ratio`).

© Shubham Kumar · MIT · Shubhamkumartrichy/claude-trading-skills-india

Similar skills

All skills for Finance and business →

From the same set36

The whole set →
india-trading-skills The india-trading-skills Claude Code plugin analyzes NSE and BSE equities, F&O, trading costs, and Indian taxes. Ask about a stock, options setup, or portfolio to get calculations and market analysis. ★ 69repo stars risk-reward-ratio The risk-reward-ratio Claude Code skill evaluates trade risk and potential returns after costs. It calculates R multiples, breakeven win rate, and expectancy for entries, stops, and targets. CX Codex +1 ★ 69repo stars rsi-divergence The rsi-divergence Claude Code skill detects RSI(14) divergences on NSE/BSE stocks and indices. It activates for questions about bullish or bearish divergence and whether momentum confirms a new high or low. CX Codex +1 ★ 69repo stars trailing-stops A Claude Code skill for calculating trailing stops on NSE/BSE positions. It activates when a trade moves into profit and the stop needs an update. CX Codex +1 ★ 69repo stars multi-timeframe-analysis The multi-timeframe-analysis Claude Code skill reads a stock or index across multiple timeframes. It compares the higher-timeframe bias with a daily setup and entry timing on shorter bars. CX Codex +1 ★ 69repo stars stop-loss-strategies The stop-loss-strategies Claude Code skill helps set initial stops for Indian equities and F&O trades. It covers chart levels, position risk, and order execution. CX Codex +1 ★ 69repo stars fundamental-screening The fundamental-screening Claude Code skill screens Indian listed companies for fundamentals and governance risks. It runs on requests to assess a company, review quarterly results, or compare stocks. CX Codex +1 ★ 69repo stars ipo-analysis The ipo-analysis Claude Code skill evaluates Indian mainboard and SME IPOs. It activates for questions about applying, subscription figures, allotment chances, or listing dates. CX Codex +1 ★ 69repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open