OPEN-SOURCE SCRIPT

Chebyshev-Gauss RSI

369
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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.