Volumetric Pressure Gradient [JOAT]Volumetric Pressure Gradient
Introduction
Volumetric Pressure Gradient is an institutional-style volume location oscillator that converts rolling value distribution into a clean 0-100 pressure map. Instead of forcing the trader to interpret raw profile levels in price space only, the indicator rescales the Point of Control, Value Area High, and Value Area Low into the same oscillator space as current price location. This creates a direct view of whether price is trading above value, below value, or rotating through equilibrium.
The result is a cleaner decision tool for traders who want to understand auction positioning without cluttering the chart with a full profile rendering. It is designed to answer a simple but powerful question: where is price trading relative to where volume has actually concentrated?
Why This Indicator Exists
Value Location Context: Shows where price sits inside the recent auction range
POC Relationship: Highlights when price is trading above or below volume-weighted equilibrium
Value Area Awareness: Tracks whether price is stretching outside accepted value or rotating back into it
Momentum Confirmation: Uses consecutive closes relative to the scaled POC for cleaner pressure confirmation
Compact Visualization: Delivers profile intelligence in a sub-pane without overwhelming the chart
Core Components Explained
1. Rolling Volume Distribution
winHigh = ta.highest(high, lookback)
winLow = ta.lowest(low, lookback)
binSize = (winHigh - winLow) / bins
The indicator builds a rolling distribution over the selected lookback window using equal-width price bins. Each candle contributes volume into the bin that contains its midpoint. This keeps the logic fast, stable, and visually clean while still capturing where trade participation has concentrated.
2. Point of Control Calculation
The Point of Control is the bin with the greatest accumulated volume. It represents the most accepted price area inside the current rolling auction. When the oscillator is above the scaled POC, buyers are holding price above accepted value. When below, price is trading at a discount relative to the current volume center of gravity.
3. Value Area Expansion
vaTarget = totalVol * valueAreaPct / 100.0
Starting from the POC, the script expands upward and downward until the cumulative volume reaches the selected value area percentage. This produces a dynamic Value Area High and Value Area Low that respond to where trading activity is actually clustering.
4. Oscillator Normalization
oscillator = ta.ema((close - winLow) / range * 100.0, smoothLen)
Price location is transformed into a 0-100 oscillator so it can be compared directly against the scaled POC and value boundaries. This turns volume profile interpretation into a faster read:
Above POC = premium to value
Below POC = discount to value
Near Value Area High = acceptance near upper auction boundary
Near Value Area Low = acceptance near lower auction boundary
5. Pressure Confirmation Logic
The indicator tracks consecutive bars above or below the scaled POC. This avoids overreacting to one-bar noise and helps confirm whether price is actually sustaining premium or discount pressure.
Visual Elements
Main Oscillator: Color-switching pressure line based on price location relative to POC
POC Line: Gold equilibrium reference showing accepted value
VA High / VA Low: Soft boundary lines for the active value area
Gradient Fill: Bullish above POC, bearish below POC
OB/OS Background: Optional shading when price stretches to extremes
Momentum Markers: Compact confirmation triangles when above/below-POC pressure persists
Dashboard: Live readout of VAH, POC, VAL, width, position, and regime
Input Parameters
Lookback Bars: Window used for the rolling profile and oscillator normalization
Value Area %: Percentage of total volume used to define accepted value
Overbought / Oversold: Stretch thresholds for auction extremes
Momentum Confirm Bars: Required bars above or below POC before confirmation fires
Oscillator EMA: Smoothing applied to the normalized pressure line
How to Use This Indicator
Step 1: Identify whether the oscillator is above or below the POC. This tells you if price is trading at premium or discount relative to recent value.
Step 2: Check whether price is rotating inside value or expanding away from it.
Step 3: Watch for momentum confirmation markers when pressure sustains on one side of the POC.
Step 4: Use overbought and oversold conditions as context, not automatic reversal signals.
Step 5: Combine with structure or trend tools for directional execution.
Best Practices
Use on liquid markets where reported volume is meaningful
Treat the POC as equilibrium, not as guaranteed support or resistance
Combine premium/discount information with higher-timeframe structure
Momentum confirmation works best when the value area is not extremely narrow
Value area width can help identify compression vs expansion conditions
Indicator Limitations
This is a rolling approximation of value, not a full exchange-native volume profile engine
Very small lookbacks can make value levels overly reactive
Overbought and oversold readings can remain extended in strong trends
Value acceptance does not guarantee reversal
Volume quality varies by market and broker feed
Technical Implementation
Built in Pine Script v6 using:
Rolling bin-based volume distribution
POC-first value area expansion
Normalized 0-100 price-location oscillator
EMA smoothing for pressure readability
Consecutive-bar momentum confirmation
Non-repainting confirmed-bar updates
Originality Statement
This indicator is original in how it compresses profile-style value logic into an oscillator workflow. Rather than drawing a traditional profile on the price chart, it translates value, equilibrium, and range position into a compact pressure framework that is easier to combine with momentum and structure analysis.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves risk, including the risk of loss. Volume-based context improves decision quality, but it does not predict future price movement with certainty. Always use proper risk management and independent judgment.
-Made with passion by officialjackofalltrades
Pine Script® indicator






















