rsi-divergence
Skill36 starsChanged 8 months agoMITView on GitHub
RSI divergence identification and trading for NSE/BSE equities. Covers regular divergence (reversal signals) and hidden divergence (continuation signals) with confirmation rules.
- Installs packages
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
No dependencies required. Describe price and RSI patterns verbally and Claude identifies divergences.
- Distinctive: line 43
If price makes a new extreme but RSI doesn't — that's divergence
- Distinctive: line 89
Not standalone: Always combine with other evidence (S/R levels, volume, trend analysis).
- Distinctive: line 90
False divergences: If the RSI is in the 40-60 neutral zone, divergence signals are less meaningful.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Daily candles:
fetch_historical_candle_data(last 90-120 days) or user-provided - RSI(14) values:
get_historical_technical_indicatorsfrom Groww - For manual calculation via yfinance if needed:
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.
| Type | Price Makes | RSI Makes | Meaning |
| Bullish | Lower low | Higher low | Selling pressure fading — potential bottom |
| Bearish | Higher high | Lower high | Buying pressure fading — potential top |
How to Identify
- Find the last 2-3 swing lows (for bullish) or swing highs (for bearish) on the price chart
- Mark the corresponding RSI values at those same candles
- If price makes a new extreme but RSI doesn't — that's divergence
Strength Grading
| Signal | Strength |
| 2-point divergence (2 swings) | Standard |
| 3-point divergence (3 swings) | Strong |
| Divergence + oversold/overbought RSI | Stronger |
| Divergence + volume decline | Strongest |
Hidden Divergence (Continuation Signal)
Hidden divergence suggests the existing trend will continue after a pullback.
| Type | Price Makes | RSI Makes | Meaning |
| Bullish | Higher low | Lower low | Uptrend healthy — pullback is a buying opportunity |
| Bearish | Lower high | Higher high | Downtrend healthy — rally is a selling opportunity |
Hidden divergence is often overlooked but very powerful in trending markets.
Trading Divergences
Entry Strategy
- Identify the divergence on daily chart
- 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
- Enter on the close of the confirmation candle
- Stop-loss: Below the divergence low (bullish) or above the divergence high (bearish)
- 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 DOWNOther versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- SKE-Labs/agent-trading-skills★ 17same name
- Shubhamkumartrichy/claude-trading-skills-india★ 7same name
- IngAs8/ClaudeSkill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- fibonacci-tradingSkill
- multi-timeframe-analysisSkill
- nse-trading-toolkitSkill
- position-sizingSkill
- risk-reward-ratioSkill
- stop-loss-strategiesSkill
- technical-analysisSkill
- trailing-stopsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

