OBV OSC DIVERGENCE PIVOTS Гайд по трейдингу
The On-Balance Volume with Divergence and Pivot Points indicator converts OBV into a short-minus-long oscillator, tracks OBV pivots, and detects regular or hidden divergences against price. It is designed to show whether volume pressure is confirming or contradicting the price move.
What does the indicator show?
- OBV Oscillator: A momentum-style line derived from short and long OBV averages.
- Zero Line Crosses: Regime changes when OBV momentum flips positive or negative.
- Pivot Highs and Lows: OBV wave pivots used to define local volume structure.
- Divergence Markers: Regular and hidden bullish or bearish divergence between price and OBV oscillator structure.
Key Settings
- Source: Price source used to decide whether OBV adds or subtracts volume.
- Short OBV Period and Long OBV Period: Define the oscillator speed and baseline.
- OBV Wave Pivot Lookback Left / Right: Control pivot detection on the OBV wave.
- Divergence Pivot Lookback Left / Right: Tune how strict divergence anchors must be.
- Max / Min of Lookback Range: Limit how far apart divergence pivots may be.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, OBV divergence can be used as confirmation for price setups or as an exit warning.
1. OBV Momentum
obvOsc- Main OBV oscillator value.obvCrossOverZero- OBV momentum crossed above zero.obvCrossUnderZero- OBV momentum crossed below zero.pivotHighSignalandpivotLowSignal- Confirmed OBV pivot events.
Strategy Example: Allow Long entries only when obvOsc > 0 or obvCrossOverZero is true, so volume momentum supports the trade direction.
2. Divergence Signals
bullDiv- Regular bullish divergence.hiddenBullDiv- Hidden bullish continuation divergence.bearDiv- Regular bearish divergence.hiddenBearDiv- Hidden bearish continuation divergence.
Strategy Example: Use bearDiv is true as an exit signal for Long trades when price is rising but OBV momentum fails to confirm.