Takashi Divergence (RSI) | 2nd Gen | [Alerts]

Divergence strategy signals a potential reversal point because directional momentum does not confirm price. A bullish divergence occurs when the underlying market makes a lower low and RSI forms a higher low: RSI does not confirm the lower low and this shows strengthening momentum. A bearish divergence forms when the market records a higher high and RSI forms a lower high: RSI does not confirm the new high and this shows weakening momentum.
Inputs
Divergence Sensitivity
Float input. Sets a threshold after when the RSI divergence is triggered.
RSI Length
Integer input. The default setting used by most traders for the RSI is 14. That means that the indicator will go back 14 periods or time frames based on the chart being used (14 days on a Daily chart , 14 hours on an hourly chart and so forth) and make its calculation based on that.
Cross Distance
Integer input. Value from RSI that above or below 50 that classifies bullish or bearish levels. By default 15, that means the script will be checking for positive divergence when RSI is below 35 (50-15) and negative divergence when RSI is above 75 (50+15).
Use High & Low
Bool input. If true uses high and low values as RSI source.
To get access to this and other scripts check links below.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact kaiomp directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact kaiomp directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Warning: please read our guide for invite-only scripts before requesting access.