OPEN-SOURCE SCRIPT

Chebyshev-Gauss RSI

188
The Chebyshev-Gauss RSI is a variant of the standard Relative Strength Index (RSI) that uses the Chebyshev-Gauss Moving Average (CG-MA) for smoothing gains and losses instead of a traditional Simple or Exponential Moving Average. This results in a more responsive and potentially smoother RSI line.

This version is enhanced with features from the built-in TradingView RSI indicator, including:
  • A selectable smoothing moving average of the RSI line.
  • Bollinger Bands based on the smoothing MA.
  • Automatic divergence detection.


How it works:
  1. It calculates the upward and downward price changes (gains and losses).
  2. It applies the Chebyshev-Gauss Moving Average to smooth these gains and losses over a specified lookback period.
  3. The smoothed values are used to calculate the Relative Strength (RS) and then the final RSI value.

Disclaimer

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.