Site icon PrestaShop | General Knowledge

RSI calculations Explained

The Relative Strength Index (RSI) is a momentum indicator used in technical analysis to measure the speed and magnitude of recent price changes. It ranges from 0 to 100.

The standard RSI formula is:

RSI = 100 – \frac{100}{1 + RS}

Where:

The intermediate calculation is:

RS = \frac{\text{Average Gain}}{\text{Average Loss}}

Step-by-step RSI Calculation (14-period example)

  1. Calculate price changes for each period.
  2. Separate gains and losses.
  3. Compute:
    • Average Gain
    • Average Loss
  4. Calculate RS.
  5. Plug RS into the RSI formula.

Example

Suppose:

Then:

[
RS = \frac{1.2}{0.8} = 1.5
]

[
RSI = 100 – \frac{100}{1+1.5}
]

[
RSI = 100 – \frac{100}{2.5}
]

[
RSI = 100 – 40 = 60
]

So the RSI is 60.

Interpretation

If you’d like, I can also show:

Exit mobile version