(CD|RS) Caruso Divergence Relative Strength

This indicator allows you to select both your benchmark for comparing against as well as how far back to make the analysis by selecting the pivot lookback (how many prior ‘pivots’ or ‘market lows’ back to compare against).
Divergences can appear when markets are weak, and they make lower lows, but they can also appear in uptrends as stocks and indexes make higher highs. CD|RS also identifies when RS takes place “On Strength.” If the security and its benchmark both decline but the security can make new highs above its prior peak before the benchmark, it is once again displaying relative strength. Therefore CD|RS is helpful in finding Divergence Relative Strength in both up and down trends.
CD|RS works on any timeframe.
CD|RS has an accompanying indicator called CD|RS Signal which helps display the divergence in a different format and can be placed in a separate pane if the user wishes to keep the price chart clean.
■ Support for all symbol types.
■ Add option to change label size.
■ Add option to change color for RT and OS.
■ Add option to change line width for RT, OS and HL.
Invite-only script
Only users authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact CarusoInsights 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 authorized by the author have access to this script, and this usually requires payment. You can add the script to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author — learn more here. For more details, follow the author's instructions below or contact CarusoInsights 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.