Skip to Content

RSI

RSI (Relative Strength Index) is an oscillator from 0 to 100 that compares the average rise and the average fall of the price over the chosen period. It shows how one-sided the move has been over the last bars; scalpers watch RSI to judge whether a move is stretched or losing strength.

RSI is drawn in a separate area below the chart.

How it is calculated

  1. For each bar, the price change from the previous bar is taken: a rise goes to “gain”, a fall (as an absolute value) goes to “loss”.
  2. Gain and loss are smoothed with Wilder’s method (RMA with a factor of 1/period). The starting value is the simple average of the first changes over the period.
  3. RSI = 100 − 100 / (1 + average gain / average loss). If the average loss is zero, RSI equals 100.

The first value appears once there are as many price changes as set in Period. The horizontal levels 70 and 30 are drawn as guides; they do not affect the calculation.

Parameters

ParameterDescriptionDefault
PeriodHow many bars take part in the smoothing.14
SourceThe bar price used in the calculation: Close — the close, Median — (High + Low) / 2, Typical — (High + Low + Close) / 3.Close

Plots

ParameterDescriptionDefault
RSIThe RSI line.Orange, solid, width 1

Levels

ParameterDescriptionDefault
UpperThe upper horizontal level.70, blue
LowerThe lower horizontal level.30, blue

Style

The RSI line has the Plot (show the line), Label (show the last value on the right scale), Color, Width (1–5) and Style (Solid, Dashes, Dots) fields.

Each level has the Show, Value, Color, Width and Style fields. A visible level shows its value on the right scale.

How to add an indicator to the chart is described in Adding an indicator; parameters are changed in the indicator manager.

Last updated on