Logo: Technical Analysis

Technical Analysis

Communautéit
Shubhamkumartrichy
technical-analysis

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.

Iwwersiicht

EditeurShubhamkumartrichy
Repositoryclaude-trading-skills-india
Skill-Nummtechnical-analysis
Stären
57
Forks
11
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Shubhamkumartrichy huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Technical Analysis an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/technical-analysis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Shubhamkumartrichy/claude-trading-skills-india.git /tmp/claude-trading-skills-india
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills-india/skills/technical-analysis .claude/skills/technical-analysis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Technical Analysis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Technical Analysis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Technical Analysis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

PriceVolumeRead
UpRisingHealthy advance
UpFallingWeak rally, suspect
DownRisingDistribution, trend acceleration
DownFallingSelling 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:

IndicatorBullishBearishNeutral
RSI(14)>50 and rising; rising out of <30<50 and falling; falling from >7040–60 flat
MACD(12,26,9)histogram >0 and growinghistogram <0 and growingnear zero
Bollinger(20,2)%B 0.5–1 (upper half)%B 0–0.5squeeze 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–80mid-range
MA alignmentstacked upstacked downmixed

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.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Technical Analysis?

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

Firwat Technical Analysis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Technical Analysis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Technical Analysis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/technical-analysis an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Technical Analysis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Technical Analysis benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Technical Analysis domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Technical Analysis gratis?

Jo. Shubhamkumartrichy huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇