OPEN-SOURCE SCRIPT

RSI Multi Length With Divergence Alert [Skiploss]

Updated
This is a modified indicator base code from RSI Multi Length [LUX] and we will add some of functions by finding a classic/hidden divergence and alert.

The indicator returns information over RSI using multiple periods and calculates the percentage of overbought and oversold by overbought divided by oversold.

To find the divergence and hidden divergence we use base code from platform (Divergence Indicator) but change the input from normal to the average (RSI Multi Length).

RSI Settings
Maximum Length is maximum period.
Minimum Length is minimum period.
Overbought Level is value of the overbought level .
Oversold Level is value of the oversold level.
Source is input source of the indicator.

Divergence Settings
Pivot Right is value look back to the right side.
Pivot Left is value look back to the left side.
Max Range is maximum range value.
Min Range is minimum range value.

Alert Settings
It will be part of display of Divergence and Hidden Divergence.

Style Settings
Color of overbought/oversold/Bullish/Bearish which you can change as you wish.
Release Notes
Set default plot hline.
Release Notes
Add MA Line (RSI base MA) and default is off.
DivergencehiddendivergenceoverboughtoversoldRelative Strength Index (RSI)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer