bhala-srinivash/nse-trading-skills

rsi-divergence

RSI divergence identification and trading for NSE/BSE equities.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/bhala-srinivash/nse-trading-skills --skill rsi-divergence

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

RSI Divergence

Divergences signal that momentum is fading — price is moving one way but the engine (RSI) is losing steam. They're early warnings, not guarantees.

Prerequisites

No dependencies required. Describe price and RSI patterns verbally and Claude identifies divergences. Enhanced with Groww MCP (RSI values, candles) or yfinance (pip install yfinance).

Data Needed

  1. Daily candles: fetch_historical_candle_data (last 90-120 days) or user-provided
  2. RSI(14) values: get_historical_technical_indicators from Groww
  3. For manual calculation via yfinance if needed:
python
   import yfinance as yf
   data = yf.download("SYMBOL.NS", period="6mo")
   # Calculate RSI from close prices

Regular Divergence (Reversal Signal)

Regular divergence suggests the current trend may be exhausting.

TypePrice MakesRSI MakesMeaning
BullishLower lowHigher lowSelling pressure fading — potential bottom
BearishHigher highLower highBuying pressure fading — potential top

How to Identify

  1. Find the last 2-3 swing lows (for bullish) or swing highs (for bearish) on the price chart
  2. Mark the corresponding RSI values at those same candles
  3. If price makes a new extreme but RSI doesn't — that's divergence

Strength Grading

SignalStrength
2-point divergence (2 swings)Standard
3-point divergence (3 swings)Strong
Divergence + oversold/overbought RSIStronger
Divergence + volume declineStrongest

Hidden Divergence (Continuation Signal)

Hidden divergence suggests the existing trend will continue after a pullback.

TypePrice MakesRSI MakesMeaning
BullishHigher lowLower lowUptrend healthy — pullback is a buying opportunity
BearishLower highHigher highDowntrend healthy — rally is a selling opportunity

Hidden divergence is often overlooked but very powerful in trending markets.

Trading Divergences

Entry Strategy

  1. Identify the divergence on daily chart
  2. Wait for confirmation — do NOT enter on divergence alone
  • Price breaks above the minor trendline connecting the swing points
  • RSI crosses above 30 (bullish) or below 70 (bearish)
  • A bullish/bearish engulfing candle at the divergence point
  1. Enter on the close of the confirmation candle
  2. Stop-loss: Below the divergence low (bullish) or above the divergence high (bearish)
  3. Target: Previous swing high/low, or use Fibonacci levels (→ fibonacci-trading skill)

Risk Management

Entry: Confirmation candle close
Stop: Below divergence swing low + 1% buffer
Target 1: Previous swing high (conservative)
Target 2: Fibonacci extension 127.2% (moderate)
Target 3: Fibonacci extension 161.8% (aggressive)

Important Caveats

  • Divergence can persist: In strong trends, you can see multiple divergences before price actually reverses. This is why confirmation is mandatory.
  • Timeframe matters: Daily divergences are more reliable than hourly. Weekly divergences are the most significant.
  • Not standalone: Always combine with other evidence (S/R levels, volume, trend analysis). Divergence is one input, not the whole thesis.
  • False divergences: If the RSI is in the 40-60 neutral zone, divergence signals are less meaningful. Best signals come from oversold (<30) or overbought (>70) zones.

Quick Reference

Bullish regular:  Price ↓↓  RSI ↗  → Potential reversal UP
Bearish regular:  Price ↑↑  RSI ↘  → Potential reversal DOWN
Bullish hidden:   Price ↗   RSI ↓↓ → Trend continues UP
Bearish hidden:   Price ↘   RSI ↑↑ → Trend continues DOWN
z tego samego repozytorium

Więcej Skills

Wszystkie Skills
bhala-srinivash
Społeczność

fibonacci-trading

Fibonacci retracement and extension trading for NSE/BSE equities. Covers entry zones using retracement levels, profit targets using extension levels, and confluence zone identification. Use when the user asks: "fib levels for [stock]", "Fibonacci retracement", "fib extensions", "where to enter on pullback", "what are the retracement levels", "golden ratio level", "Fibonacci targets", or any question about Fibonacci-based trading levels for Indian equities.

Instalacje / 1h
1
GitHub Stars
63
Aktualizacja
5 mar
bhala-srinivash
Społeczność

stop-loss-strategies

Stop-loss placement strategies for NSE/BSE equity trades. Covers structure-based, ATR-based, support/resistance-based, and moving average-based stops with buffer rules and hard limits. Use when the user asks: "where to set stop-loss", "stop-loss for [stock]", "how to protect this trade", "what's a good stop level", "risk management for [position]", or any question about initial stop-loss placement for Indian equity trades.

Instalacje / 1h
1
GitHub Stars
63
Aktualizacja
5 mar
bhala-srinivash
Społeczność

multi-timeframe-analysis

Multi-timeframe analysis using the 3-screen method for NSE/BSE equities. Higher timeframe sets bias, primary timeframe identifies setup, lower timeframe times the entry. Includes confluence scoring system. Use when the user asks: "what's the weekly trend", "daily vs weekly", "multi-timeframe check", "higher timeframe analysis", "3-screen analysis", "trend on different timeframes", "weekly bias for [stock]", or any question about analyzing a stock across multiple timeframes.

Instalacje / 1h
1
GitHub Stars
60
Aktualizacja
5 mar
bhala-srinivash
Społeczność

nse-trading-toolkit

Master orchestrator for Indian NSE/BSE equity trading analysis via Groww broker. Routes to specialized framework skills: technical analysis, position sizing, stop-loss, trailing stops, risk-reward, multi-timeframe, RSI divergence, and Fibonacci trading. Use this skill whenever the user asks to: analyze a stock, check a position, decide buy/sell/hold, plan entries/exits, or do any comprehensive trading analysis for Indian equities. Triggers on: "analyze [stock]", "should I buy/sell [stock]", "che

Instalacje / 1h
1
GitHub Stars
60
Aktualizacja
5 mar