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.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.