OPEN-SOURCE SCRIPT

Chebyshev-Gauss RSI

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

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.