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. קרא עוד בתנאים וההגבלות.