RSI & Momentum
Momentum measures how fast and how persistently price has been moving. The Relative Strength Index (RSI) compresses recent up-moves and down-moves into a single number from 0 to 100: high when gains have dominated, low when losses have. Readings above 70 and below 30 are traditionally called overbought and oversold, but in a strong trend RSI can stay there for a long time — so the number describes the move, it does not tell you it is about to end.

Wilder's 14-period RSI, step by step (hypothetical price changes).
Over the first 14 bars, the up-closes add up to 7.00 points and the down-closes to 3.50 points.
- First average gain = 7.00 ÷ 14 = 0.50. First average loss = 3.50 ÷ 14 = 0.25.
- RS = 0.50 ÷ 0.25 = 2.0. RSI = 100 − 100 ÷ (1 + 2) = 100 − 33.33 = 66.67.
From bar 15 on, Wilder's smoothing updates each average as (previous average × 13 + today's value) ÷ 14:
- Bar 15: +1.00. Average gain = (0.50 × 13 + 1.00) ÷ 14 = 0.5357. Average loss = (0.25 × 13 + 0) ÷ 14 = 0.2321. RS = 2.308; RSI = 69.77.
- Bar 16: −0.80. Average gain = (0.5357 × 13 + 0) ÷ 14 = 0.4974. Average loss = (0.2321 × 13 + 0.80) ÷ 14 = 0.2727. RS = 1.824; RSI = 64.59.
- Bar 17: +0.30 → RSI 65.62. Bar 18: −1.20 → RSI 58.31.
Notice how one 0.80 down-bar pulled RSI down five points: the reading reflects both the size and the balance of recent moves.
- Bar 15 — +1.00 up-bar lifts RSI toward 70.
- Bar 18 — −1.20 down-bar drops it below 60.
Exact arithmetic using Wilder's smoothing on the hypothetical price changes in the demo. Not real market data.
Where RSI comes from
J. Welles Wilder Jr. introduced RSI in 1978. The calculation:
- For each bar, record the gain (close − previous close, if positive) or the loss (the absolute value, if negative). A bar is one or the other, never both.
- The first average gain and loss are simple averages over 14 bars.
- After that, each average is smoothed: (previous average × 13 + current value) ÷ 14. This is Wilder's smoothing, equivalent to an exponential average with a weight of 1/14 on the newest bar.
- RS = average gain ÷ average loss. RSI = 100 − 100 ÷ (1 + RS).
If there were no losses at all, the average loss is zero and RSI is 100; with no gains, RSI is 0. Some platforms use simple averages instead of Wilder's smoothing, which gives different values — check which method yours uses before comparing numbers.
Reading the levels
The 70/30 thresholds come from Wilder's original work. Many traders shift them for trending markets (80/20) or shorter periods. The key point: an RSI above 70 says recent gains have been large and consistent. In a strong trend that is exactly what you would expect, and it can persist for weeks. Shorting a market because RSI is above 70 is fighting the very strength the indicator is measuring.
RSI as a trend filter
A more useful reading is where RSI holds during pullbacks. In a healthy uptrend, pullbacks often bottom with RSI around 40–50 rather than reaching 30. In a downtrend, rallies often stall around 50–60. When an uptrend's pullback drives RSI well below 40, or a downtrend's bounce pushes it above 60, the trend's character may be changing.
Divergence
- Bearish divergence: price makes a higher high, RSI makes a lower high. The new high came with less momentum.
- Bullish divergence: price makes a lower low, RSI makes a higher low. Selling pressure is easing.
Divergence can persist through several new highs or lows before price turns — or price may never turn at all. Use it to tighten stops, take partial profits or avoid adding, and look for price structure (a break of a swing low or high) to confirm.
Other momentum tools
- Stochastic oscillator (George Lane): %K = (close − lowest low of N bars) ÷ (highest high of N − lowest low of N) × 100, typically N = 14, with %D as a 3-period average of %K. It shows where the close sits in the recent range. Example: 14-bar high 60, low 50, close 58 → %K = (58 − 50) ÷ (60 − 50) × 100 = 80.
- Rate of change (ROC): (close ÷ close N bars ago − 1) × 100. A close of 105 versus 100 ten bars ago gives ROC(10) = 5%.
- Momentum: close − close N bars ago, in price units.
All of these measure the same underlying thing — speed of price change — in slightly different ways. Using several at once adds little; pick one and learn it well.
Choosing the period
Fourteen is Wilder's default and the one most traders watch, which is a reason to keep it. Shorter periods, such as 2 to 9, make RSI far more sensitive: it reaches extreme readings more often and swings between them quickly. Longer periods, such as 21 or 25, make it smoother and rarely extreme.
There is a direct trade-off. A shorter RSI gives more signals, earlier, with more false ones; a longer RSI gives fewer, later, more reliable-looking ones that may arrive after the move. Neither is better in general. What matters is that the period matches your holding time and that you keep it fixed long enough to learn how it behaves in the markets you trade.
Whatever you choose, remember the smoothing: RSI's average gain and loss carry information from long before the last 14 bars, so a value can differ slightly depending on how much history your platform loaded.
Common mistakes
- Shorting every reading above 70 in a strong uptrend.
- Comparing RSI values across platforms that use different smoothing methods.
- Trading divergence without a price trigger.
- Changing the period until past signals look perfect.
- Stacking several momentum indicators that all say the same thing.
1. Average gain is 0.60 and average loss is 0.20. What is RSI?
2. Previous average loss is 0.28 and today's bar is a 0.70 loss. Using Wilder's 14-period smoothing, what is the new average loss?
3. Price makes a higher high while RSI makes a lower high. What is the sensible response?
4. 14-bar high 80, low 70, close 72. What is the stochastic %K?