Skip to main content
skill CX Codex

technical-analysis · shubhamkumartrichy — Claude Code skill for chart analysis

The technical-analysis Claude Code skill reads charts for NSE/BSE stocks and indices. The agent invokes it to assess trends, price levels, indicators, and volume.

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 technical-analysis does

The skill analyzes candles for Indian equities and indices, covering trend structure, support and resistance, gaps, volume, and delivery percentage. Its ta.py script calculates indicators and ATR-based stops, checks gap and circuit risks, and supports probabilistic scenarios. The agent uses it for requests about price action, chart levels, or indicators.

Candles can come from a CSV or broker MCP; fetching prices through yfinance requires that library. The script runs with python3 and has a calculation engine with no dependencies. SMA200 and 52-week levels require at least 250 daily bars. The script warns about stale data.

What it helps with

  • read trend direction from swing highs and lows
  • locate nearby support and resistance
  • compare RSI, MACD, ADX, and other indicator signals
  • check volume, delivery percentage, and overnight gap risk

Example prompts for the agent

  • Analyze the trend and nearby support and resistance for RELIANCE.
  • Read the indicators and volume for NIFTY using the latest candles.
  • Give me BANKNIFTY price scenarios that account for gaps and ATR stops.

How to install technical-analysis

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 technical-analysis -a claude-code

3Manually: put the files in place

~/.claude/skills/technical-analysis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/technical-analysis/

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

Questions about technical-analysis

How do I install technical-analysis in Claude Code?

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

What does technical-analysis do?

It analyzes NSE/BSE stock and index charts, including trends, price levels, volume, and technical indicators, then lays out probabilistic scenarios.

What does technical-analysis need to run?

It needs Python 3 and candle data from a CSV, broker MCP, or yfinance. Install the yfinance library to fetch prices through that service.

Source text

SKILL.md · MIT
---
name: technical-analysis
description: |
  Systematic chart reading for NSE/BSE stocks and indices: trend and moving-average alignment,
  swing structure, support/resistance clusters, unfilled gaps, volume and delivery %, an indicator
  dashboard (RSI, MACD, Bollinger, ADX, Stochastic), ATR stops, circuit and gap-risk checks, and
  probabilistic scenarios. Ships a zero-dependency engine (ta.py) that reads CSV, broker-MCP candles
  or fetches via yfinance, verified against the `ta` library.

  Use when the user asks: "what's the trend on X", "support and resistance for X", "is X bullish or
  bearish", "indicators for X", "chart analysis", "volume analysis", "levels for NIFTY/BANKNIFTY", or
  any interpretation of price action on Indian equities and indices.
---

# Technical Analysis (NSE/BSE)

Read the chart systematically and report every indicator, not only the ones that agree with a
bias. Let the script do the arithmetic. Your job is interpretation and context.

## 1. Get candles

Pick the first option that works:

```bash
# A. Broker MCP: save the candle response to a JSON file, then
python3 scripts/ta.py summary --candles candles.json --symbol RELIANCE
# B. yfinance (pip install yfinance). NSE stocks auto-map to .NS; indices: NIFTY, BANKNIFTY, SENSEX, INDIAVIX, NIFTYIT …
python3 scripts/ta.py summary --symbol RELIANCE              # --exchange BSE for .BO
python3 scripts/ta.py fetch --symbol NIFTY --period 5y --out nifty.csv
# C. User/exported CSV (Date, Open, High, Low, Close, Volume, any case)
python3 scripts/ta.py summary --csv reliance.csv
```

Use at least 250 daily bars so SMA200 and 52-week levels exist. yfinance prices are split-adjusted
but not dividend-adjusted, which matches broker charts. **Check the last bar's date.** The script
warns when data is stale. Intraday bars from yfinance are limited (60 days for 15m, 730 days for 1h).

Other sub-commands: `levels`, `divergence`, `fib`, `mtf`, `indicators --rows 15`; add `--json` for raw output.

## 2. Trend

- **Structure:** higher highs and higher lows is an uptrend; lower highs and lower lows is a downtrend;
  anything else is a range. The script reports it from swing points (`--swing 5` = 5 bars each side).
- **MA alignment:** price > SMA20 > SMA50 > SMA200 is a strong uptrend, the reverse a strong downtrend,
  and mixed means transition or chop.
- **Golden or death cross** (SMA50 vs SMA200): the script reports recent crosses. It is a lagging
  confirmation, not an entry.
- **Relative strength:** compare the stock to NIFTY and to its sector index (NIFTYIT, NIFTYBANK,
  NIFTYAUTO, …). Leaders in a weak market and laggards in a strong one are different trades.

## 3. Support and resistance

- Swing-point **clusters** within ~1.5% (the script counts touches). Two or more touches is meaningful.
- **52-week high/low** and **round numbers** (₹1,000, ₹2,500; NIFTY 25,000; BANKNIFTY 55,000) act as
  magnets. Indian retail and option writers anchor heavily on round strikes.
- **Unfilled gaps:** gap-up zones act as support and gap-down zones as resistance. Overnight gaps are
  frequent because of GIFT Nifty and US cues.
- **Dynamic levels:** SMA20 (short), SMA50 (medium), SMA200 (major).
- **For indices and F&O stocks:** the largest call-OI strike tends to cap rallies and the largest put-OI
  strike tends to hold dips into expiry (see `fno-options-analysis`).

## 4. Volume and delivery

| Price | Volume | Read |
|---|---|---|
| Up | Rising | Healthy advance |
| Up | Falling | Weak rally, suspect |
| Down | Rising | Distribution, trend acceleration |
| Down | Falling | Selling exhaustion, bounce possible |
| Spike at support | — | Capitulation or absorption |
| Spike at resistance | — | Breakout attempt or distribution |

More than 1.5x the 20-day average is significant. **Delivery % is an India-specific edge.** NSE
publishes the delivery quantity as a percentage of traded quantity per stock per day (security-wise
delivery data, or the broker's "delivery %" field). A rising price with a rising delivery % means real
buyers taking delivery. A rising price with a low delivery % (below about 30% in large caps) is
intraday churn.

## 5. Indicator dashboard

The script grades each indicator bullish, bearish or neutral and counts them:

| Indicator | Bullish | Bearish | Neutral |
|---|---|---|---|
| RSI(14) | >50 and rising; rising out of <30 | <50 and falling; falling from >70 | 40–60 flat |
| MACD(12,26,9) | histogram >0 and growing | histogram <0 and growing | near zero |
| Bollinger(20,2) | %B 0.5–1 (upper half) | %B 0–0.5 | squeeze or walking the band |
| ADX(14) | >25 with +DI > −DI | >25 with −DI > +DI | <20 (no trend) |
| Stochastic(14,3,3) | %K crosses up below 20–30 | %K crosses down above 70–80 | mid-range |
| MA alignment | stacked up | stacked down | mixed |

Indicators are correlated (RSI, Stochastic and MACD all measure momentum). Five bullish signals is
not five independent confirmations. Weight structure and volume above the count.

## 6. India-specific checks (script prints these)

- **Circuit hit:** a close at the day's high or low exactly at a band (2/5/10/20%) means one-sided
  liquidity. The next day can gap again, and exits may be impossible in a lower circuit.
- **Gap statistics:** average and maximum overnight gap over 60 bars. If the stop is closer than the
  typical gap, it is decoration, not protection.
- **Event days:** quarterly results (the stock can move 5–15%), ex-dividend (mechanical price drop),
  bonus/split (check adjustment), index inclusion or exclusion, and F&O ban entry or exit.
- **Closing price is a 30-minute VWAP** (15:00–15:30) on NSE, so "closing basis" stops use that
  number, not the last tick.

## 7. Scenarios

Always give 2–3 scenarios whose probabilities sum to ~100%. Tilt toward the scenario with better
structure + volume + higher-timeframe agreement. Keep near-equal odds when evidence conflicts.

```
A — Bullish (xx%): trigger [daily close above ₹X on >1.5x volume] → targets ₹T1/₹T2; invalid below ₹S
B — Bearish (xx%): trigger [close below ₹S] → targets ₹…; invalid above ₹…
C — Range (xx%): ₹L–₹H for ~N sessions; breakout tell: [volume/delivery/ADX rising above 20]
```

## Output

Lead with the verdict and the data timestamp. Then trend, levels (nearest 2–3 each side with
touches), dashboard counts, volume and delivery, divergences, ATR and stop options, India checks, and
scenarios. Hand off to `position-sizing` and `stop-loss-strategies` when the user wants a trade plan.

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

Similar skills

All skills for Finance and business →

technical-analysis by other authors comes first.

technical-analysis omer-metin technical-analysis is a Claude Code skill that examines price action, chart patterns, and indicators. It activates for requests about RSI, MACD, support and resistance, trends, or candlesticks. CX Codex +1 2,100installs technical-analysis staskh technical-analysis is a Claude Code skill that calculates stock indicators and signals. It activates for requests about RSI, MACD, moving averages, or chart analysis. CX Codex +1 618installs sentimatix rishavdutta-kgp sentimatix gives an AI agent tools to examine NSE stocks through prices, financial news and technical indicators. Use it to research one company or compare two stocks. CX Codex +1 2,011installs Tapetide - Indian Stock Market MCP Tapetide-hq Tapetide - Indian Stock Market MCP connects AI assistants to NSE and BSE quotes, quarterly reports, and a stock screener. Useful for tracking more than 8,200 Indian equities and options directly in chat. CX Codex +1 ★ 151repo stars tijori-finance LaZZy0v0 tijori-finance connects your AI agent to 5,000+ Indian stocks on NSE and BSE. Pulls financial statements, segment revenue, operational metrics, and conference call transcripts. CX Codex +1 ★ 15repo stars india-stock-mcp Akhilgovind02 india-stock-mcp gives your agent NSE and BSE quotes, company fundamentals, mutual fund NAV, option chains and IPO lists. No API keys required. CX Codex +1 ★ 5repo stars technical-analyst tradermonty technical-analyst is a Claude Code skill that performs technical analysis on weekly chart images. It calculates support and resistance levels, trend strength, and probability-weighted price scenarios. CX Codex +1 4,500installs longbridge-technical longbridge longbridge-technical is a Claude Code skill for analyzing stock charts with technical methods, from candlestick patterns to Turtle Trading signals; it requires historical OHLCV data. CX Codex +1 4,200installs

From the same set36

The whole set →
trading-costs The trading-costs Claude Code skill calculates fees and statutory charges for Indian equity and F&O trades. It runs on requests to estimate costs, find breakeven prices, or compare brokers. CX Codex +1 ★ 69repo stars options-strategies This Claude Code skill helps select and assess options strategies for Indian markets. It activates for strategy selection, position management, or payoff calculations on multi-leg trades. CX Codex +1 ★ 69repo stars market-pulse The market-pulse Claude Code skill builds Indian market briefs for pre-market, intraday and closing checks. It responds to requests about GIFT Nifty, FII/DII flows, market breadth or the day’s wrap-up. CX Codex +1 ★ 69repo stars position-sizing The position-sizing Claude Code skill calculates position size and trade risk for Indian equities and F&O. It activates for questions about share or lot counts, risk per trade, and capital allocation. CX Codex +1 ★ 69repo stars broker-integration The broker-integration Claude Code skill connects Indian brokers through MCP servers and handles their market data and orders. It activates for broker setup, quote requests, and trade preparation. CX Codex +1 ★ 69repo stars indian-tax-for-traders The indian-tax-for-traders Claude Code skill explains Indian tax treatment of stock-market income for resident individuals. It helps classify trades, estimate tax, and choose an ITR form. CX Codex +1 ★ 69repo stars fno-options-analysis The fno-options-analysis Claude Code skill analyses Indian futures and options, including option chains, volatility, Greeks and expiries. It activates for questions about NIFTY, PCR, India VIX, margins or expiry rules. CX Codex +1 ★ 69repo stars breakout-planner breakout-planner — a Claude Code skill that evaluates breakout setups for NSE/BSE stocks and works out a trade plan. It responds to requests about Stage 2 trends, bases, entry points, or scanning a stock list. CX Codex +1 ★ 69repo stars

Project sponsors

Companies that keep this analytics open