What is RSI (the Relative Strength Index)?
By Ghost Man Trades · Last reviewed · Education only, not advice
RSI in plain English
RSI asks one question: over the last 14 periods, have the up moves been bigger than the down moves, and by how much? If almost every move has been up, RSI approaches 100. If almost every move has been down, it approaches 0. If gains and losses are about equal, it sits near 50.
J. Welles Wilder published RSI in his 1978 book New Concepts in Technical Trading Systems. He suggested 14 periods and described readings above 70 as overbought and below 30 as oversold. Those defaults are still what most charting platforms load.
The formula
- For each period, the gain is the rise from the previous close (0 if it fell), and the loss is the fall (0 if it rose), recorded as a positive number.
- First values: average gain = sum of gains over 14 periods ÷ 14. Average loss the same way.
- After that, Wilder smoothing: average gain = (previous average gain × 13 + current gain) ÷ 14. Same for losses.
- RS = average gain ÷ average loss.
- RSI = 100 − 100 ÷ (1 + RS).
Example (hypothetical numbers).
- Over the last 14 days, average gain = $1.20 and average loss = $0.80.
- RS = 1.20 ÷ 0.80 = 1.5. RSI = 100 − 100 ÷ 2.5 = 60.
- Tomorrow the stock rises $2.00 (gain 2.00, loss 0). New average gain = (1.20 × 13 + 2.00) ÷ 14 = 1.257. New average loss = (0.80 × 13 + 0) ÷ 14 = 0.743.
- RS = 1.257 ÷ 0.743 ≈ 1.69. RSI = 100 − 100 ÷ 2.69 ≈ 62.9.
- Now a weak stock: average gain $0.40, average loss $1.60. RS = 0.25 and RSI = 100 − 100 ÷ 1.25 = 20, deep in oversold territory.
Notice that one strong $2 day only lifted RSI from 60 to about 63. Wilder's smoothing makes the indicator steady, which is a feature, not a bug.
Common mistakes
- "RSI is over 70, so sell." In a strong uptrend, RSI can stay above 70 for weeks. Selling every overbought reading means selling the best stocks early. See overbought vs oversold.
- "RSI is under 30, so buy." A falling knife can stay oversold all the way down. Low RSI says the selling has been heavy, not that it is finished.
- Ignoring the timeframe. A daily RSI of 25 inside a weekly downtrend is a different situation from a daily 25 inside a weekly uptrend.
- Changing the length until it fits. Tuning RSI to 9 or 21 periods because it "worked" on one chart is curve-fitting. Test on many stocks and years.
- Calling divergence too early. Price making a new low while RSI makes a higher low can mean momentum is fading, but divergences can repeat several times before price turns. See divergence.
How Ghost Man uses this
Ghost Man does not trade RSI's 70/30 levels. We built our own 0 to 100 oscillator, the Ghost Wave, and we read it separately on the weekly and daily chart. Like RSI, it measures stretched momentum. Unlike a raw 30 crossing, a Ghost Man buy needs three things at once: the Ghost Wave turning up from 20 or lower, price near or below the 4-year average, and price not in the red zone at the top of its 1-year range.
The lesson we took from RSI is the one most traders skip: a low reading is a condition, not a trigger. We wait for the turn, and we require value underneath it. Even then, signals lose sometimes, and the rules have no stop loss, so position size does the protecting.
Related terms
- Overbought vs oversold · What do overbought and oversold mean?
- MACD · What is MACD (Moving Average Convergence Divergence)?
- Moving average (SMA vs EMA) · What is the difference between a simple (SMA) and exponential (EMA) moving average?
- Weekly vs daily chart (timeframes) · What is the difference between a weekly chart and a daily chart?
- Backtesting and survivorship bias · What is backtesting, and how does survivorship bias distort it?
- Average true range (ATR) · What is the average true range (ATR)?
- Divergence · What is divergence in trading (bullish and bearish)?
- Relative strength vs the S&P 500 · What is relative strength compared with the S&P 500?
- Stochastic oscillator · How is the stochastic oscillator calculated (%K, %D, fast vs slow)?
Learn it step by step in Swing School
- RSI (Relative Strength Index)
- What is an oscillator?
- Divergence: when price and momentum disagree
- How not to misuse oscillators
Frequently asked questions
What is a good RSI to buy?
There is no universal number. Readings under 30 mean recent losses have outweighed gains, not that the stock must rise. Many traders wait for RSI to turn back up, or combine it with trend and value, instead of buying just because it is low.
Is RSI the same as relative strength?
No. RSI measures one stock's gains against its own losses. Relative strength, in the comparative sense, measures one stock's performance against another stock or an index such as the S&P 500.
Why does my RSI differ from another website's?
Different smoothing methods, different starting points and different price data (adjusted or not) all shift the value. Wilder's original method uses his own smoothing, which most charting platforms follow.
What timeframe should I use RSI on?
Any. A 14-period RSI on a weekly chart looks back 14 weeks; on a daily chart, 14 trading days. Weekly readings change more slowly and generate fewer signals.
Does RSI work for crypto?
The math works on any price series. Crypto is more volatile, so RSI tends to hit extreme readings more often, and those readings are less meaningful on their own.
Sources
We check every definition and formula against these sources. Our own rules come from the Ghost Man scan code that runs this site.
- StockCharts ChartSchool: Relative Strength Index (RSI)
- J. Welles Wilder Jr., New Concepts in Technical Trading Systems (Trend Research, 1978), ISBN 9780894590276