The Relative Strength Index (RSI) is a momentum indicator used in technical analysis.
The RSI is calculated in two steps by first calculating the RSI as shown below. Next, once there are 14 periods (data points) available, the second step smooths the results by using the averages over the prior lookback period. Using the RSI as calculated, the RSI line is typically plotted beneath a securities price chart to highlight swings.