PROTECTED SOURCE SCRIPT
Stochastic OBV Momentum

This indicator combines a classic price-based Stochastic Oscillator with a Stochastic Oscillator applied to OBV (On-Balance Volume) in a single panel, giving traders a clear view of both price momentum and trading volume strength on a normalized 0–100 scale.
How it works:
Price Stochastic: Measures momentum by comparing the current closing price to the highest and lowest price over a user-defined period.
OBV Stochastic: Applies the same formula to OBV values, providing insight into volume-driven momentum relative to historical data.
%K and %D Lines: Plotted for both Price and OBV, with adjustable smoothing and period lengths.
Upper and Lower Bounds: Customizable thresholds define overbought and oversold regions for both Price and OBV.
Visual Features:
Two lines for Price (%K and %D) with customizable colors.
Two lines for OBV (%K and %D) with distinct colors.
Overbought and oversold levels drawn as horizontal lines (red/green).
Background highlight options:
Sequential Entry/Exit signals (green for entry, red for exit).
OBV Bound Cross highlights (red when K crosses upper bound, green when it crosses lower bound).
Alerts:
Triggered when %K crosses %D in overbought or oversold zones for Price.
Triggered when OBV %K crosses upper or lower bounds.
Can be configured for automated trading platforms such as GunBot.
Benefits for Traders:
Tracks both price and volume momentum simultaneously.
Easily spot divergences between Price and OBV.
Improve entry and exit timing with visual signals and customizable alerts.
Settings:
%K length for Price and OBV.
Smoothing periods for %K and %D.
Upper and lower thresholds for overbought/oversold regions.
Option to toggle display of lines and background highlights.
How it works:
Price Stochastic: Measures momentum by comparing the current closing price to the highest and lowest price over a user-defined period.
OBV Stochastic: Applies the same formula to OBV values, providing insight into volume-driven momentum relative to historical data.
%K and %D Lines: Plotted for both Price and OBV, with adjustable smoothing and period lengths.
Upper and Lower Bounds: Customizable thresholds define overbought and oversold regions for both Price and OBV.
Visual Features:
Two lines for Price (%K and %D) with customizable colors.
Two lines for OBV (%K and %D) with distinct colors.
Overbought and oversold levels drawn as horizontal lines (red/green).
Background highlight options:
Sequential Entry/Exit signals (green for entry, red for exit).
OBV Bound Cross highlights (red when K crosses upper bound, green when it crosses lower bound).
Alerts:
Triggered when %K crosses %D in overbought or oversold zones for Price.
Triggered when OBV %K crosses upper or lower bounds.
Can be configured for automated trading platforms such as GunBot.
Benefits for Traders:
Tracks both price and volume momentum simultaneously.
Easily spot divergences between Price and OBV.
Improve entry and exit timing with visual signals and customizable alerts.
Settings:
%K length for Price and OBV.
Smoothing periods for %K and %D.
Upper and lower thresholds for overbought/oversold regions.
Option to toggle display of lines and background highlights.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。