OPEN-SOURCE SCRIPT
RSI Z-Score + Table

How It Works
RSI Calculation
The standard RSI is computed over a user-defined period (default: 14), measuring the strength of recent price movements.
Z-Score Transformation
The RSI is then normalized using the Z-Score formula:
ini
Kopieren
Bearbeiten
Z = (RSI - Mean) / Standard Deviation
This highlights whether RSI is unusually high or low compared to its historical behavior.
Smoothing
An optional EMA is applied to the Z-Score for smoother and more reliable signals (default: 10-period smoothing).
Z-Score Table
A real-time value of the RSI Z-Score is displayed in a table in the top-right of the indicator pane.
The value is clamped between +2 and -2
+2 aligns with strong overbought RSI conditions
-2 aligns with strong oversold RSI conditions
How to Use It
Buy Signal Potential: When the Z-Score drops below -1.5 or -2 → statistically oversold RSI
Sell Signal Potential: When the Z-Score rises above +1.5 or +2 → statistically overbought RSI
Use in Confluence: Combine with price action, trend filters, or other Z-Score indicators (e.g. OBV, VWAP, VIX) for SDCA or mean-reversion strategies
RSI Calculation
The standard RSI is computed over a user-defined period (default: 14), measuring the strength of recent price movements.
Z-Score Transformation
The RSI is then normalized using the Z-Score formula:
ini
Kopieren
Bearbeiten
Z = (RSI - Mean) / Standard Deviation
This highlights whether RSI is unusually high or low compared to its historical behavior.
Smoothing
An optional EMA is applied to the Z-Score for smoother and more reliable signals (default: 10-period smoothing).
Z-Score Table
A real-time value of the RSI Z-Score is displayed in a table in the top-right of the indicator pane.
The value is clamped between +2 and -2
+2 aligns with strong overbought RSI conditions
-2 aligns with strong oversold RSI conditions
How to Use It
Buy Signal Potential: When the Z-Score drops below -1.5 or -2 → statistically oversold RSI
Sell Signal Potential: When the Z-Score rises above +1.5 or +2 → statistically overbought RSI
Use in Confluence: Combine with price action, trend filters, or other Z-Score indicators (e.g. OBV, VWAP, VIX) for SDCA or mean-reversion strategies
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.