RSI with Divergences, Reverse Formulas, and Bull/Bear Zones

kylealberry Updated   
Regular RSI indicator that can underline divergences, turn green or red specifying user specified bull/bear zones, and with a label showing the price needed to turn bull/bear!

Specify the inputs:
+ RSI Length
+ Bull Threshold
+ Bear Threshold
+ Panel Position Offset

Also with toggle-able:
+ Bullish Divergence
+ Bearish Divergence
+ Hidden Bullish Divergence
+ Hidden Bearish Divergence

The zones included in the indicator are default and not meant to be used for all markets. The goal is to alter the bull/bear zones to find good breakout points and selloff points for your chosen security. Does not currently support automatic zone creation, or saving zones for each security (if that is even possible, may just need to create different layouts for each security).

Release Notes:
Added the following:
+ Moving average line added with custom settings
+ Toggle-able RSI and MA lines
+ Changed RSI color to be more visible
Release Notes:
  • Added adjustable overbought and oversold lines
  • Made the RSI line width bigger
  • Reduced transparency of the red/green colors
  • Added ability to specify decimal places on the label
  • Added ability to toggle zones on and off
  • Added ability to toggle label on and off
Release Notes:
  • Adjusted the label to be in a fixed position on the right side of the indicator
Release Notes:
  • Added the ability to change RSI line color
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?