# What is Relative Strength Index – RSI?

Relative Strength Index is a technical indicator used to chart the strength or weakness of a stock based on its closing prices for a specified trading period. For the given period, it compares the magnitude of gains and losses based on the principle of momentum. Momentum refers to the rate of rise or fall in prices. The RSE calculates the momentum as a ratio of higher closing prices to lower closing prices. Stocks that have more or stronger positive changes will have higher RSI.

The typical timeframe for calculating RSI is 14 days, and is measured on a scale of 0 to 100. The high and low levels are marked as 70 and 30.

**Formula:**

$RSI = 100 - \frac{100}{1+RS}$

Where, RS is the relative strength, ratio of average positive closes, and average negative closes for the defined period.

When the RSI crosses 70 levels, it suggests that the stock has been overbought and is overvalued. Therefore, it is time to sell and pull back. When RSE reaches 30 and below, it suggests that the stock is oversold, and is undervalued. Therefore, it is time to buy.

## Data Science in Finance: 9-Book Bundle

Master R and Python for financial data science with our comprehensive bundle of 9 ebooks.

### What's Included:

- Getting Started with R
- R Programming for Data Science
- Data Visualization with R
- Financial Time Series Analysis with R
- Quantitative Trading Strategies with R
- Derivatives with R
- Credit Risk Modelling With R
- Python for Data Science
- Machine Learning in Finance using Python

Each book includes PDFs, explanations, instructions, data files, and R code for all examples.

Get the Bundle for $39 (Regular $57)## Free Guides - Getting Started with R and Python

Enter your name and email address below and we will email you the guides for R programming and Python.