Relative Strength Index (RSI) measures the strength of all upward movement against the strength of all downward movement in a specified time frame.
For mathematical formula of RSI is as follow:
- RSI = 100 - [100/(1+RS)]
- RS = average of n day's up closes / average of n day's down closes
1. Detect overbought and oversold condition
If RSI > 70, the market is considered to be overbought, a selling
signal is issued; if RSI < 30, the market is considered to be
oversold
2. Spot Divergence