Understand RSI and overbought - oversold
What is RSI?
Why it exists: Price alone doesn't tell you if a move is normal or extreme. RSI normalizes recent winning vs. losing days into a single number, making exhaustion visible.
Deriving the RSI Formula from First Principles
Step 1: Separate Gains and Losses
For each period , compute the price change:
Why? We need to know which days the bulls won and which days the bears won.
Split into:
- Gain — positive change or zero
- Loss — absolute value of negative change or zero
Why separate? RSI compares average winning strength to average losing strength. Mixing them would cancel out.
Step 2: Calculate Average Gain and Average Loss
Over the last periods (typically 14):
Why averages? A single big move might be a fluke. Averaging smooths out noise and reveals persistent momentum.
Step 3: Compute Relative Strength (RS)
Why this ratio?
- If RS = 3, bulls are winning 3× harder than bears → strong uptrend
- If RS = 0.5, bears are winning 2× harder → strong downtrend
- But RS is unbounded (0 to ∞), hard to interpret
Step 4: Normalize to 0–100 with the RSI Transform
Derivation of normalization: Start with:
Why? This gives the percentage of total movement that was upward.
Divide numerator and denominator by Avg Loss:
Rewrite:
Why the final form? Computationally cleaner. When RS → 0, RSI → 0. When RS → ∞, RSI → 100.
Overbought and Oversold Zones
Why 70/30? Empirical convention. Wilder observed that RSI > 70 preceded reversals ~60% of the time in range-bound markets. Not magic, just a heuristic.
Visual intuition:

Worked Example1: Calculate 3-Period RSI by Hand
Imagine closing prices: 100, 102, 101, 105, 104.
Period changes:
- 102 - 100 = +2 → Gain =2, Loss = 0
- 101 - 102 = -1 → Gain = 0, Loss = 1
- 105 - 101 = +4 → Gain = 4, Loss = 0
Averages (n=3):
RS:
RSI:
Why this step? RS = 6 means bulls won 6× harder. RSI = 85.71 → overbought zone, expect a pullback.
Worked Example 2: Interpreting Real Chart
Stock X: RSI climbs from 50 to 78over 5 days. Price rises 8%.
What's happening?
- Buyers are piling in (average gains > average losses)
- RSI > 70 → overbought territory
Two scenarios:
- Range-bound market: Likely reversal, sell signal
- Strong uptrend: RSI can stay overbought for weeks (see "RSI in trends" below)
Why this matters? Context determines signal quality. Blindly selling at70 in a bull market loses money.
Common Mistakes
Steel-man: In a powerful trend, RSI can ride 70–90 for months. The stock isn't exhausted, just strong.
Fix: Combine RSI with trend context. In uptrends, use 50as support. In ranges, use 70/30 as reversal zones.
Steel-man: RSI measures momentum (speed), not value. A stock at 1000 can be oversold.
Fix: RSI = rate of change. Fundamental value is separate. A cheap stock falling fast has low RSI.
Steel-man: Intraday noise swamps the signal. 14 minutes isn't enough to establish momentum in many stocks.
Fix: Match period to your horizon. Day traders: 5–9 period RSI on 5-min charts. Swing traders: 14-period on daily. Long-term: 21+ period on weekly.
RSI in Different Market Conditions
| Condition | RSI Behavior | Trading Strategy | |-----------|------------------| | Range-bound | Oscillates 30–70 | Buy at30, sell at 70 | | Strong uptrend | Stays60–90, rarely dips to 30 | Buy dips to 50, ignore overbought | | Strong downtrend | Stays 10–40, rarely reaches 70 | Sell rallies to 50, ignore oversold | | Low volatility | Narrow range (45–55) | RSI useless, wait for breakout |
Why these differences? Trends shift the center of gravity. In uptrends, "normal" RSI is 60, not 50.
Divergence: The Power Move
Why divergence works: Price is the scoreboard, RSI is the engine. If the engine is failing while the scoreboard still climbs, the climb won't last.
Analysis: Price climbs 8%, but RSI drops from 70 →50. Each new high is weaker. Sellers are gaining ground. Expect reversal.
Why this step? Lower RSI highs = each rally is less convincing. When RSI breaks 50, downtrend confirmed.
Active Recall Flashcards
#flashcards/stock-market
What does RSI measure? :: The momentum of recent gains vs. losses, normalized to 0–100. High RSI = strong recent gains.
Standard overbought/oversold thresholds :: RSI > 70 = overbought, RSI < 30 = oversold. But context matters (trend vs. range).
Formula for Relative Strength (RS)
RSI formula from RS
Why does RSI separate gains and losses?
Bullish divergence definition
Mistake: RSI > 70 always means sell :: Wrong in strong uptrends. RSI can stay 70+ for months. Use 50 as support in trends, 70 as reversal in ranges.
How to adjust RSI for day trading?
What happens to RSI in a strong uptrend?
RSI vs. price: what's the difference?
Recall Explain to a 12-Year-Old
Imagine you're tracking your friend's performance in daily video game matches. Some days they win, some days they lose. RSI is like asking: "Over the last 2 weeks, has my friend been winning way more than losing?"
If they won 10 out of 14 days and crushed it each time, their "momentum score" (RSI) would be really high—like 80 out of 100. That's "overbought" in stock terms: maybe they've been lucky and are due for a bad day.
If they lost 12 out of 14 days, their score would be low—like 20. That's "oversold": they've been beaten up so much, maybe they're due for a comeback.
RSI doesn't tell you if the game is easy or hard (that's the stock actual price or value). It just tells you: "Has this player been on fire or in a slump lately?"
Or: Relax SellingI**mmediately—check if it's a trend or just a hot streak.
Connections
- 3.4.01-Introduction-to-Momentum-Indicators — RSI is a momentum oscillator; fits in this family
- 3.4.04-Stochastic-Oscillator — Another overbought/oversold indicator, compares to high/low range
- 3.4.07-Divergence-Trading — RSI divergence is a powerful reversal signal
- 2.3.05-Support-and-Resistance — Use RSI with S&R levels for confluence
- 3.2.02-Moving-Average-Crossovers — Combine RSI with MA to filter false signals in trends
- 4.1.03-Risk-Reward-Ratio — Don't trade RSI alone; confirm with risk management
Concept Map
Hinglish (regional understanding)
Intuition Hinglish mein samjho
RSI ka matlab hai Relative Strength Index—yeh ek momentum indicator hai jo bata hai ki stock recent weeks mein kitna jeet raha hai ya haar raha hai. Socho kiek scoreboard hai: jab stock zyada din upar jata hai (gains), toh RSI 70+ ko touch karta hai, matlab "overbought"—buyers thak gaye hain, ab selling pressure aa sakta hai. Ulta, jab stock bahut gir raha ho (losses), RSI 30 ke neeche chala jata hai, matlab "oversold"—ab buyers vapas aa sakte hain.
Formula simple hai: pehle calculate karo average gain aur average loss (14 din ka usually), phir RS = avg gain / avg loss. RSI = 100 - 100/(1+RS). Is formula se0 se 100 ka scale milta hai. Trader log70 ke upar dekhke sochte hain "price zyada chadh gayi, correction ayega," aur 30 ke neeche dekhke sochte hain "bahut gir gayi, bounce milega."
Lekin ek badi mistake:agar market strong uptrend mein hai, toh RSI 70+ rehte hue bhi price aur badhegi. Toh sirf RSI mat dekho, trend bhi samajho. Range-bound market mein 70/30 ache reversal signals hain, lekin trending market mein RSI ko 50 level pe support ke tarah use karo. Divergence bhi powerful hai:agar price naye high bana raha lekin RSI lower high bana raha, toh trend weak ho raha hai, reversal ki tayyari karo.
Yeh indicator day trading se lekar swing trading tak kaam ata hai, bas time frame adjust karna padta hai. 1-minute chart pe 14-period RSI ka koi sense nahi, 5-9 period lo. Daily chart pe 14 perfect hai.