# RSI & Momentum

> Measuring whether a move is overextended.

Module: Technical Analysis — Finotaur Academy (free lesson)
Source: https://www.finotaur.com/academy/technical-analysis/rsi-and-momentum

## You'll be able to

Calculate a 14-period RSI with Wilder's smoothing, read it as trend context and divergence rather than as automatic buy and sell signals, and compare it with the stochastic oscillator and rate of change.

## In plain words

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.

```takeaways
- **RSI = 100 − 100 ÷ (1 + RS)**, where RS = average gain ÷ average loss over **14 periods** using **Wilder's smoothing**.
- 70/30 are **conventions**, not reversal triggers; strong trends hold RSI at extreme readings for long stretches.
- In uptrends RSI tends to stay above about 40; in downtrends below about 60 — a useful **trend filter**.
- **Divergence** warns that momentum is fading; it is a reason to manage risk, not a timing signal.
```

## Quick demo

**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.

```chart
{
  "type": "line",
  "title": "RSI(14) for the demo bars (arithmetic on hypothetical changes)",
  "data": [["Bar 14", 66.67], ["Bar 15", 69.77], ["Bar 16", 64.59], ["Bar 17", 65.62], ["Bar 18", 58.31]],
  "highlight": ["Bar 15", "Bar 18"],
  "notes": { "Bar 15": "+1.00 up-bar lifts RSI toward 70.", "Bar 18": "−1.20 down-bar drops it below 60." },
  "caption": "Exact arithmetic using Wilder's smoothing on the hypothetical price changes in the demo. Not real market data."
}
```

## Full explanation

### Where RSI comes from

J. Welles Wilder Jr. introduced RSI in 1978. The calculation:

1. 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.
2. The first average gain and loss are simple averages over 14 bars.
3. 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.
4. 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

```stats
> 70 | Traditionally "overbought" | Gains have dominated; not a sell signal by itself
< 30 | Traditionally "oversold" | Losses have dominated; not a buy signal by itself
40–50 | Uptrend pullback zone | Strong uptrends often hold RSI above about 40
50–60 | Downtrend rally zone | Weak markets often fail below about 60
```

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.

```warning
Overbought does not mean "about to fall", and oversold does not mean "about to rise". In strong trends RSI can stay above 70 or below 30 for extended periods, and a series of short trades against an overbought reading can add up to a large loss. Combine RSI with price structure and a defined stop.
```

### 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.

```tip
Before acting on an RSI reading, label the market: trending up, trending down, or ranging. In a range, 70/30 fades can make sense with stops beyond the range. In a trend, use RSI pullback levels and divergence for risk management instead.
```

### 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.

```checklist
title: Using RSI responsibly
- Check the RSI settings: 14 periods, Wilder's smoothing, on closes.
- Label the market regime before reading the level.
- In trends, watch where RSI holds on pullbacks (about 40–50 up, 50–60 down).
- Note any divergence, then wait for a break in price structure.
- Define your stop from price levels, not from the indicator.
- Record the RSI reading at entry so you can review it later.
```

```quiz
[
  {
    "q": "Average gain is 0.60 and average loss is 0.20. What is RSI?",
    "options": ["60", "75", "80", "66.7"],
    "answer": 1,
    "why": "RS = 0.60 ÷ 0.20 = 3. RSI = 100 − 100 ÷ (1 + 3) = 100 − 25 = 75."
  },
  {
    "q": "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?",
    "options": ["0.30", "0.31", "0.49", "0.70"],
    "answer": 1,
    "why": "(0.28 × 13 + 0.70) ÷ 14 = (3.64 + 0.70) ÷ 14 = 4.34 ÷ 14 = 0.31."
  },
  {
    "q": "Price makes a higher high while RSI makes a lower high. What is the sensible response?",
    "options": ["Short immediately", "Treat it as a warning: manage risk and wait for price structure to break", "Ignore it", "Buy more"],
    "answer": 1,
    "why": "Bearish divergence shows weakening momentum but is not a timing signal. It can persist; confirmation comes from price."
  },
  {
    "q": "14-bar high 80, low 70, close 72. What is the stochastic %K?",
    "options": ["20", "28", "72", "80"],
    "answer": 0,
    "why": "%K = (72 − 70) ÷ (80 − 70) × 100 = 20."
  }
]
```
