OPEN-SOURCE SCRIPT

Relative Strength Index with Percentile

303
📈 Relative Strength Index with Percentile Rank (RSI + Percentile)
This advanced RSI indicator adds a powerful percentile ranking system to the classic Relative Strength Index, providing deeper insight into current RSI values relative to recent history.

🔍 Key Features:
Standard RSI Calculation: Identifies overbought/oversold levels using a customizable period.

RSI Percentile (0–100%): Calculates where the current RSI value stands within a user-defined lookback period.

Dynamic Background Coloring:

🟩 Green when RSI percentile is above 80% (strong relative strength)

🟥 Red when RSI percentile is below 20% (strong relative weakness)

Optional Divergence Detection: Spot classic bullish and bearish divergences between price and RSI.

Smoothing Options: Apply various moving averages (SMA, EMA, RMA, etc.) to the RSI, with optional Bollinger Bands.

Flexible Settings: Full control over lookback periods, smoothing type, and band sensitivity.

🧠 Why Use RSI Percentile?
Traditional RSI values can become less informative during trending markets. By ranking the RSI as a percentile, you gain contextual insight into whether the current strength is unusually high or low compared to recent history, rather than just a fixed 70/30 threshold.

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.
OSZAR »