Logo: Momentum Scanner

Momentum Scanner

Communautéit
Shubhamkumartrichy
momentum-scanner

Short-term momentum on NSE/BSE stocks across a whole universe: momentum-burst days (a 4%+ up-close out of a quiet base on rising volume, near the high, above a rising 50 DMA, not already extended), episodic pivots (a 5%+ opening gap on 3x+ volume that holds the gap-day low, with a day-1/day-2 read and a catalyst checklist), and a 1-99 relative-strength rating with the RS line vs NIFTY. Flags upper-circuit closes, 2%/5% band stocks and low delivery, applies a ₹-crore liquidity floor, then ranks a short watchlist and hands the best names to breakout-planner. momentum.py works offline from CSVs. Use when the user asks: "which stocks broke out today", "find momentum bursts", "4% breakout scan", "stocks gapping up on results", "episodic pivot", "gap-up on volume after results", "which stocks have the best relative strength", "RS rating for my watchlist", "RS line new high", "momentum watchlist for this week", or "what's leading the market".

Iwwersiicht

EditeurShubhamkumartrichy
Repositoryclaude-trading-skills-india
Skill-Nummmomentum-scanner
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 Momentum Scanner 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/momentum-scanner
  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/momentum-scanner .claude/skills/momentum-scanner
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Momentum Scanner 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 Momentum Scanner automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Momentum Scanner 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.

Momentum Scanner (NSE/BSE)

Find what is moving now: a burst out of a quiet base, a news gap the market re-prices, or a leader whose RS line makes a new high before its price. This skill finds candidates; breakout-planner reads the base and builds the order.

Commands

bash
python3 scripts/momentum.py burst --csv-dir data/ --days 5 --show-rejects
python3 scripts/momentum.py pivot --csv-dir data/ --catalyst DIXON=results --catalyst KAYNES=order-win
python3 scripts/momentum.py rs --csv-dir data/ --benchmark-csv data/nifty.csv --top 20
python3 scripts/momentum.py scan --csv-dir data/ --benchmark-csv nifty.csv --bands bands.csv --regime confirmed
python3 scripts/momentum.py scan --symbols DIXON,KAYNES,TRENT,POLYCAB --benchmark NIFTY   # yfinance

The universe flags match breakout.py scan: --csv-dir + --pattern (file name = symbol), --csv FILE (repeatable) or --symbols. Also --as-of YYYY-MM-DD (replay a date), --min-turnover-cr (5), --bands FILE (SYMBOL,band with 2/5/10/20, or 0 for F&O names with no fixed band) and --json. Use 260+ daily bars (64 is the minimum for RS). Blank or zero candles are skipped. Bad input exits 2 with a one-line error:.

Reading burst (last 5 sessions, --days)

TestDefault (flag)
MoveClose ≥ +4% vs the previous close (--min-move-pct)
VolumeAbove the previous session and above the 50-day average (the 50 sessions before)
CloseIn the top 70% of the day's range (--min-close-pos)
Quiet base3+ sessions right before it inside an 8% high-low band (--min-base-days, --max-base-pct), with daily ranges no wider than the 20 sessions before (--max-range-ratio 1.0)
Not extendedUp no more than 6% in the 3 sessions before (--max-run-pct)
TrendClose above a 50 DMA that is higher than 10 sessions ago
Liquidity≥ ₹5 crore average traded value over the 20 sessions before the burst, so a one-day spike can't pass an illiquid stock

Score /100: move 25, volume 20, close 15, base length 10, range contraction 15, 50 DMA above 200 DMA 10, delivery at or above average 5, minus flag penalties. Plan reference: buy above the burst-day high, stop at its low. A burst is a 3-5 day trade: book partials fast, exit if the low breaks. --show-rejects lists near-misses and why (extended, illiquid, no base).

Reading pivot (last 10 sessions)

Open ≥ 5% above the previous close (--min-gap-pct) on ≥ 3× the 50-day volume (--min-vol-mult), with no close below the gap-day low since. Day 1: strong if it closed above the open near the high, weak if sellers took it back to the low. Day 2: follow-through, holding, tested the low, or failed. A gap that gets filled, or a stock already up 40%+ in the 60 sessions before, scores lower. The open comes from NSE's pre-open call auction (orders 09:00-09:08, trading from 09:15), so don't chase the first minutes. Buy above the gap-day high or the opening-range high, stop under the gap-day low.

Catalyst checklist. Pass what you have verified: --catalyst SYM=results|order-win|block-deal|approval|rating-upgrade|other (a bare --catalyst results applies to every name). Results beats with margin expansion and order wins large against revenue carry the most weight. For a block deal, check who sold. A gap with no catalyst is a burst, not a pivot, and in small caps it can be operator-driven.

Reading rs

Weighted return = 0.4 × 3-month + 0.2 × 6-month + 0.2 × 9-month + 0.2 × 12-month (63/126/189/252 sessions, cumulative). The latest quarter sits inside all four, so recent strength counts most. The rating is the percentile rank inside your universe, from 1 to 99. Rank NIFTY 500 or a full watchlist, because ten names give coarse ratings. Stocks with less history are re-weighted over the horizons they have and marked partial. With a benchmark, the RS line (stock ÷ NIFTY) is checked for a new 52-week high in the last 5 sessions (--rs-high-days). New high ahead of price is the leader's tell. A price high without an RS-line high is a laggard riding the index. The output also shows where the benchmark itself would rate (use NIFTY Midcap 150 for midcaps).

scan: the watchlist

Bursts, pivots and liquid RS leaders (RS ≥ 85 --leader-rs, within 10% of the high, above the 50 DMA, RS line at a high) go into one list ranked by signal strength (60%), RS rating (30%) and RS-line and high bonuses, minus circuit and band penalties. Each name gets a one-line reason. The top tradable names (no circuit or band flag) get a ready breakout.py check command (see ../breakout-planner/scripts/breakout.py) to find the base, pivot, stop and order. --regime takes the market-regime label and prints the gate: Correction means no new momentum trades.

India specifics

  • Results season (mid-Jan, Apr-May, Jul-Aug, Oct-Nov) is when most real pivots happen. Gaps around the result date are the signal. A burst just before results is a coin toss.
  • Upper circuit. A close at the high on a band-sized move (2/5/10/20%) is flagged UC? (inferred) or UC (band from --bands). Buyers queued unfilled, so the close isn't a price you could pay, and the next open usually gaps. --exclude-locked drops these closes.
  • 2%/5% bands (flag band2/band5, inferred when the tape keeps closing exactly ±2/5%) mean surveillance (ASM/GSM), trade-for-trade (BE/T2T) or SME. These names have no intraday or BTST, need 100% upfront margin and often have no MTF, and their exits can lock at the lower circuit. Operator and SME pumps live here: vertical moves, circuit after circuit, low delivery, no news. Skip them.
  • Delivery %. If the CSV has an NSE delivery column (DELIV_PER, % Dly Qt to Traded Qty, or delivery quantity), a burst on below-average delivery is flagged as intraday churn. --min-delivery-pct makes it a filter.
  • Expiry-week noise. Bursts in the week of the last-Tuesday F&O monthly expiry are tagged expiry-wk. Rollover and short covering in F&O names, and NIFTY's weekly Tuesday expiry, can fake one-day strength. Wait for a second day.

Workflow

  1. Run ../market-regime/scripts/regime.py status (market-regime). Trade bursts only when the regime allows new longs, and stay inside its position count.
  2. Run scan on the universe, read the reasons, and drop flagged names.
  3. Hand the top names to breakout-planner (check, then plan) for the stop, trigger and GTT.
  4. Size with position-sizing (../position-sizing/scripts/risk.py). Bursts are short trades, so check the round trip with trading-costs.
  5. Run the trading-discipline gate (../trading-discipline/scripts/discipline.py) before any order. After entry, trailing-stops takes over.

Output

 # Symbol  Close  RS  vs 52wH  Score  Signals [flags]   +  "Why:" one reason per name
Next: python3 .../breakout.py check --csv SYMBOL.csv --benchmark-csv nifty.csv

Limits: daily bars only, so there's no intraday pre-open data or live circuit status. Bands are inferred unless you pass --bands, and an F&O stock up exactly 10% at its high can be a false UC?. Catalysts are whatever you supply. RS ranks only the universe you give it.

Educational analysis, not investment advice.

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 Momentum Scanner?

Short-term momentum on NSE/BSE stocks across a whole universe: momentum-burst days (a 4%+ up-close out of a quiet base on rising volume, near the high, above a rising 50 DMA, not already extended), episodic pivots (a 5%+ opening gap on 3x+ volume that holds the gap-day low, with a day-1/day-2 read and a catalyst checklist), and a 1-99 relative-strength rating with the RS line vs NIFTY. Flags upper-circuit closes, 2%/5% band stocks and low delivery, applies a ₹-crore liquidity floor, then ranks a short watchlist and hands the best names to breakout-planner. momentum.py works offline from CSV...

Firwat Momentum Scanner op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Momentum Scanner 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 Momentum Scanner 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/momentum-scanner 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 Momentum Scanner 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 Momentum Scanner benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Momentum Scanner 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 Momentum Scanner 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 👇