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
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.