OPEN-SOURCE SCRIPT

RSI Divergence Method

Updated
█  OVERVIEW
This is a divergence indicator based on Relative Strength Index (RSI).
My attempt to make this indicator updated based on latest pine script features such as type, object and method.

█  FEATURES
1. Color of plot and label is based on contrast color of chart background. Able to customize color from style menu.
2. Big divergence (Regular Divergence) is based on lime / red color.
3. Small divergence (Hidden Divergence) is based on contrast color of chart background.

█  EXAMPLES / USAGES
snapshot
snapshot
Release Notes
Correction for overlay.
Release Notes
  • Add reference to prevent wrong historical data
  • Correction : bigBear false, kidBear : false
  • Compare with built-in Divergence Indicator for better understanding
DivergenceeducationalmethodobjectOscillatorsRelative Strength Index (RSI)TYPE

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?


Also on:

Disclaimer