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
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。