OPEN-SOURCE SCRIPT
OBV Z-Score + Table

📘 OBV Z-Score — Indicator Description
Overview
This indicator converts the On-Balance Volume (OBV) into a Z-Score oscillator, providing a normalized statistical view of volume flow strength relative to its recent history.
How It Works
OBV Calculation
The On-Balance Volume accumulates volume based on price direction, showing whether volume is flowing into or out of an asset.
Z-Score Transformation
The OBV values are normalized via Z-Score:
ini
Kopieren
Bearbeiten
Z = (OBV - Mean) / Standard Deviation
This reveals how unusually strong or weak volume momentum is compared to recent norms.
Smoothing
An optional moving average smoothing (SMA, EMA, VWMA, etc.) can be applied for cleaner signals.
Z-Score Table
A live Z-Score value is displayed in a table on the top-right of the indicator pane, clamped between +2 and -2:
+2 indicates unusually high positive volume momentum
-2 indicates unusually high negative volume momentum
How to Use It
Bullish Signal: Z-Score crossing above +1.5 or +2 signals strong buying volume pressure
Bearish Signal: Z-Score crossing below -1.5 or -2 signals strong selling volume pressure
Combine with Price Action: Use alongside price trends or other Z-Score indicators to improve decision making in SDCA or volume-based trading systems
Overview
This indicator converts the On-Balance Volume (OBV) into a Z-Score oscillator, providing a normalized statistical view of volume flow strength relative to its recent history.
How It Works
OBV Calculation
The On-Balance Volume accumulates volume based on price direction, showing whether volume is flowing into or out of an asset.
Z-Score Transformation
The OBV values are normalized via Z-Score:
ini
Kopieren
Bearbeiten
Z = (OBV - Mean) / Standard Deviation
This reveals how unusually strong or weak volume momentum is compared to recent norms.
Smoothing
An optional moving average smoothing (SMA, EMA, VWMA, etc.) can be applied for cleaner signals.
Z-Score Table
A live Z-Score value is displayed in a table on the top-right of the indicator pane, clamped between +2 and -2:
+2 indicates unusually high positive volume momentum
-2 indicates unusually high negative volume momentum
How to Use It
Bullish Signal: Z-Score crossing above +1.5 or +2 signals strong buying volume pressure
Bearish Signal: Z-Score crossing below -1.5 or -2 signals strong selling volume pressure
Combine with Price Action: Use alongside price trends or other Z-Score indicators to improve decision making in SDCA or volume-based trading systems
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。