Stacked Imbalance Zones [BOSWaves]Stacked Imbalance Zones - Volume-Filtered Order Flow Detection with Delta-Adaptive Zone Visualization
Overview
Stacked Imbalance Zones is an order flow-based supply and demand identification system that detects consecutive dominant directional bars to construct high-conviction imbalance zones, where zone structure, visualization, and delta ribbon behavior dynamically adapt to reflect real-time buying and selling pressure within each identified region.
Instead of relying on arbitrary price pattern recognition or fixed pivot-based levels, zone formation, mitigation logic, and delta behavior are determined through volume-filtered bar dominance analysis, stacked run detection, and order flow measurement within confirmed zone boundaries.
This creates supply and demand regions that reflect genuine order flow imbalances rather than geometric price formations - forming only when multiple consecutive dominant bars satisfy volume thresholds, updating continuously with internal delta ribbon readings that reveal whether order flow within the zone is being absorbed or reinforced, and invalidating automatically when price demonstrates sufficient mitigation through configurable breach conditions.
Price is therefore evaluated against zones that represent actual market participant activity rather than theoretical support and resistance constructs.
Conceptual Framework
Stacked Imbalance Zones is founded on the principle that meaningful supply and demand regions emerge when consecutive bars exhibit dominant directional order flow above volume significance thresholds, rather than through isolated candle pattern matching or arbitrary pivot identification.
Traditional order block and supply/demand methodologies identify structural zones through single candle formations or price swing pivots, which frequently disregard the underlying volume conviction and directional persistence that distinguishes genuine institutional activity from noise. This framework replaces pattern-matching logic with stacked dominance detection informed by actual volume participation and bar-by-bar flow measurement.
Three core principles guide the design:
Zone formation should require consecutive dominant bars satisfying volume filter conditions, not isolated candle patterns.
Zone visualization must reflect internal order flow through delta ribbon dynamics, revealing absorption and continuation states.
Zone invalidation should respond to configurable mitigation conditions, distinguishing between tested and genuinely mitigated regions.
This shifts supply and demand analysis from static pattern identification into volume-anchored imbalance detection informed by measurable order flow evidence.
Theoretical Foundation
The indicator combines bar dominance ratio measurement, volume significance filtering, stacked run accumulation, and delta normalization.
Bar dominance is derived from the close position within the bar range, providing directional conviction measurement independent of candle color alone. Volume filtering against a Simple Moving Average baseline ensures only bars with sufficient participation contribute to zone formation. Stacked run tracking accumulates consecutive qualifying bars, capturing the multi-bar imbalance clusters that indicate genuine order flow concentration. Delta normalization converts raw volume flow into scaled readings that drive the internal ribbon visualization within each zone.
Four internal systems operate in tandem:
Bar Flow Measurement Engine : Calculates buy and sell dominance ratios from close positioning within the high-low range, providing directional bias measurement for each bar.
Volume Significance Filter : Compares bar volume against a rolling SMA baseline scaled by a configurable multiplier, qualifying only bars with meaningful participation.
Stacked Run Detection System : Tracks consecutive qualifying dominant bars, accumulating zone boundaries, total volume, and average dominance ratios across the run.
Delta Ribbon Visualization : Applies smoothed and scaled normalized delta readings within zone boundaries, producing a continuously updating order flow display inside each active zone.
This design allows detected zones to represent genuine imbalance conditions rather than mechanically responding to price formations.
How It Works
Stacked Imbalance Zones evaluates price through a sequence of order flow-aware processes:
Dominance Ratio Calculation : Buy ratio is derived from (close - low) / (high - low) and sell ratio from its inverse, providing bar-level directional conviction measurement.
Volume Filter Application : Bar volume is compared against the SMA baseline multiplied by the configured factor; bars failing this threshold do not qualify for zone formation.
Dominance Threshold Testing : Buy or sell ratio exceeding the configured dominance threshold on a volume-qualified bar classifies that bar as directionally dominant.
Stacked Run Accumulation : Consecutive dominant bars of matching direction are accumulated, tracking zone boundary expansion, cumulative volume, and average dominance across the run.
Zone Firing on Run Break : When a qualifying run ends through a non-dominant or opposite-dominant bar, the accumulated zone is committed with full metrics captured at break time.
Overlap Handling : Configurable overlap detection removes older same-direction zones that overlap with newly formed zones, preserving the most recent imbalance representation.
Delta Ribbon Update : On each bar within an active zone's lifespan, smoothed normalized delta updates the internal ribbon position, reflecting evolving order flow conditions.
Gradient Zone Rendering : Zones are drawn with configurable gradient layer fills, accent boundary lines, dashed midlines, and extended projections reflecting the zone's price range.
Mitigation Detection : On each confirmed bar, close is tested against the mitigation level - either the absolute zone boundary or the zone midpoint - triggering zone removal upon breach.
Zone Cap Management : Maximum zone count per side is enforced by removing the oldest zones when capacity is exceeded, maintaining a focused active zone set.
Together, these elements form a continuously updating imbalance map anchored in volume-confirmed order flow evidence.
Interpretation
Stacked Imbalance Zones should be interpreted as volume-confirmed order flow imbalance regions with internal flow monitoring:
Demand Zones (Green) : Formed by consecutive buy-dominant, volume-qualified bars, representing price regions where buying pressure was concentrated and stacked.
Supply Zones (Red) : Formed by consecutive sell-dominant, volume-qualified bars, representing price regions where selling pressure was concentrated and stacked.
Zone Body : The full height of the zone spans the aggregated price range of all contributing bars in the dominant run, from minimum to maximum body boundary.
Zone Midline : Dashed horizontal line at the zone average price, providing a reference for the Middle mitigation mode and partial reaction levels.
Gradient Fill : Multi-layer gradient visualization inside each zone provides depth cues, with configurable layer count for smoother or more distinct appearance.
Delta Ribbon : Vertical line series drawn from the zone average upward or downward reflects normalized delta readings, indicating whether order flow within the zone is currently buy or sell dominant.
Ribbon Edge Line : Optional connecting line traces the delta ribbon tip across bars, providing a continuous order flow trajectory within the zone boundary.
Accent Lines : High-opacity boundary lines emphasize the primary zone edge - bottom for demand zones, top for supply zones - marking the most significant flow concentration level.
Metrics Label : Extended zone displays the average buy or sell dominance percentage across all constituent bars, quantifying the imbalance strength.
Zone Extension : Right-side projection carries the zone forward in time, maintaining active visual reference until mitigation occurs.
Zone stack count, volume totals, and delta ribbon dynamics outweigh isolated price reactions at zone boundaries.
Signal Logic & Visual Cues
Stacked Imbalance Zones presents two primary zone types with continuous internal state monitoring:
Demand Zone Formation : Green zone appears when a buy-dominant stacked run of qualifying length concludes, identifying a region of concentrated buying activity available for future reference.
Supply Zone Formation : Red zone appears when a sell-dominant stacked run of qualifying length concludes, identifying a region of concentrated selling activity for directional context.
Delta ribbon dynamics within active zones provide secondary monitoring, revealing whether subsequent order flow is reinforcing or undermining the original imbalance condition.
Alert generation covers new demand stack formation and new supply stack formation for systematic zone-based monitoring workflows.
Strategy Integration
Stacked Imbalance Zones fits within order flow-informed and institutional level-based trading approaches:
Zone-Based Entry Framing : Use demand and supply zones as directional reference regions, entering on price interaction with confirmed imbalance levels rather than arbitrary support/resistance.
Delta-Confirmed Reactions : Monitor delta ribbon behavior as price approaches zones; ribbon maintaining original direction during retest suggests continued order flow alignment.
Stack Count Conviction Weighting : Assign higher confidence to zones formed from longer dominant runs, as greater consecutive bar participation reflects stronger imbalance concentration.
Volume Relevance Comparison : Use the internal relevance scoring, which weights zones by their volume contribution relative to total active zone volume, to prioritize higher-participation regions.
Mitigation Mode Selection : Apply Absolute mitigation for stricter zone validation requiring full boundary breach; apply Middle mitigation for earlier invalidation when price penetrates the zone midpoint.
Multi-Timeframe Zone Hierarchy : Apply higher-timeframe stacked imbalance zones as directional context filters while using lower-timeframe zones for entry precision.
Technical Implementation Details
Core Engine : Bar dominance ratio from close positioning within high-low range
Volume Filter : SMA baseline with configurable multiplier for participation significance
Run Detection : Consecutive dominant bar accumulation with boundary and volume tracking
Delta System : Normalized delta with EMA smoothing and configurable reactivity scaling
Zone Storage : Custom type arrays managing zone data and draw objects independently
Visualization : Gradient-layered boxes with accent lines, midlines, and delta ribbon line series
Mitigation Logic : Confirmed-bar close testing against absolute boundary or zone midpoint
Performance Profile : Optimized for real-time execution with configurable zone caps managing object count
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday imbalance detection for scalping with responsive volume and dominance settings
15 - 60 min : Session-level supply and demand identification with balanced stack requirements
4H - Daily : Swing-level institutional zone mapping with sustained stack accumulation
Suggested Baseline Configuration:
Dominance Threshold : 0.62
Min Stack Count : 1
Volume Filter (×SMA) : 0.7
Volume SMA Length : 66
Zones Per Side : 4
Mitigation : Absolute
Hide Overlap : Enabled
Zone Extension : 40
Show Delta Ribbon : Enabled
Ribbon Height : 0.4
Ribbon Smoothing : 0.92
Gradient Layers : 4
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's volatility characteristics, volume behavior, and preferred zone frequency, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Too many zones forming : Increase Dominance Threshold to demand stronger bar-level conviction or increase Min Stack Count to require longer consecutive runs.
Zones not forming frequently enough : Decrease Dominance Threshold toward 0.55 for more inclusive bar qualification or reduce the Volume Filter multiplier.
Volume filter too restrictive : Reduce Volume Filter multiplier toward 0.3 to allow lower-volume bars to qualify, or increase Volume SMA Length to smooth the baseline.
Zone boundaries too wide : Reduce Min Stack Count to capture tighter, shorter-run imbalances with a more concentrated price range.
Delta ribbon too reactive : Increase Ribbon Smoothing toward 0.99 for a calmer ribbon response or decrease Ribbon Reactivity to reduce sensitivity to individual bar delta swings.
Delta ribbon too slow : Decrease Ribbon Smoothing toward 0.5 or increase Ribbon Reactivity for faster adaptation to changing order flow within the zone.
Too many zones overlapping : Enable Hide Overlap to automatically remove older overlapping same-direction zones, or reduce Zones Per Side to limit active zone count.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets where stacked imbalance zones align with impulse direction and serve as pullback reference levels
Instruments with consistent volume participation where the SMA filter accurately distinguishes significant from insignificant bars
Order flow continuation strategies entering on price retests of confirmed imbalance zones
Session-open and momentum phase analysis where imbalance clustering identifies institutional interest levels
Reduced Effectiveness:
Choppy, low-volume environments where bar dominance thresholds are breached inconsistently without sustained stacking
Extremely thin-market conditions where volume SMA baselines become unreliable for significance filtering
News-driven spike events where imbalances form and immediately mitigate within the same session
Markets with irregular volume distribution where the SMA filter loses discriminative power across sessions
Consolidation and sideways conditions where zones form frequently but lack the directional follow-through that validates their structural significance
Integration Guidelines
Confluence : Combine with BOSWaves momentum tools, structure analysis, or multi-timeframe trend indicators for layered confirmation
Delta Respect : Monitor delta ribbon direction and magnitude as price approaches zones; aligned ribbon suggests reinforced imbalance, opposed ribbon indicates potential absorption
Stack Conviction : Favor zones formed from higher stack counts and greater total volume for primary reference levels
Mitigation Discipline : Respect mitigation events as genuine zone invalidation rather than treating mitigated levels as persistent support or resistance
Zone Freshness Awareness : Recent zones carry higher relevance than older formations; prioritize zones formed within current session or momentum phase context
Disclaimer
Stacked Imbalance Zones is a professional-grade order flow and supply/demand analysis tool. It uses volume-filtered bar dominance detection with stacked run identification but does not predict future price movements. Results depend on market conditions, instrument volume characteristics, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates momentum context, trend structure, and comprehensive risk management. Indicador

Focus Bars [Kioseff Trading]Hello Traders!
🔹 Focus Bars
Focus Bars is a lower-timeframe reconstruction tool designed to break each candle into a price-based internal structure .
Instead of viewing a bar as a single OHLC print, this tool redistributes intrabar participation across price levels, showing where activity, delta, and directional pressure concentrated inside the bar itself .
Think of it as a way to look inside the candle .
intrabar participation distributed by price level
buy vs sell pressure mapped inside each bar
delta-driven visualization of internal structure
volume-based or delta-based profile sizing
stacked recent bars for direct comparison
lower timeframe reconstruction of candle internals (up to 1 tick)
🔹 What the tool shows
🔸 Focus Bar Structure
Each visible bar is reconstructed using lower timeframe data and divided into configurable price rows.
This allows the script to build an internal map of activity inside the candle, showing how participation distributed throughout its range.
This helps reveal:
where activity concentrated inside the bar
which price regions attracted the most interaction
how the bar built from low to high
🔸 Directional participation
The script estimates directional pressure using lower timeframe price movement and distributes that pressure across the bar’s traded range.
This allows you to observe:
where buying pressure was strongest
where selling pressure dominated
how directional activity distributed through the candle
Instead of treating the candle as one net result, Focus Bars breaks it into a layered participation structure .
🔸 Volume mode
In its default form, the profile width reflects total intrabar participation at each price level.
This helps identify:
high activity zones inside the bar
areas where the market spent more effort
internal high-interest regions
This mode focuses on where the bar traded most actively , regardless of which side was dominant.
🔸 Delta Bars mode
When Delta Bars mode is enabled, the visualization shifts from general activity to directional imbalance .
Positive delta levels extend one way, while negative delta levels extend the other, helping expose where directional pressure accumulated inside the bar.
This makes it easier to see:
which prices were dominated by buyers
which prices were dominated by sellers
where internal imbalance became most extreme
This mode is about pressure and imbalance , not just participation.
🔸 Recent bar stacking
The script displays multiple recent reconstructed bars side by side, allowing you to compare internal structure across the most recent candles.
This helps reveal:
whether participation is shifting higher or lower
whether recent bars are building similarly or differently
how internal pressure changes from one bar to the next
Rather than looking at candles in isolation, you get a stacked structural view of recent bar development.
🔸 Price-row resolution
Each bar is divided into a configurable number of rows.
Higher row counts provide finer structural detail, while lower row counts simplify the visualization.
This lets you control the balance between:
detail
clarity
performance
🔸 Lower timeframe reconstruction
The script uses lower timeframe data to estimate how participation distributed through each candle.
Granularity can be selected between:
1-minute
1-second
1-tick
This allows the internal structure to become more detailed as lower granularity data becomes available.
🔸 Buy / sell volume labels
Each price row includes separate displayed values for:
sell-side participation
buy-side participation
This gives a direct read on how activity distributed at each level, rather than relying only on color or profile width.
🔸 Gradient-based intensity
Color gradients help represent the magnitude of participation and directional pressure at each price level.
This makes it easier to spot:
high-intensity zones
low-interest areas
strong directional concentrations
Stronger color intensity reflects stronger internal participation or imbalance.
🔹 How to read it
Each component gives a different layer of information:
Candle body / wick → the outer structure of the bar
Profile width → where participation concentrated
Delta mode → where directional imbalance built
Buy / sell labels → how each side contributed at a level
Stacking → how internal structure changes bar to bar
🔹 Why this tool is useful
It gives you:
a way to look inside candles instead of only at candle outcomes
price-based intrabar participation mapping
clear visualization of internal volume and delta structure
context for where buying or selling pressure concentrated
a deeper structural view of recent bar development
🔹 Best use cases
analyzing internal candle structure
comparing recent bars side by side
spotting hidden participation concentrations
finding where directional pressure built inside a move
adding lower-timeframe context to bar-by-bar analysis
🔹 Important note
This tool uses lower timeframe data to reconstruct intrabar structure.
This means:
it is an approximation of internal order flow
accuracy depends on available lower timeframe data
selected granularity impacts precision
different symbols and data feeds may produce different levels of detail
🔹 Inputs you can customize
The script includes flexible controls such as:
granularity selection
bar count to display
row resolution
volume mode vs Delta Bars mode
color customization
display offset
Closing Notes
Focus Bars is built to shift the focus from how a candle finished to how it developed internally .
It helps reveal not just what the bar looked like from the outside, but where participation and pressure were concentrated inside it .
Thank you for checking it out!
Indicador

Delta Absorption Scanner[MarkitTick]💡 This advanced analytical tool is engineered to bridge the gap between price action and order flow dynamics by identifying critical moments where market participants encounter significant liquidity barriers. In the modern trading landscape, volume alone is often insufficient to determine market direction. The Delta Absorption Scanner provides a sophisticated lens through which traders can observe the interaction between aggressive market orders and passive limit orders, specifically highlighting "Absorption" events. These events occur when high-volume "Effort" fails to produce a proportional price "Result," signaling a potential exhaustion of the current trend or a hidden accumulation/distribution phase. By synthesizing volume delta, candle spread, and multi-timeframe context into a unified interface, this script empowers traders to make decisions based on the structural integrity of the market rather than superficial price movements.
✨ Originality and Utility
The primary utility of this script lies in its multi-layered approach to market analysis, moving beyond simple oscillators or trend-following moving averages.
Unlike standard volume indicators that merely report total activity, this scanner differentiates between buying and selling pressure by calculating candle-based delta, allowing for a more granular view of market intent.
The script introduces a unique "Scanner" architecture that monitors four distinct high-timeframe (HTF) perspectives simultaneously. This provides an institutional-grade view of the trend without the need to constantly switch chart intervals.
It incorporates a proprietary "Absorption" detection logic that correlates delta percentage with the physical spread of the candle. This identifies "hidden" strength or weakness that is often invisible to the naked eye.
The inclusion of Fair Value Gap (FVG) and Swing High/Low detection within the dashboard creates a comprehensive "Confluence Engine," ensuring that short-term delta signals are validated by higher-level market structures.
By utilizing non-repainting multi-timeframe logic (security calls with index offsets), the indicator maintains the highest standards of data integrity, making it suitable for both discretionary trading and systemic strategy development.
🔬 Methodology and Concepts
The core logic begins with the calculation of "Candle Delta," which determines the dominant force within a single bar based on its polarity. If a candle closes above its open, the entire volume is attributed to positive delta; if it closes below, it is negative.
The indicator then calculates the "Spread," defined as the absolute distance between the high and low of the bar. This metric is critical for the "Effort vs. Result" analysis.
Absorption is mathematically flagged when a candle exceeds the user-defined "Minimum Delta %" threshold but fails to generate significant directional movement, or when the spread is disproportionately small compared to the volume injected.
The Support (S3) and Resistance (R3) levels are derived from the most recent significant high-volume or high-delta bars, creating dynamic zones that reflect where institutional liquidity was last engaged.
Multi-Timeframe Integration: The script utilizes the request.security() function with a bar offset. This ensures that the data displayed from higher timeframes is "confirmed" and prevents the visual bias known as repainting.
Trend determination on the dashboard is calculated using a proprietary relationship between the current price and the 14-period smoothed high/low averages, providing a stable "Trend Bias" for each monitored timeframe.
● Main Feature Components
• Volume Delta labels
The script places dynamic labels above or below candles that exhibit significant delta. These labels display the Delta percentage, helping traders identify where "Climax" volume is occurring.
• Spread Analysis (S)
Next to the Delta % is a value representing the "Spread." This allows for an immediate visual comparison: High Delta with Low Spread suggests passive absorption (reversal), while High Delta with High Spread suggests aggressive momentum (continuation).
• Multi-Timeframe (HTF) Dashboard
A sophisticated table displayed on the chart that aggregates data from up to four higher timeframes. This dashboard is the "brain" of the scanner, providing a bird's-eye view of the market's broader health.
🎨 Visual Guide
Positive Delta Labels: Displayed as green labels with white text. These signify bars where buying volume was dominant.
Negative Delta Labels: Displayed as red labels with white text. These signify bars where selling volume was dominant.
Neutral/Spread Labels: Displayed in a dark neutral color to represent bars where the spread is being analyzed without a significant delta bias.
Dashboard - Trend Column: Displays "UP" in green for bullish regimes and "DN" in red for bearish regimes for each of the four HTF settings.
Dashboard - S3/R3 Column: Displays the price of the nearest significant support or resistance level identified by the script.
Dashboard - Distance % Column: A dynamic calculation showing how far the current price is from the S3/R3 levels. Green indicates distance from support, while red indicates distance from resistance.
Dashboard - FVG Column: Displays "+FVG" in green if a bullish Fair Value Gap exists on that timeframe, or "-FVG" in red if a bearish gap is present.
Dashboard - Swing Column: Identifies if the current price is near a local "Top" or "Bottom" based on pivot logic.
📖 How to Use
Step 1: Identify "Effort" on the Chart. Look for a large Delta % label (e.g., >20%) appearing at a local high or low.
Step 2: Analyze the "Result." If the Delta is high (Green/Positive) but the candle spread (S) is small and price fails to move higher, this is a classic Bearish Absorption signal. Limit sellers are "absorbing" the market buyers.
Step 3: Consult the Dashboard. Check if the HTF trends are in alignment. For a short trade based on Bearish Absorption, you ideally want to see "DN" trends on higher timeframes and the presence of a "-FVG."
Step 4: Proximity to S/R. Use the "Dist %" column to ensure you are not selling directly into a higher-timeframe support (S3) or buying directly into resistance (R3).
Step 5: Confluence. The highest probability trades occur when a Delta climax appears at a dashboard-confirmed Swing Top/Bottom in the direction of the HTF trend.
⚙️ Inputs and Settings
Positive/Negative Delta Color: Customizes the aesthetic of the bull/bear labels to match your chart theme.
Max Labels on Chart: Controls the lookback period for visual labels to maintain chart performance and reduce clutter.
Minimum Delta % to Show: A sensitivity filter. Higher values (e.g., 50%) will only show the most extreme volume events, while lower values (e.g., 10%) provide more frequent signals.
Show Spread (S): Toggles the visibility of the candle spread value within the labels.
HTF 1-4 Settings: Allows the user to define which timeframes the dashboard should track (e.g., 1H, 4H, Daily, Weekly).
Dashboard Position: Permits the user to move the table to different corners of the chart for better visibility.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
• The Law of Effort vs. Result
Based on the principles established by Richard Wyckoff, this indicator quantifies "Effort" as Volume Delta and "Result" as Price Spread. In a balanced market, increased effort should lead to an equivalent result. When these two diverge (Anomalies), it suggests a change in market character.
• Auction Market Theory (AMT)
The indicator utilizes AMT principles by identifying areas of "High Volume Nodes" (represented by S3/R3) where the market has found value or met significant opposition. The "Distance %" feature measures the market's deviation from these nodes, which often acts as a mean-reversion catalyst.
• Order Flow Imbalance
While traditional indicators use price as a lagging derivative, the Delta Absorption Scanner attempts to lead price by observing the imbalance between aggressive market participants. By isolating the delta within each bar, the script identifies where one side of the "Auction" is becoming exhausted.
• Statistical Significance of Spread
The inclusion of spread analysis is rooted in statistical volatility measurements. A narrow spread during high volume indicates a high density of limit orders (Liquidity), which is a precursor to price reversals or significant breakouts once the liquidity is exhausted.
• Multi-Timeframe Structuralism
The scanner's architecture is based on the theory that lower-timeframe "noise" is resolved by higher-timeframe "structure." By mapping FVGs and Swings across four dimensions, the script applies a fractal analysis to the current bar's delta events.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicador

Indicador

Indicador

CVD Profiles [TradingIQ]Hello Traders!
🔹 CVD Profiles
CVD Profiles is a profile-based order flow visualization tool designed to show how participation distributes across price levels - not just over time, but through price itself .
Think volume profile data + TPO time segmenting!
Instead of looking at cumulative delta as a single line, this tool breaks it down into a price-based structure , revealing where activity, imbalance, and participation actually occurred within the session.
It focuses on answering a more important question:
Where did participation concentrate… and how did it distribute across price/time?
cumulative delta distributed by price level
buy vs sell activity mapped into profiles
imbalance and dominance across structure
value areas and point of control
activity concentration (volume, USD, or delta-based)
how participation builds within a session
🔹 What the tool shows
🔸 CVD Profile (price-based structure)
Instead of viewing delta as a time series, this tool distributes it across price levels - forming a profile of participation .
This allows you to see:
where buying pressure accumulated
where selling pressure dominated
which price levels attracted the most activity
🔸 Imbalance Ratio (dominance structure)
Imbalance mode shifts the focus from raw participation to relative dominance between buyers and sellers at each price level.
Each level reflects the ratio between buy and sell activity, highlighting where one side clearly outweighed the other.
This allows you to see:
where buyers strongly dominated sellers
where sellers overwhelmed buying pressure
areas of clear directional conviction
High imbalance levels often represent:
aggressive participation
momentum-driven behavior
one-sided control at specific prices
Balanced areas, on the other hand, suggest:
indecision
two-sided trade
lack of conviction
🔸 Activity Mode (participation intensity)
Activity mode focuses on how much trading activity occurred at each price level, regardless of direction.
Instead of separating buyers and sellers, this mode aggregates total participation to reveal:
high interest zones
areas of heavy interaction
where the market spent the most effort
This helps identify:
key auction areas
high liquidity regions
zones where price is likely to react
Low activity areas often indicate:
inefficient movement
thin liquidity
potential for fast price movement
This mode is about effort - not direction.
🔸 USD Volume Mode (capital-weighted activity)
USD Volume mode builds on activity by incorporating price-weighted participation .
Instead of just counting volume, it measures:
“where was the most capital traded?”
This highlights:
price levels with the highest notional value traded
areas of significant financial commitment
where larger participants may be involved
Compared to raw activity, this mode emphasizes:
higher-priced transactions
capital concentration rather than trade count
This is especially useful for:
spotting institutional interest
identifying meaningful participation zones
filtering out low-value noise
This mode is about capital — not just volume.
www.tradingview.com
🔸 Multiple profile models
The script supports different ways to interpret participation:
CVD → raw cumulative delta distribution
Imbalance Ratio → relative dominance (buy vs sell strength)
Activity → total participation intensity
USD Volume → capital-weighted activity
Each model answers a slightly different question about the market.
🔸 Value Area & POC
The tool automatically calculates:
Point of Control (POC) → highest participation level
Value Area High (VAH)
Value Area Low (VAL)
This helps identify:
fair value
high liquidity regions
areas where price is most accepted
These levels often act as key reference points for structure and reaction.
🔸 Initial Balance (IB)
The script tracks the initial balance range.
This highlights:
early session structure
range expansion vs containment
where price begins its auction
It provides context for how the session develops relative to its starting range.
🔸 Profile stacking (time progression)
Profiles are built over time and stacked horizontally, showing how participation evolves.
This allows you to observe:
shifts in dominance over time
expansion of participation into new price zones
whether activity is building or fading
Instead of a static snapshot, you get a dynamic structural progression .
🔸 Gradient-based intensity
Color gradients represent the magnitude of activity.
This helps highlight:
high participation nodes
low interest areas
extreme dominance zones
Stronger colors = stronger participation.
🔸 CVD Delta / Acceleration histogram
An off-chart histogram shows:
CVD Delta → change in participation
CVD Acceleration → change in momentum of participation
CVD Delta represents the amount of buying vs selling pressure added during the current bar.
In simple terms:
positive delta → more buying than selling
negative delta → more selling than buying
This tells you who was in control during that bar .
CVD Acceleration takes it one step further.
It measures how quickly delta itself is changing:
increasing acceleration → pressure is building
decreasing acceleration → pressure is slowing
sharp shifts → potential transitions in control
This helps answer a deeper question:
“Is participation just present… or is it expanding?”
Together, they give you a clearer read on:
whether buying/selling is increasing
whether momentum is building or fading
when participation is strengthening vs weakening
Think of it like this:
CVD Delta = current pressure
CVD Acceleration = change in pressure
Strong trends are often accompanied by:
consistent delta in one direction
positive acceleration early in the move
While weakening moves often show:
falling delta
negative or declining acceleration
🔹 How to read it
Each component provides a different layer:
Profile → where participation occurred
POC / VA → where value is established
Model selection → what type of participation you're measuring
Histogram → how participation is changing
🔹 Example interpretations
high activity at a level → strong interest / potential reaction zone
thin profile areas → low liquidity / fast movement zones
POC holding → acceptance
POC shifting → changing value
expanding profile → active auction
contracting profile → consolidation
🔹 Why this tool is useful
It gives you:
price-based participation mapping
clear visualization of where trading actually occurred
context for value and liquidity
insight into dominance and imbalance
a structural view of order flow instead of just time-based data
🔹 Best use cases
identifying key reaction levels
analyzing auction behavior
tracking value shifts across sessions
confirming strength or weakness at price
enhancing liquidity-based or structure-based strategies
🔹 Important note
This tool uses lower timeframe data to reconstruct participation.
This means:
it is an approximation of order flow
accuracy depends on available intrabar data
lower timeframe selection impacts precision
🔹 Important consideration
CVD and participation:
can drive price
can fail to move price
can be absorbed by opposing liquidity
Location matters just as much as magnitude.
🔹 Inputs you can customize
The script includes flexible controls such as:
profile model selection
lower timeframe input
profile resolution (tick size)
value area percentage
fixed start vs rolling sessions
color customization
histogram mode (delta vs acceleration)
Closing Notes
This tool is built to shift your perspective from time-based indicators to price-based participation analysis .
It helps you understand not just what the market did — but where it mattered most .
It may receive updates based on feedback - stay tuned!
Thank you TradingView as always! Indicador

VWAP DominionVWAP Dominion is a complete VWAP framework designed to show not just where price is, but how price is behaving around value.
Instead of a single VWAP line, this script builds a full decision-making system around it:
multiple anchor modes (session, HTF, rolling, and auto swing-based)
adaptive bands using volatility or dispersion
automatic high/low response VWAPs
delta-informed signals (with safe fallback when data is limited)
confluence-based bias and stretch detection
The goal is simple:
help traders understand acceptance, rejection, and extension around value, in real time.
How it helps
Trend clarity: Identify when price is holding above/below VWAP vs reverting
Better entries: Spot reclaim and rejection points with context
Avoid chasing: Stretch logic highlights when moves are extended
Structure awareness: Swing-based VWAPs show hidden support/resistance
Key features
Multi-mode VWAP (Session, Weekly, Monthly, Rolling, Auto Swing)
Dynamic bands (standard deviation or ATR-based)
Auto-detected swing anchors for reaction tracking
Optional intrabar delta approximation for participation context
Smart signals: reclaim, rejection, and fade conditions
Clean state panel showing bias, stretch, and confluence
Fully customizable visuals with optimized default settings
How to use
Use VWAP as your value reference
Watch how price behaves around it, not just crosses it
Combine state + bands + signals to judge trade quality
Focus on acceptance (continuation) vs failure (reversal)
Works best on liquid instruments.
Notes
This script is designed for decision support, not prediction.
All signals depend on price behavior and may vary across markets and conditions. Indicador

AG Pro Volume Delta Imbalance Map [AGPro Series]AG Pro Volume Delta Imbalance Map
OVERVIEW / WHAT IT DOES
AG Pro Volume Delta Imbalance Map is an overlay-style volume pressure tool designed to visualize directional participation asymmetry directly on the price chart. Instead of presenting volume as a standalone histogram or reducing the analysis to a single cumulative line, this script maps estimated directional imbalance into a chart-native structure built around a basis line, a flow spine, and an adaptive ribbon. The result is a cleaner view of whether recent participation is leaning bullish, bearish, or balanced, while keeping the analysis anchored to actual price movement.
The script is built for traders who want a more visual interpretation of directional volume pressure without relying on a separate lower-pane oscillator. The main purpose is not to predict tops, bottoms, or reversals in isolation. Its role is to help users read where directional pressure is expanding, where it is fading, and where the current state remains neutral or low-conviction. By placing the analysis directly on the chart, the script aims to make flow conditions easier to compare with market structure, pullbacks, trend continuation attempts, and local regime shifts.
A key design objective of this script is practical readability. Many volume-based tools either become too abstract for quick chart work or too visually dense to remain useful during live decision-making. Here, the imbalance model is translated into a compact overlay with a smoothed directional spine, a ribbon that adapts to pressure intensity, optional burst labels, optional zone-start labels, and a summary panel that reports the current state, bias, strength, persistence, label mode, and exhaustion condition. This keeps the output interpretable across multiple markets and timeframes without forcing the user to decode a complicated dashboard.
This script should be understood as a directional-volume map, not as a trade automation engine. It is intended to support chart reading, context building, and workflow discipline. It can help highlight when directional participation is broadening, when pressure alignment is improving, or when a previously strong move begins to lose quality. Those observations can then be combined with price structure, support and resistance, volatility context, and the user’s own execution framework.
UNIQUE EDGE
The main differentiator of this script is that it does not approach volume pressure in the same way as classic cumulative-flow or oscillator-style tools. Traditional cumulative tools such as OBV compress volume behavior into a running line, while money-flow oscillators often frame the analysis around momentum-style expansion and contraction in a lower pane. AG Pro Volume Delta Imbalance Map takes a different route: it transforms estimated directional pressure into an on-chart flow structure that is designed to be read alongside candles, pullbacks, transitions, and continuation attempts.
Another differentiating element is the emphasis on flow state rather than raw volume magnitude alone. The script is not simply asking whether volume is high or low. It is asking whether directional participation is leaning to one side strongly enough to create an interpretable imbalance state, whether that pressure is stabilizing or intensifying, and whether that condition is durable enough to remain relevant across several bars. This creates a more structural view of participation rather than a purely reactive one.
The visual architecture is also intentionally distinct. The flow ribbon is not only cosmetic. It is designed to express directional pressure breadth around the spine, while the spine itself provides a simpler anchor for the prevailing flow direction. Optional labels then mark either stronger burst moments or the beginning of a new directional zone, depending on user preference. This allows the script to serve different chart-reading styles without changing the core methodology.
Finally, transparency matters. This script does not claim to be a true bid/ask footprint, a tape-reading engine, or an exact institutional order-flow detector. It uses an estimated directional-volume proxy derived from price-location and candle-structure behavior. That distinction is important. The objective is to provide a disciplined, readable directional-pressure framework within the constraints of standard chart data, not to imply access to information the script does not use.
METHODOLOGY
The model begins with a directional-pressure proxy built from three components: close location within the bar, candle body dominance relative to the full range, and directional sign reinforcement from candle structure. These inputs are blended into a bounded hybrid bias value intended to estimate whether recent volume participation was more likely to have leaned bullish or bearish within the bar. That estimate is then scaled by the bar’s volume to produce directional volume estimates and a delta-style imbalance reading.
The raw imbalance is normalized using a volume baseline so that the output remains more comparable across changing participation environments. The normalized value is then smoothed to reduce excessive noise and to create a more usable state engine. From there, bullish, bearish, and balanced conditions are determined through explicit thresholds. This means the displayed state is not arbitrary. It is driven by a consistent threshold structure that helps separate neutral conditions from more meaningful directional pressure.
The chart overlay is built around three visual elements. First, a basis line offers a stable reference. Second, the flow spine tracks the smoothed imbalance state translated onto price space. Third, an adaptive ribbon expands or contracts around the spine based on imbalance strength, which helps communicate whether directional participation is broadening or losing intensity. Together, these components aim to make flow conditions visible without overwhelming the chart.
The script also tracks persistence and a simplified exhaustion heuristic. Persistence reflects how long the current directional state has remained in force, while exhaustion attempts to highlight cases where imbalance remains strong but starts to weaken while price response underperforms. This is not a reversal guarantee. It is a contextual warning that a previously forceful participation state may be losing efficiency.
SIGNALS & ALERTS
The script can label directional events in two different styles. In Burst Labels mode, labels are reserved for stronger acceleration moments inside an existing directional condition. In Zone Start Labels mode, labels are printed when a new directional zone begins. This distinction matters because some traders prefer confirmation after pressure expansion, while others prefer earlier visual markers at the start of a state change.
Bullish and bearish imbalance burst alerts are available for users who want notification when directional pressure expands beyond the relevant threshold. These alerts are best interpreted as flow acceleration events, not standalone entry signals. In practice, many users will prefer to combine them with local structure, pullback quality, reclaim behavior, or continuation context.
The script also includes bias reversal alerts and imbalance strength expansion alerts. These are useful for monitoring whether a previously balanced or opposing environment is transitioning into a new directional condition, or whether an already active imbalance is strengthening enough to deserve attention. The summary panel helps reinforce these changes by showing state, bias, strength, persistence, label mode, and exhaustion status in a compact format.
A separate exhaustion-risk alert is provided for conditions where the model detects that a strong imbalance may be fading in quality. This should be interpreted as a caution flag, not as a direct call to reverse or exit automatically. In many workflows, it is more useful as a prompt to reassess the context, tighten risk discipline, or watch for weakening continuation quality.
KEY INPUTS
Normalization Lookback controls the volume baseline used in the imbalance normalization process. Larger values can stabilize the model, while smaller values can make the output more reactive. Imbalance Smoothing influences how quickly the directional state responds to changing pressure. Shorter smoothing reacts faster but may increase noise, while longer smoothing can improve stability at the cost of responsiveness.
Map Basis EMA Length affects the visual anchor used for the overlay. ATR Length and Spine ATR Multiplier influence how the spine is translated into price space and how the ribbon behaves around it. Flow Ribbon Width controls the breadth of the visible pressure corridor, while Bull Flow Width Boost allows the bullish side to be widened slightly for visual emphasis when appropriate.
Bullish and Bearish Imbalance Thresholds define when the script considers directional pressure strong enough to move out of the balanced state. Burst Threshold determines when the model treats a move as a more meaningful acceleration event. Extreme Threshold contributes to the exhaustion logic and strength classification. Users can also choose whether labels represent burst moments or zone starts, depending on how early or selective they want the chart annotations to be.
Visual controls allow users to show or hide the basis line, flow ribbon, spine glow, backdrop, burst labels, exhaustion labels, spine tag, and panel. Panel position, panel theme, text sizing, label sizing, and offset controls are included so that the script can be adapted to different chart layouts and personal reading preferences without changing the underlying methodology.
LIMITATIONS & TRANSPARENCY
This script uses an estimated directional-volume model. It does not use order-book data, footprint data, bid/ask tape data, or exchange-level aggressor classification. As a result, the displayed imbalance should be understood as a chart-based directional proxy, not as an exact measurement of true traded delta.
Because the model relies on price-location and candle-structure inputs, the output can behave differently across instruments with different volatility profiles, gap behavior, liquidity conditions, and session structures. It is normal for a setting that looks well balanced on one asset or timeframe to require refinement on another. Users should expect to tune thresholds and visual parameters when moving between markets.
Signals and labels are contextual. A bullish label inside a weak range environment does not carry the same meaning as a bullish label that appears after a reclaim, a pullback stabilization, or a clean continuation structure. Likewise, a bearish label during highly erratic volatility may be less reliable than a similar reading inside a smoother directional sequence. The script is designed to assist interpretation, not to replace it.
No single output from this script should be treated as a guaranteed trade trigger, reversal call, or risk-management rule. The panel, ribbon, spine, and labels are tools for reading participation conditions. They are most useful when integrated with broader chart context, including trend structure, invalidation logic, nearby levels, liquidity conditions, and the user’s own process.
RISK DISCLOSURE
This script is for chart analysis and educational use. It does not provide financial advice, portfolio advice, or guaranteed trade outcomes. All trading and investing involve risk, including the risk of loss. Past market behavior and prior indicator responses do not guarantee future results.
Users remain fully responsible for how they interpret and apply the script. Any signal, label, or state reading should be evaluated within a complete decision process that includes market context, risk definition, and position management. This script should not be used as the sole basis for entering, exiting, or sizing a trade.
If you use this tool in live market conditions, it is sensible to test it across different assets and timeframes and to confirm that its behavior matches your own execution logic before relying on it in a real-money workflow. Indicador

CVD IQ [TradingIQ]Hello Traders!
🔹 CVD IQ
CVD IQ is a delta-driven analytical tool designed to reveal how aggressive buying and selling activity translates into price movement.
Instead of relying purely on price, this indicator reconstructs order flow dynamics using lower timeframe data , allowing you to see:
Where did the pressure come from… and how efficiently did it move price?
It focuses on answering a deeper question:
Was the move driven by real participation, or was it inefficient, absorbed, or divergent?
aggressive buy vs sell activity (CVD)
price vs delta divergences
efficiency of price movement relative to flow
cost of moving price (delta per tick)
absorption and imbalance conditions
multi-scale flow analysis (bar, day, swing)
classic divergence detection (RSI style)
🔹 What the indicator shows
🔸 Cumulative Volume Delta (CVD)
CVD is built using lower timeframe data to approximate aggressive buying and selling.
This allows you to track:
whether buyers or sellers are in control
how much pressure is building over time
when participation is increasing or fading
🔸 IMMEDIATE Divergence detection (Classic & Cost Models)
The indicator detects when price and delta are out of sync .
Classic divergence highlights:
price making new highs while delta weakens
price making new lows while delta strengthens
potential exhaustion or reversal conditions
Cost-based divergence goes further by evaluating:
how much delta was required to move price
whether moves are becoming more or less efficient
hidden weakness in “expensive” price movement
This shifts your perspective from:
“price is moving”
to:
“how much effort did it take to move price?”
🔸 CVD Cost Per Tick (Efficiency Analysis)
One of the most important features.
The indicator measures:
Delta per tick = how much aggressive volume was required to move price
This allows you to identify:
efficient moves (low cost → strong response)
inefficient moves (high cost → weak response)
potential exhaustion when cost rises sharply
Each swing is classified into categories like:
Very High Cost
High Cost
Normal Cost
Low Cost
Very Low Cost
High cost often signals absorption or resistance from opposing liquidity .
🔸 Swing-based flow analysis
The indicator breaks market structure into swings and evaluates:
delta across each swing
cost of movement between pivots
relative efficiency vs previous swings
This helps you understand:
whether trends are strengthening or weakening
if continuation is becoming harder
when liquidity is likely opposing the move
🔸 Delta-Implied Close (Expected Price)
The script estimates where price should have closed based on delta.
This gives insight into:
whether price overperformed or underperformed relative to flow
hidden absorption when price fails to match delta
inefficiencies between participation and result
Important Note
This model is adaptive and continuously updates based on changing market conditions. It is not a predictive engine, but rather a framework for interpreting how order flow is currently interacting with price.
🔸 Delta Analysis Table (Bar / Day / Swing)
A live table provides a structured breakdown of flow and price response across three contexts:
current bar
current day
current swing
It includes:
aggressive buy & sell volume
buy/sell percentages
net delta
imbalance ratios
price movement in ticks
close position within range
delta cost per tick
cost classification
absorption detection
This allows you to quickly answer:
Who is in control, and is price responding properly?
🔹 Table Overview
Metric
Name of the metric shown in each row.
Bar
Value calculated for the current bar only.
Day
Value accumulated from the start of the current day.
Swing
Value accumulated from the start of the current swing.
🔹 Flow
Aggressive Buys
Total buy-side market order volume. Higher values indicate stronger buying pressure.
Aggressive Sells
Total sell-side market order volume. Higher values indicate stronger selling pressure.
Buy %
Percentage of total aggressive volume coming from buyers. Higher values indicate buy-side dominance.
Sell %
Percentage of total aggressive volume coming from sellers. Higher values indicate sell-side dominance.
Net Delta
Aggressive buys minus aggressive sells. Positive values favor buyers, negative values favor sellers.
Imbalance Ratio
Relative dominance between buyers and sellers, expressed as a multiple. Higher values indicate stronger directional control.
🔹 Price Response
Total Aggression
Combined aggressive buy and sell volume. Represents total market participation.
Bar Tick Move
Price movement measured in ticks. Shows how far price moved over the period.
Close Position
Where price closed within its range. Higher values mean the close is nearer the high, lower values nearer the low.
🔹 Efficiency & Cost
Delta Cost / Tick
How much delta was required to move price by one tick. Higher values indicate less efficient movement and potential absorption.
Cost
Classification of how expensive the move is relative to recent conditions. High cost suggests resistance or absorption, low cost suggests efficient movement.
Ticks per 1k Delta
Number of ticks price moved per 1000 delta. Higher values indicate more efficient price movement.
Price Move per 1k Delta
Actual price movement per 1000 delta. Higher values indicate stronger price response to order flow.
🔹 Delta-Based Expectations
Delta-Implied Close
The price level where the bar would be expected to close based on the underlying delta.
Move Ratio
Actual price movement relative to the delta-implied move.
1.0 = expected response
1.0 = stronger than expected
<1.0 = weaker than expected
🔹 How to read it
Each component provides a different layer:
CVD → who is active
Divergence → when price and flow disagree
Cost → how efficient the move is
Table → structured confirmation across contexts
Together, this shifts your thinking from:
“price moved up”
to:
“buyers were aggressive - but did price actually respond?”
🔹 Example interpretations
strong delta + efficient move → clean continuation
strong delta + weak move → absorption
rising cost over time → trend weakening
divergence signals → potential reversal or trap
low cost + expansion → strong directional move
🔹 Why this indicator is useful
It gives you:
participation behind price
context for whether moves are efficient
early detection of exhaustion or absorption
a way to quantify “effort vs result”
multi-timeframe flow insight (bar, day, swing)
🔹 Best use cases
confirming trend strength
identifying weak breakouts
spotting absorption at key levels
analyzing liquidity interaction
enhancing price action or liquidity-based models
🔹 Important note
This script uses lower timeframe data to approximate aggressive volume.
This means:
accuracy depends on data availability
different symbols may behave differently
lower timeframe selection impacts results
🔹 Inputs you can customize
lower timeframe for CVD calculation
divergence models (Classic / Cost / Both)
divergence sensitivity (small, medium, large swings)
cost structure length and thresholds
visual styling and colors
delta analysis table size
Closing Notes
CVD IQ is built to show the relationship between participation and outcome .
As always, thank you TradingView! Indicador

NOA Sessions Footprints
NOA Sessions Footprints
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IT DOES
This indicator tracks up to 4 configurable intraday sessions (or ETH/RTH/Full Day) and overlays real-time order flow analysis using TradingView's footprint data. It draws session boundaries, calculates statistical projections from historical data, and detects 8 distinct footprint signatures on each bar.
Each session gets its own VWAP, midline, expected range projections, overnight gap tracking, and a live dashboard comparing current metrics against historical averages.
When a session closes, it receives a Macro Profile classification (Trend / Reversal / Rotational) based on session-level order flow.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STRENGTHS
— Uses actual footprint data (bid/ask volume at price), not synthetic delta approximations.
— All thresholds are statistically derived from the instrument's own history via Z-scores, not fixed values.
— Outlier filtering (trimmed mean) prevents news days from distorting projections.
— Each signature requires multiple independent filters to fire. No single-condition signals.
— Works across any intraday timeframe on any instrument with footprint data.
— All signatures respect a configurable bar-close gate to prevent intrabar flickering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
THE 8 FOOTPRINT SIGNATURES
Organized into three groups.
GROUP 1 — INITIATIVE (Trend Continuation)
📶 Stacked Initiative
Consecutive bars where delta, candle direction, close-over-close advancement, and POC advancement all align. Requires minimum delta intensity and total streak displacement. Detects sustained institutional order flow.
⚡ Large Body
Single bar with a body Z-score exceeding the configured threshold. Optional aligned delta requirement. Detects statistically abnormal directional repricing.
GROUP 2 — EXHAUSTION & REVERSAL
🩸 Delta Squeeze
Bar where 40%+ of volume is aggressive delta in one direction, but close is in the opposite direction. The aggressive side committed heavy flow and lost the bar. Detects passive absorption with contrary displacement.
💀 Exhaustion Print
Bar at a session extreme (new high/low) with climactic volume Z-score and aligned delta, but price rejects to close in the opposite half of the bar. Detects the final push of a move.
🧲 Divergence
Bar that sweeps a session extreme, but delta is counter-trend, close is directional against the sweep, and close finishes outside the Value Area on the rejection side. Four independent filters. Detects liquidity sweeps / stop hunts.
🛡️ Absorption
Bar with volume Z-score exceeding the effort threshold, body smaller than a fraction of average (low result), and opposing delta. Detects iceberg / limit-order walls.
GROUP 3 — REGIME SHIFTS & TRAPS
🪤 Trapped VA
Bar where the open sits entirely outside the current bar's own Value Area (by a configurable multiple of the VA range), with a confirming directional close and aligned delta. Detects intrabar liquidity traps where traders positioned inside the VA are caught offside.
🔄 CVD Flip
Bar where the session's cumulative volume delta crosses zero. Marks the point where net aggression shifts from buyers to sellers or vice versa. Context signal for directional bias.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACRO SESSION PROFILE
When a session closes, it is classified as one of:
Trend — Session body exceeds Z-score threshold with aligned CVD.
Reversal — High session volume, opposing CVD, close in favorable half.
Rotational — High session volume, tiny body, opposing CVD.
The classification appears as a bracketed icon on the session label.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS OVERVIEW
General
— Indicator Mode: Intraday (4 sessions) / ETH / RTH / Both / Full Day.
— Lookback Period: Number of historical sessions for averages and Z-scores. Default: 20.
— History Length: How many past sessions to keep drawn on chart. Default: 20.
Footprint Engine
— Wait for Bar Close: Suppresses signatures until bar confirms. Default: On.
— Footprint Ticks per Row: Footprint resolution. Default: 10.
— Candle VA %: Volume percentage for Value Area calculation. Default: 40%.
Signature Toggles
— Each of the 8 signatures can be independently enabled/disabled.
— Each has its own configurable thresholds (Z-scores, delta %, multipliers).
— Stacked Initiative has additional sub-filters: minimum delta %, streak displacement requirement.
Signature Colors
— Three group-level color pairs (G1 Initiative, G2 Reversal, G3 Shifts) instead of per-signature colors.
Statistical Projections
— Expected Range: Average / SDev / Both / None. Projected symmetrically from session open.
— SDev Multiplier: Default 2.0 (≈95% probability zone).
— Outlier Exclusion: Trims top/bottom 5% of historical data.
Gap Detection
— Draws overnight gap boxes with configurable duration, mid-gap line, and directional coloring.
— Gap Z-score and multiple-of-average statistics appear in session tooltips.
Alerts
— Independent toggle for each signature plus Expected Range crossings.
— All alerts fire on confirmed bars only.
Heatmap Thresholds
— 🔥 ≥120%, 🌡️ ≥100%, ☁️ ≥70%, ❄️ <70% of historical average.
— Applied to range, volume, and CVD on session labels.
Dashboard
— 12-row table comparing Historical vs. Live metrics per session.
— Rows: session range, volume, CVD, bar range, bar body, bar volume, daily gap, hit rates.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REQUIREMENTS
— Intraday timeframe only.
— Instrument must have TradingView footprint data available. A warning is displayed if footprint data is unavailable. Indicador

[ A L P H A X ] Order Blocks Institutional Supply & Demand ZoneAlphaX Order Blocks – Institutional Supply & Demand Zone Intelligence, Strength Scoring & Flip Detection
AlphaX Order Blocks is a professional-grade supply and demand zone detection system built on a proprietary multi-factor zone strength scoring engine. It identifies institutional order block zones where smart money has left footprints, tracks zone freshness through multi-touch degradation, detects flip zones when broken levels reverse polarity, and delivers confidence-scored entry signals at the highest-probability reaction points. Designed for traders who want to see where the institutions are positioned on instruments like XAUUSD, indices, forex majors, and crypto.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Order Block Engine — How It Works
At the core of AlphaX Order Blocks is an institutional zone detection algorithm that identifies price levels where aggressive buying or selling originated. Unlike simple support and resistance lines, these zones represent areas where large orders were placed — and where unfilled orders may still be waiting.
The detection process follows three steps:
Step 1 — Impulse Move Detection
The engine scans for consecutive same-direction candles (configurable from 2 to 5) that confirm a strong directional impulse
At least one candle in the sequence must have above-average volume (measured against a configurable Volume SMA)
This combination of directional conviction plus volume commitment identifies moves driven by institutional participation, not retail noise
Step 2 — Origin Candle Identification
Once an impulse is detected, the engine looks back up to 6 bars (configurable) for the origin candle — the opposite-color candle where the move started
For supply zones, this is the last bullish candle before the bearish impulse — the level where sellers overwhelmed buyers
For demand zones, this is the last bearish candle before the bullish impulse — the level where buyers overwhelmed sellers
The origin candle's high and low define the zone boundaries, expanded by an ATR-based padding for robustness
Step 3 — Volume Delta Calculation
During the origin-to-impulse sequence, the engine calculates the net volume delta — total buying volume minus total selling volume
This delta is displayed on each zone and used in the strength scoring system
A large negative delta on a supply zone confirms strong selling pressure at that level
A large positive delta on a demand zone confirms strong buying pressure at that level
Fresh zones appear with bold borders and bright colors. As they get tested, they visually degrade — giving you an instant read on zone quality without checking any numbers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Six Core Features
AlphaX Order Blocks combines six independent analysis layers into a single cohesive system:
1 ─ Supply Zones (Red Boxes)
Supply zones mark price levels where institutional selling originated. Each zone box displays:
Tier Rating — S, A, B, or C based on the 6-factor strength score
Touch Count — How many times price has tested this zone (×0, ×1, ×2, etc.)
Volume Delta — Net selling pressure at the zone origin
Strength Percentage — The composite score from 0 to 100
Visual styling degrades automatically as zones weaken:
Fresh (0 touches) — Bold solid border, bright color, full opacity
Tested (1 touch) — Solid border, slightly reduced opacity
Multi-tested (2+ touches) — Dashed border, reduced opacity
Weak (max touches reached) — Dotted border, heavily faded — zone is nearly exhausted
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2 ─ Demand Zones (Green Boxes)
Demand zones following the same tier/touch/delta/strength display format
Demand zones mark price levels where institutional buying originated. They follow the identical visual degradation system as supply zones but in the green color family.
Green Bold Box — Fresh, untested demand zone with highest reaction probability
Green Dashed Box — Tested zone, still valid but weakening
Green Dotted Box — Heavily tested zone, likely to break on next visit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3 ─ Flip Zone Detection (Purple Boxes)
One of the most powerful concepts in institutional trading is polarity reversal — when a broken support level becomes resistance, or a broken resistance level becomes support. AlphaX Order Blocks automates this:
When price closes above a supply zone, the zone is deleted and a new demand zone is created at the same level with a purple color
When price closes below a demand zone, the zone is deleted and a new supply zone is created at the same level with a purple color
Flip zones receive a +10 point bonus in the strength scoring system because institutional traders frequently use broken levels as new entry points
This feature can be toggled on/off independently
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4 ─ Confidence-Scored Entry Signals (▲ / ▼)
Entry signal labels with S/A/B tier classification and strength percentage
When price enters a high-quality zone and produces a confirmation candle, the signal engine fires a scored entry:
▲ Green Label (Demand Signal) — Dark text on green background. Price entered a demand zone and closed with a bullish candle.
▼ Red Label (Supply Signal) — White text on red background. Price entered a supply zone and closed with a bearish candle.
Signals only fire when the zone's strength score meets your configured minimum threshold (default 40%). This prevents signals at weak, over-tested zones.
Each signal is classified into tiers:
S-Tier (75%+) — Highest probability. Fresh zone, high volume, strong departure, EMA confluence.
A-Tier (55–74%) — High probability. Most factors aligned.
B-Tier (40–54%) — Moderate probability. Basic conditions met.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5 ─ Risk/Reward Projection
Dotted projection lines from entry to nearest opposite zone with R:R ratio displayed
When an entry signal fires, the system automatically projects a take-profit target to the nearest opposite zone :
Demand signal → Target projects to the nearest supply zone above
Supply signal → Target projects to the nearest demand zone below
The R:R ratio is calculated and displayed (e.g., "TP 2.3R")
This gives you an instant read on whether the trade offers sufficient reward relative to risk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6 ─ Proximity Warnings
Orange warning label appearing when price approaches a zone — time to prepare
The proximity engine continuously monitors the distance between current price and all active zones. When price comes within the configurable ATR distance of a zone:
An orange ⚠ warning label appears showing the zone type and distance percentage
This gives you advance notice to prepare for a potential reaction — set alerts, tighten stops, or prepare entries
Works for both supply zones above and demand zones below
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 6-Factor Zone Strength Scoring
Every zone is continuously scored from 0 to 100 based on six independent factors. This score determines the tier rating, visual styling, and signal eligibility.
Freshness — Untested Zones Score Highest (up to 25 points)
0 touches = 25 points — Fresh zone, never tested, highest probability
1 touch = 18 points — Tested once, still strong
2 touches = 10 points — Multi-tested, weakening
3 touches = 4 points — Nearly exhausted
4+ touches = 0 points — Weak zone, likely to break
Volume at Origin (up to 20 points)
Compares the volume at the origin candle to the volume SMA
Volume ratio > 3.0× = 20 points (institutional-grade volume)
Volume ratio > 2.0× = 16 points
Volume ratio > 1.5× = 12 points
Volume ratio > 1.0× = 7 points (above average)
Departure Velocity (up to 20 points)
Measures how aggressively price left the zone (in ATR units)
Fast departures indicate strong institutional commitment — they want to get filled and move price away quickly
Velocity > 3 ATR = 20 points
Velocity > 2 ATR = 15 points
Velocity > 1 ATR = 10 points
Zone Age (up to 15 points)
Younger zones score higher — they are more relevant to current market conditions
Under 20 bars old = 15 points
Under 50 bars old = 12 points
Under 100 bars old = 8 points
Under 200 bars old = 4 points
Over 200 bars old = 1 point
EMA Confluence (up to 10 points)
Demand zones score higher when price is below the 200 EMA (buying into weakness)
Supply zones score higher when price is above the 200 EMA (selling into strength)
This adds structural trend context to zone quality
Flip Zone Bonus (up to 10 points)
Zones created from polarity reversal receive a flat 10-point bonus
Broken support becoming resistance (or vice versa) is one of the most reliable patterns in institutional trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Dashboard Intelligence
A comprehensive AlphaX-branded dashboard provides real-time zone analytics organized into four sections:
Zone Inventory
Active supply and demand zone counts
Breakdown by status: F (Fresh), T (Tested), W (Weak)
Total flip zone count
Market Bias
Strength-weighted zone bias — shows whether demand or supply zones dominate the current price area
EMA trend direction (Strong Bull / Bull / Bear / Strong Bear / Cross)
RSI with zone classification (OB / OS / HIGH / LOW / MID)
Nearest Zones
Nearest supply zone above current price — with price level, strength score, and distance percentage
Nearest demand zone below current price — with price level, strength score, and distance percentage
Position indicator — shows whether price is closer to supply or demand
Signal Status
Last signal type and how many bars ago it fired
Current volume status relative to the SMA (Spike / High / Normal / Dry)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Order Blocks — Step by Step
Step 1 — Identify the Zone Landscape
Look at the chart for active supply (red) and demand (green) zones
Check the Dashboard: Which zones are fresh (F)? Which are tested (T)?
Note any purple flip zones — these are high-probability levels
Step 2 — Wait for Price to Approach a Zone
When the ⚠ proximity warning appears, prepare for a potential reaction
Check the zone's tier rating — S and A tier zones have the highest reaction probability
Ignore C-tier zones unless other confluence is present
Complete trade flow: Zone detection → Proximity warning → Price enters zone → Entry signal → Risk/Reward projection
Step 3 — Enter on Confirmed Signal
Wait for a scored entry label (▲ or ▼) to appear
Confirm the tier — S-Tier and A-Tier signals have the highest probability
Place your stop loss beyond the opposite side of the zone
Step 4 — Set Target Using R:R Projection
The system automatically projects a dotted line to the nearest opposite zone
The R:R ratio is displayed — only take trades offering at least 1.5R or better
Use the projected target as your primary take-profit level
Step 5 — Monitor Zone Degradation
If you are in a trade and the target zone changes from solid to dashed border, it may break — consider tightening your take-profit
If your entry zone starts getting tested from the wrong side, the thesis may be failing — consider a stop adjustment
Step 6 — Understand Zone Breaks
When a zone breaks (candle closes through it), the zone is automatically deleted
If flip detection is enabled, a new opposite zone appears at the same level
Zone breaks often indicate a change in institutional bias — respect them
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ When NOT to Trade — Zone Quality Filters
Not all zones are created equal. AlphaX Order Blocks gives you clear visual and numerical cues to avoid low-quality setups:
Avoid these conditions:
C-Tier zones only — If no S, A, or B tier zones are near price, the area lacks institutional interest
All zones heavily tested — If every zone shows ×3 or ×4 touches with dashed/dotted borders, the levels are exhausted
Dashboard shows "BALANCED" bias — When supply and demand strength are equal, there is no clear institutional edge
Volume shows "DRY" — Low volume environments produce unreliable zone reactions
Multiple flip zones clustered — Heavy flip activity indicates a choppy, indecisive market where zones break frequently
What to do:
Wait for new fresh zones to form with strong volume
Look for zones where the departure velocity was high (the market left aggressively)
Switch to a higher timeframe to find larger, more significant zones
Only trade zones that align with the EMA trend direction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🔬 Institutional zone detection using consecutive impulse candles + volume confirmation
🏗 6-factor zone strength scoring (freshness, volume, velocity, age, EMA, flip)
🏷 S/A/B/C tier zone classification with readable labels and strength percentages
👆 Multi-touch tracking with automatic visual degradation (solid → dashed → dotted → faded)
🔄 Automatic flip zone detection — broken supply becomes demand and vice versa (purple zones)
▲▼ Confidence-scored entry signals at high-quality zone reactions
📐 Risk/Reward auto-projection to nearest opposite zone with R:R ratio
⚠ Proximity warnings when price approaches active zones
📊 EMA confluence scoring — zones aligned with trend structure score higher
📈 Comprehensive AlphaX-branded dashboard — zone inventory, market bias, nearest zones, signal status
🎨 Cohesive triple-tone color theme — Green for demand, Red for supply, Purple for flip zones
🔔 15+ alert conditions — zone detection, touches, signals by tier, and combined
⚙ Fully configurable — detection sensitivity, zone behavior, scoring weights, and all visuals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Zone Detection
Consecutive Candles Required — Number of same-direction candles for impulse detection (default: 3)
Origin Candle Lookback — How far back to search for the origin candle (default: 6)
Volume Threshold Multiplier — Volume must exceed SMA × this value (default: 1.0)
Volume SMA Length — Baseline period for volume comparison (default: 50)
Zone Height (ATR Multiple) — Controls the vertical thickness of zone boxes (default: 1.5)
Max Active Zones Per Side — Cap on simultaneous supply and demand zones (default: 8)
Zone Cooldown — Minimum bars between new zones of the same type (default: 10)
Zone Behavior
Max Touches Before Weak — After this many tests, zone is visually degraded (default: 4)
Require Close to Break Zone — Prevents wick-through fake breaks (default: enabled)
Detect Flip Zones — Enable/disable polarity reversal detection (default: enabled)
Confluence
Fast EMA Period — Short-term trend reference (default: 21)
Slow EMA Period — Long-term structural reference (default: 200)
Show EMAs — Toggle EMA plot visibility
Use EMA Confluence in Scoring — Add/remove EMA from strength calculation
Signals
Show Entry Signals — Toggle entry labels
Min Zone Strength for Signal — Minimum score required (default: 40%)
Signal Cooldown — Minimum bars between signals (default: 5)
Show Proximity Warnings — Toggle approach alerts
Proximity Distance — How close price must be to trigger warning (default: 1.5 ATR)
Risk/Reward
Show Risk/Reward Projection — Toggle the dotted target line and R:R label
Dashboard
Show Dashboard — Toggle the information panel
Position — Top Left, Top Right, Bottom Left, Bottom Right
Dashboard Text Size — Tiny, Small, Normal
Colors
Bull / Demand Primary / Bright / Dim — Green family for demand zones
Bear / Supply Primary / Bright / Dim — Red family for supply zones
Flip Zone — Purple for polarity-reversed zones
Proximity Warning — Orange for approach alerts
Neutral / Neutral Light — Gray for structural elements
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
New Supply Zone Detected — Fires when a fresh supply zone is created
New Demand Zone Detected — Fires when a fresh demand zone is created
Supply Zone Touched — Fires when price enters a supply zone
Demand Zone Touched — Fires when price enters a demand zone
S/A/B-Tier Demand Signal — Confidence-based demand entry alerts
S/A/B-Tier Supply Signal — Confidence-based supply entry alerts
Any Demand / Supply / Zone Signal — Combined alert conditions
All alert messages include {{ticker}} and {{interval}} placeholders for clean webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is tuned for XAUUSD (Gold), major forex pairs, and indices on the 5-minute to 1-hour timeframes :
3 consecutive candles strikes the balance between sensitivity and reliability
Volume multiplier at 1.0× captures most institutional moves without over-filtering
Zone cooldown at 10 bars prevents cluster creation in volatile periods
Max 4 touches before weak aligns with institutional order absorption theory
EMA confluence enabled for trend-aligned zone scoring
For other instruments or timeframes, adjust:
Higher timeframes (4H, Daily) — Increase Origin Lookback to 8–10, increase Zone Height to 2.0+ ATR
Scalping (1m, 5m) — Reduce Consecutive Candles to 2, reduce Cooldown to 5–7 bars
Crypto — Increase Zone Height to 2.0–3.0 ATR (higher volatility), increase Volume Multiplier to 1.5×
Forex majors — Use defaults, optionally reduce Volume Multiplier to 0.8× for pairs with lower tick volume
Cleaner zones — Increase Consecutive Candles to 4–5, increase Volume Multiplier to 1.5×
More zones — Decrease Consecutive Candles to 2, decrease Volume Multiplier to 0.7×, increase Max Zones
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🏛 Institutional/Smart Money Traders — Designed to identify where large orders originated and where unfilled orders may remain
📐 Supply & Demand Traders — Automated zone detection with strength scoring replaces manual drawing
🥇 Gold & Forex Traders — Tuned for assets with clear institutional participation patterns
🧠 Systematic Traders — The 6-factor scoring system provides a quantitative framework for zone quality assessment
📊 Breakout Traders — Flip zone detection automatically identifies broken levels as new opportunity zones
📈 Traders who value clean charts — No clutter. Zones auto-degrade and auto-remove. Only relevant levels remain.
⚠ Traders who struggle with zone selection — The tier system physically tells you which zones are worth trading and which to ignore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
All zone detections are confirmed on bar close — zones do not repaint or move after creation
Zone break confirmation uses candle close by default (not wicks) to prevent fake-outs — this can be toggled off for aggressive trading
Flip zones inherit a reduced departure velocity (70% of original) to account for diminished institutional interest at reversed levels
Volume delta uses candle direction (close vs open) as a proxy for buy/sell pressure — this is an approximation, not true order flow
Dashboard updates on the last bar only for performance optimization
Maximum 500 boxes, 500 labels, and 500 lines are used — on very low timeframes with extended history, oldest drawings may be automatically removed by TradingView's rendering limits
Overlapping zone prevention runs at creation time — if a new zone would overlap an existing one of the same type, it is not created
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals and zone detections are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Supply and demand zones represent areas of historical interest, not guaranteed future reaction points. Past zone behavior does not guarantee future price reactions. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who demand clarity, confidence, and precision from their charts. Indicador

DeltaPulse Wave [ChartPrime]🔶 OVERVIEW
DeltaPulse Wave is a high-contrast orderflow oscillator that visualizes institutional conviction and identifies market absorption through standardized Volume Delta analysis. By normalizing the net difference between aggressive buying and selling into a readable wave, this tool allows traders to spot trend exhaustion and high-probability reversals before they appear in the price action.
The indicator focuses on the relationship between price structure and volume delta, featuring automated divergence detection that connects price peaks to the underlying volume flow.
• Standardized Relative Delta Strength (RDS)
• NEW: Integrated Status Dashboard (Trend, Value, & Last Signal)
• NEW: On-Chart "Bull/Bear" Signal Triangles (force_overlay)
• Structural Divergence Detection (Price HH vs. Wave LH)
• Adjustable OB/OS Volatility Thresholds
• Price Chart & Oscillator Sync Lines
🔶 CORE CONCEPT — RELATIVE DELTA
Standard cumulative delta indicators often run off the chart or reset at arbitrary times. DeltaPulse solves this by normalizing the Delta into a fixed range (-50 to +50).
• Surge Intensity: The gradient fill expands as volume conviction increases, highlighting where "Smart Money" is most active.
• Neutral Equilibrium: The wave oscillates around a zero baseline, marking the shift between aggressive buyer and seller control.
🔶 INTEGRATED DASHBOARD
The script now features a customizable dashboard that provides real-time analytics without cluttering your workspace:
Current Wave: Tracks the exact RDS value in real-time.
Trend Status: Automatically identifies the prevailing market bias based on the zero-line crossover.
Last Divergence: Keeps a record of the most recent signal (Bullish or Bearish) for quick reference.
🔶 ADVANCED DIVERGENCES & MARKERS
The oscillator includes a sophisticated divergence engine that connects structural peaks and troughs.
On-Chart Labels: High-visibility triangles with "Bull" and "Bear" text are plotted directly on price bars (using force_overlay ), ensuring you never miss a signal while focusing on price action.
Filtering Logic: Only divergences with a minimum 5-bar gap are flagged, ensuring that only significant market shifts are identified.
Sync Lines: Solid lines are drawn on both the Price Chart and the Oscillator, making it easy to see when price is being "pushed" higher on lower volume (Absorption).
🔶 HOW TO USE
Absorption Reversals: Look for a Bearish Divergence (Red Triangle) at a major resistance zone. This signals that aggressive buying is decreasing even as price attempts to climb higher.
Trend Strength: A healthy trend should be accompanied by the wave holding above the OB Threshold (25) for bullish runs or below the OS Threshold (-25) for bearish runs. Check the Dashboard to confirm the "Bullish/Bearish" trend state.
Snap-Back Trades: When the wave reaches extreme levels (+/- 40), it signals an over-extension that often results in a mean-reversion move toward the zero baseline.
🔶 CONCLUSION
DeltaPulse Wave reveals the "hidden fuel" of every market move. By filtering out minor fluctuations and providing both an on-chart signal system and a data-rich dashboard, it provides traders with a reliable tool for identifying institutional participation and trend exhaustion.
Indicador

Vestige Liquidity Terrain [JOAT]Vestige Liquidity Terrain
Introduction
The Vestige Liquidity Terrain is an open-source liquidity analysis indicator built in Pine Script v6. It detects, scores, and tracks liquidity zones — price levels where resting stop orders and limit orders tend to cluster — using pivot-based detection, volume-weighted intensity, a multi-factor scoring system, sweep tracking, and trade planning overlays. The indicator identifies where liquidity exists, how strong each zone is, whether it has been swept, and which zones are the most probable targets for price to reach next.
Liquidity is the fuel that moves markets. Institutional traders need liquidity to fill large orders, and they often engineer price moves toward areas where stop orders are concentrated. Understanding where liquidity sits, how fresh it is, and whether it has confluence with key levels gives traders a significant edge in anticipating where price is likely to travel.
Why This Indicator Exists
Most liquidity zone indicators simply draw boxes at swing highs and lows. They treat all zones equally and provide no context about which zones matter most. This indicator goes further:
Pivot-Based Zone Detection: Uses configurable left/right pivot bars to identify swing highs and lows where resting orders accumulate. Zones are padded by a tick-based distance to account for the cluster of stops around a level.
Volume-Weighted Intensity: Each zone's creation is filtered by normalized volume. Only zones formed during meaningful volume activity are tracked, filtering out noise from thin-market pivots.
Zone Merging: When a new pivot forms within a configurable tick distance of an existing zone, the zones are merged rather than stacked. This prevents redundant zones and reflects the reality that nearby levels form a single liquidity pool.
Multi-Factor Scoring (0-100): Each zone receives a dynamic score based on touches, freshness, confluence with key levels, reaction speed, session alignment, and regime context. This score determines visual prominence and whether the zone qualifies as a trade planning target.
Sweep Tracking: When price sweeps through a zone, the event is recorded. Swept zones receive a score penalty because their liquidity has been partially consumed.
Trade Planning Targets: The nearest high-scoring zones above and below current price are highlighted as potential targets, with dashed lines extending forward and score labels.
Zone Scoring System
The scoring system is what separates this indicator from basic liquidity zone tools. Each zone's score is computed from multiple factors:
Touch Score (max 60): Each time price touches a zone without sweeping it, the zone gains 12 points. More touches mean more orders have accumulated at that level. Capped at 60 to prevent over-weighting.
Freshness (max 40): Newer zones score higher. The freshness component starts at 40 and decays by 0.8 points per bar of age. Old, stale zones that have not been tested lose relevance.
Confluence (max 40): Proximity to key institutional levels adds 10 points each. The indicator checks confluence with Prior Day High, Prior Day Low, Prior Week High, Prior Week Low, VWAP, Opening Range High, and Opening Range Low. A zone that aligns with multiple key levels is significantly more important.
Reaction Speed (max 22): The ratio of fast reactions (price bouncing within 2 bars of touching the zone) to total reactions. Zones that produce quick, sharp reactions are more likely to hold in the future.
Session Alignment: The ratio of RTH (Regular Trading Hours) touches to overnight touches modifies the score. Zones tested during high-liquidity sessions carry more weight.
Score modifiers are then applied:
Recently swept zones receive a 0.55x multiplier — their liquidity is partially consumed
Midday zones without confluence receive a 0.60x penalty — low-conviction levels
Open Drive zones with few touches receive a 0.75x penalty — too early to confirm
Power Hour zones with confluence receive a 1.10x boost — high-conviction late-session levels
Trend-aligned zones receive a 1.05x boost
Mean-reversion zones without confluence receive a 0.70x penalty
Regime Detection
The indicator includes its own regime detection engine based on VWAP slope analysis:
Trend Up: VWAP slope exceeds the threshold AND price is at or above VWAP — directional momentum is present
Trend Down: VWAP slope is below the negative threshold AND price is at or below VWAP
Mean Reversion: VWAP slope is flat (within threshold) AND price is within a configurable band of VWAP — range-bound conditions
Mixed: Conditions do not clearly fit any category
The regime state feeds into the zone scoring modifiers. In a trending regime, zones aligned with the trend direction receive a boost. In mean-reversion conditions, zones without confluence are penalized because they are less likely to produce clean reactions.
A confidence percentage is calculated for each regime classification, giving traders a sense of how clearly the market fits the detected state.
Sweep Detection and Classification
When price moves through a liquidity zone, the indicator records a sweep event:
The sweep bar and price are stored for each zone
A "SWEEP" label is placed on the chart with configurable display modes (Off, First Only, Recent Only)
Swept zones receive a significant score penalty (0.55x multiplier)
A cooldown prevents multiple sweep labels from stacking on adjacent bars
The sweep price is tracked separately from the zone price, allowing analysis of how far price extended beyond the zone
Sweeps are important because they represent liquidity being consumed. A zone that has been swept once still has some residual significance (remaining orders), but its primary liquidity pool has been tapped.
Trade Planning Overlays
The indicator identifies the nearest high-scoring zones above and below current price as potential targets:
Only zones with scores above a configurable minimum (default 60) qualify as targets
Target lines are drawn as dashed lines extending forward by a configurable number of bars
Each target line includes a label showing the zone's score percentage
This gives traders a clear view of where the nearest significant liquidity sits in each direction
Visual Design
The indicator uses a "Deep Ocean" color theme — bioluminescent aqua, deep ocean blue, coral orange, tidal cyan, kelp green, and pearl white on an abyssal dark background:
Zone Boxes: Color reflects directional expectation (continuation vs rejection blend). Opacity adapts to distance from price, age, and score — nearby fresh high-score zones are more visible, distant old low-score zones fade.
Border Width: Score-based — zones scoring 80+ get 3px borders, 50+ get 2px, others get 1px
Sweep Labels: Coral-colored "SWEEP" labels at the sweep location
Target Lines: Dashed lines in bioluminescent aqua (above) and coral (below) with score labels
Key Levels: PDH/PDL, PWH/PWL drawn as reference lines with theme-aware colors
Opening Range: ORH/ORL lines marking the first N minutes of the session
VWAP: Plotted as a reference line for regime context
HUD Dashboard
The real-time HUD displays:
Key level prices and distances: PDH, PDL, PDC, PWH, PWL, ORH, ORL
Nearest liquidity targets above and below with scores
Current regime state with confidence percentage
Time-of-day classification (Open Drive, Midday, Power Hour, RTH, Off)
Active zone count
Input Parameters
Zone Detection:
Pivot Left/Right Bars: Lookback for swing detection (default: 5/3)
Max Zones Stored: Maximum tracked zones (default: 20)
Zone Padding: Tick-based padding around pivot levels (default: 6)
Merge Distance: Tick distance for merging nearby zones (default: 10)
Volume Filter: Minimum normalized volume for zone creation (Low/Mid/High)
Zone Scoring:
Min Score to Draw: Minimum score for a zone to be visible (default: 25)
Max Visible Zones: Limit on simultaneously displayed zones (default: 10)
Reaction Window: Bars to check for reaction after touch (default: 6)
Reaction Move: Tick threshold for a valid reaction (default: 14)
Fast Reaction: Maximum bars for a "fast" reaction classification (default: 2)
Context:
VWAP Slope Length: Lookback for regime detection (default: 20)
Trend Slope Threshold: Minimum slope for trend classification
Mean-Reversion Band: Maximum distance from VWAP for MR classification
Time-of-Day periods: Open Drive, Midday, Power Hour boundaries
Trade Planning:
Min Score for Targets: Minimum zone score to qualify as a target (default: 60)
Extend Bars: How far forward target lines extend (default: 200)
How to Use This Indicator
Step 1: Identify High-Score Zones
Focus on zones with scores above 60. These have multiple touches, are relatively fresh, and have confluence with key levels. They represent the most significant liquidity pools.
Step 2: Check the Regime
In a trending regime, liquidity zones in the trend direction are more likely to be swept (taken out) as price reaches for stops. In mean-reversion conditions, zones are more likely to produce bounces.
Step 3: Use Targets for Trade Planning
The trade planning lines show you where the nearest significant liquidity sits. In a long trade, the target above is your potential take-profit area. The target below is where your stop might be hunted.
Step 4: Watch for Sweeps
When a zone is swept, its liquidity has been consumed. This often precedes a reversal as the institutional objective (filling orders) has been achieved. A sweep at a high-score zone with confluence is a particularly strong reversal signal.
Step 5: Monitor Zone Lifecycle
Zones are born, tested, and eventually swept or aged out. Fresh zones with rising touch counts are gaining significance. Old zones with no recent touches are losing relevance. The scoring system handles this automatically.
Best Practices
Liquidity analysis works best on instruments with reliable volume data and sufficient market depth
Higher-timeframe zones (1H, 4H) tend to be more significant than lower-timeframe zones
Zones with confluence (near PDH/PDL, PWH/PWL, VWAP) are significantly more reliable than isolated zones
Not all sweeps lead to reversals — sometimes price sweeps through and continues. Confirm with other analysis.
The regime detection helps contextualize zones but is not infallible. Use it as one input among many.
Adjust the volume filter based on your instrument. Highly liquid instruments may need "High" to filter noise. Less liquid instruments may need "Low" to detect zones at all.
The merge distance should be calibrated to your instrument's typical spread and tick size
Limitations
Pivot-based zone detection has an inherent delay equal to the right-bar lookback period
The scoring system uses heuristics, not a statistical model. Scores indicate relative importance, not probability.
Volume-based filtering requires reliable volume data. Forex volume from most brokers represents tick volume, not true exchange volume.
Zone merging can occasionally combine zones that a manual analyst would keep separate
The indicator tracks a maximum number of zones. In very active markets, older zones may be pruned before they are swept.
Sweep detection is based on price crossing through the zone boundary. It does not distinguish between genuine institutional sweeps and random price fluctuations through a level.
Time-of-day and session features are most relevant for instruments with clear session structures (equities, futures). 24-hour markets like crypto may benefit less from session-based scoring.
Technical Implementation
Built with Pine Script v6 using:
16 parallel arrays for comprehensive zone data tracking (price, type, touches, scores, reactions, etc.)
Zone merging algorithm that consolidates nearby pivots into single liquidity pools
Multi-factor scoring function with session, regime, and time-of-day modifiers
Distance-based and age-based visual fading for clean chart presentation
Score-based border width for visual hierarchy
Directional expectation coloring (continuation vs rejection blend)
VWAP slope-based regime detection with confidence calculation
Trade planning line management with score-filtered target identification
Sweep tracking with cooldown and configurable display modes
Alert conditions for sweeps, regime changes, and high-score zone creation
Originality Statement
This indicator is original in its comprehensive liquidity zone lifecycle management. While pivot-based zone detection exists in other scripts, this indicator is justified because:
The multi-factor scoring system (touches, freshness, confluence, reaction speed, session alignment, regime modifiers) provides a quantified assessment of zone significance not available in basic zone indicators
Zone merging prevents the visual clutter of overlapping zones at similar price levels
Sweep tracking with score penalties creates a dynamic zone lifecycle — zones are born, tested, scored, swept, and aged out
Regime-aware scoring modifiers adjust zone significance based on current market conditions
Time-of-day integration (Open Drive, Midday, Power Hour) reflects the reality that liquidity behavior changes throughout the trading session
Trade planning overlays with score-filtered targets provide actionable forward-looking information
The Deep Ocean theme provides intuitive visual hierarchy where zone importance is immediately apparent from color intensity and border width
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Liquidity zone analysis identifies areas of probable order concentration based on historical price behavior — it does not predict future price movement. Zones can be swept without reversing, and high-score zones can fail. Past liquidity patterns do not guarantee future behavior. Always use proper risk management and never risk more than you can afford to lose. The author is not responsible for any losses incurred from using this indicator.
-Made by officialjackofalltrades
Indicador

Indicador

Volume Dispersion Field [JOAT]Volume Dispersion Field
Introduction
The Volume Dispersion Field is an open-source non-overlay indicator that provides a comprehensive volume analysis suite combining relative volume classification, buy/sell delta tracking, volume dispersion measurement, climax detection, volume profile calculation, smart money activity analysis, and anomaly detection. Rather than showing a simple volume histogram, this indicator dissects volume into multiple analytical layers that reveal who is participating, how aggressively, and whether the activity is normal or anomalous.
Built with Pine Script v6, the indicator uses custom types for volume state, delta state, dispersion bins, profile data, smart money state, and volume pulse tracking.
Why This Indicator Exists
Standard volume indicators show a single bar per candle. This tells you how much volume occurred but not who was buying or selling, whether the volume is unusual, or how volume is distributed across the price range. This indicator addresses those gaps by providing:
Seven-tier volume classification: Categorizes each bar from Extreme Low to Extreme High relative to the moving average, giving immediate context about whether current activity is normal or exceptional
Delta analysis: Estimates buying and selling volume using candle structure, then calculates smoothed delta and cumulative delta to show the net direction of volume pressure
Volume dispersion: Measures how volume is distributed between the upper and lower halves of the recent price range, revealing whether volume is concentrated at highs (distribution) or lows (accumulation)
Climax detection: Identifies volume spikes that exceed a configurable threshold, often marking exhaustion points or the start of major moves
Smart money analysis: Tracks institutional-sized volume activity and classifies the market phase as Accumulation, Markup, Distribution, or Markdown
Anomaly detection: Uses Z-score analysis to flag statistically unusual volume events that may indicate institutional intervention
Core Components Explained
1. Volume Classification System
Every bar is classified into one of seven categories based on its ratio to the volume moving average:
volMA = ta.sma(volume, volMaLength)
volRatio = volume / volMA
Extreme High (>= 3.0x): Institutional-level activity, potential climax
High (>= 2.0x): Significant above-average interest
Above Average (>= 1.0x): Healthy participation
Average (>= 0.5x): Normal market conditions
Below Average (>= 0.25x): Reduced interest
Low (< 0.25x): Thin liquidity, potential for slippage
Extreme Low: Minimal activity
Each category is color-coded with a distinct color from the Quantum Volume palette, making it instantly visible which bars carry institutional weight and which are retail noise. The high and low volume multiplier thresholds are fully configurable.
2. Delta Analysis
The delta engine estimates buying and selling volume by analyzing candle structure. For a bullish candle (close > open), buying volume is estimated as the proportion of the candle range from low to close, multiplied by total volume:
if close > open
buyVol := volume * (close - low) / (high - low + 0.0001)
sellVol := volume - buyVol
else if close < open
sellVol := volume * (high - close) / (high - low + 0.0001)
buyVol := volume - sellVol
The raw delta (buyVol - sellVol) is smoothed with an EMA and also accumulated over a configurable period to produce cumulative delta. Rising cumulative delta with rising price confirms bullish conviction. Falling cumulative delta with rising price warns of hidden distribution.
The indicator also detects delta divergences — when price moves in one direction but delta moves in the opposite direction over a 10-bar window. These divergences are marked with cross symbols on the chart.
The Volume Dispersion Field panel showing color-coded volume bars, delta histogram, cumulative delta line, and smart money accumulation/distribution arrows with the dashboard displaying all metrics
3. Volume Dispersion Measurement
Dispersion quantifies how volume is distributed between the upper and lower halves of the recent price range. Over the dispersion lookback period (default 50 bars), the indicator sums volume for bars that closed in the upper half versus the lower half:
Positive dispersion (> 20): Volume is concentrated in the upper range — bullish bias, potential distribution if extended
Negative dispersion (< -20): Volume is concentrated in the lower range — bearish bias, potential accumulation if extended
Near zero: Volume is balanced across the range — no clear directional bias
Dispersion is plotted as a filled area chart, providing a visual representation of where the volume weight sits within the price range.
4. Volume Profile and POC
The indicator calculates a simplified volume profile by dividing the recent price range into configurable bins (default 10) and summing volume in each bin. From this profile, it derives:
Point of Control (POC): The price level with the highest volume — acts as a magnet for price
Value Area High (VAH): Upper boundary of the 70% volume concentration zone
Value Area Low (VAL): Lower boundary of the 70% volume concentration zone
The profile type is classified as Normal (balanced), Imbalanced (narrow value area, directional), or Ranged (wide value area, consolidation).
5. Smart Money and Anomaly Detection
The smart money engine analyzes volume distribution across the price range over a 50-bar window. If significantly more volume occurs in the lower 30% of the range while price is below its 50-period SMA, the indicator classifies the phase as Accumulation. If more volume occurs in the upper 30% while price is above the SMA, it classifies as Distribution.
Anomaly detection uses Z-score analysis:
volState.zScore := (volume - volMA) / (volStdDev + 0.0001)
volState.isAnomaly := math.abs(volState.zScore) > anomalyThreshold
Volume events with Z-scores exceeding the threshold (default 3.0 standard deviations) are flagged as anomalies and marked with diamond symbols. These statistically rare events often indicate institutional intervention or major news-driven activity.
6. Market Phase Classification
The indicator classifies the current market phase based on the combination of price direction and volume trend:
Markup: Price rising + volume rising — healthy uptrend
Distribution: Price rising + volume falling — potential top forming
Accumulation: Price falling + volume rising — smart money buying the dip
Markdown: Price falling + volume falling — healthy downtrend
Visual Elements
Volume Histogram: Color-coded bars by classification tier
Volume MA Line: 20-period moving average of volume
High/Low Volume Bands: Reference bands at the high and low multiplier levels with fill
Delta Histogram: Smoothed buy/sell delta with gradient coloring
Cumulative Delta Line: Running sum of delta over configurable period
Dispersion Area: Filled area showing volume distribution bias
Climax Markers: Triangle markers for buy and sell climax events
Anomaly Markers: Diamond markers for statistically unusual volume
Smart Money Arrows: Accumulation (up arrow) and Distribution (down arrow) signals
Volume Pulse: Circle markers when volume exceeds the pulse threshold
Heatmap Background: Subtle background coloring based on volume intensity
Dashboard: 14-row metrics table showing volume category, anomaly status, phase, delta direction, dispersion, and more
Close-up of the dashboard showing volume classification as "HIGH", phase as "Markup", delta as "BULLISH" with "BUY SIDE" flow, and an anomaly detection reading
Input Parameters
Volume Analysis:
Volume MA Length (default 20)
High Volume Multiplier (default 2.0) and Low Volume Multiplier (default 0.5)
Delta Analysis:
Delta Smoothing (default 3)
Cumulative Delta Length (default 20)
Dispersion Settings:
Dispersion Lookback (default 50) and Dispersion Bins (default 10)
Climax Detection:
Climax Threshold (default 2.5) and Climax Lookback (default 50)
Advanced Volume:
Smart Money Concepts, Institutional Activity, Volume Anomalies toggles
Anomaly Threshold (default 3.0 std dev)
Volume Pulse toggle and Pulse Threshold (default 1.5)
Visual Settings:
Volume Profile, Dashboard, Glow Effects, Heatmap toggles
Profile Width and Color Scheme (Quantum, Classic, Professional, Neon)
How to Use This Indicator
Step 1: Monitor the volume classification. Extreme High and High bars deserve attention — they indicate institutional participation. Consecutive high-volume bars in one direction confirm conviction.
Step 2: Check the delta direction. Bullish delta with rising price confirms the move. Bearish delta with rising price (divergence) warns of potential reversal.
Step 3: Watch for climax events. A buy climax (extreme volume + bullish candle) at a resistance level may signal exhaustion. A sell climax at support may signal capitulation.
Step 4: Monitor the market phase. Accumulation phases often precede significant upward moves. Distribution phases often precede declines.
Step 5: Pay attention to anomaly markers. These statistically rare volume events often mark turning points or the start of major institutional campaigns.
Step 6: Use dispersion to understand volume positioning. Positive dispersion (volume at highs) during an uptrend is healthy. Positive dispersion during a downtrend suggests distribution.
Indicator Limitations
Delta estimation uses candle structure as a proxy for actual order flow. It is an approximation, not true Level 2 data.
Volume analysis works best on instruments with reliable, consistent volume data. Forex spot volume from brokers is tick volume, not true exchange volume.
Anomaly detection assumes volume follows a roughly normal distribution. During earnings seasons or major events, multiple "anomalies" may fire in succession.
The volume profile is a simplified calculation using close prices, not a tick-by-tick profile. It provides a useful approximation but not exchange-grade precision.
Smart money phase classification is based on volume distribution patterns, not on actual institutional order data.
Climax detection identifies extreme volume events but does not predict the direction of the subsequent move.
Originality Statement
This indicator is original in its comprehensive, multi-layer approach to volume analysis. While individual volume tools exist, this indicator is justified because:
It combines seven distinct volume analysis methodologies (classification, delta, dispersion, profile, climax, smart money, anomaly) into a unified system
Z-score-based anomaly detection provides a statistical framework for identifying unusual volume that simple threshold methods miss
Market phase classification (Accumulation/Markup/Distribution/Markdown) adds a Wyckoff-inspired context layer to raw volume data
Volume dispersion measurement quantifies the spatial distribution of volume across the price range, a metric not available in standard volume indicators
The delta divergence detection system identifies hidden disagreements between price and volume pressure
The comprehensive dashboard presents 14 metrics simultaneously for holistic volume analysis
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Volume analysis is a tool for understanding market participation, not a crystal ball for predicting future price movement. Always use proper risk management. The author is not responsible for any losses incurred from using this indicator.
-Made with passion by officialjackofalltrades
Indicador

Institutional Footprint Divergence Engine🔹 Introduction
This indicator, the Institutional Footprint Divergence Engine, attempts to identify moments where price action and genuine order flow diverge — a condition that historically precedes reversals driven by smart money absorption and distribution. The core idea is this: if price makes a new swing high but the underlying buy-sell delta is contracting, the market is printing a higher high on less aggressive buying pressure, suggesting the move is being distributed into rather than genuinely accumulated. The inverse is equally meaningful at lows.
Unlike traditional divergence indicators that use derivative oscillators like RSI or MACD as the proxy for momentum, this script uses volume delta — the direct arithmetic difference between buying and selling volume at the bar level — sourced natively from TradingView's newly released request.footprint() function where a Premium or Ultimate subscription is active. On standard charts, the indicator falls back to a tick-estimated delta approximation. The distinction matters, and I'll cover precisely why throughout this description.
Every detected divergence is assigned a composite quality score from 0 to 100, computed across five weighted dimensions that assess the structural strength, volume context, cumulative delta alignment, and volatility regime at the moment of detection. Only divergences that clear a user-defined score threshold are displayed — filtering the noise that plagues most divergence tools.
🔹 The Premise — Why Delta Divergence Reveals Institutional Behavior
🔸 What volume delta actually measures
Every transaction in a liquid market has a buyer and a seller. Volume delta measures the net directional aggression of those transactions: it is the sum of volume that traded at the ask (aggressive buying) minus the volume that traded at the bid (aggressive selling) within a single bar. A positive delta bar means buyers were more aggressive. A negative delta bar means sellers were more aggressive.
This is categorically different from price direction. A bar can close higher while posting a negative delta — meaning price moved up, but sellers were the more aggressive counterparty throughout the move. This is the fingerprint of absorption: a large participant or group of participants quietly selling into rising price, absorbing aggressive buy orders without allowing the market to fall. They want retail to push price higher. They're using that momentum as liquidity to distribute their position.
Delta divergence is the systematic detection of this condition across swing structures.
🔸 The mechanics of absorption at swing highs
Assume price has been in an uptrend and just made a swing high at $4,200 with a delta of +850 contracts — strong buyer aggression confirming the high. Price retraces, then pushes up again to $4,215, printing a higher high. But this time, the delta is only +210. Price went higher. The aggressive buying volume did not.
What does this tell you? The move to $4,215 required proportionally far less buyer aggression than the move to $4,200. Two possibilities explain this: either sellers are absorbing the buying (distribution), or organic buying interest is fading and the move is increasingly resting on passive limit sell orders being consumed by declining buy-side momentum. Either way, the structural message is identical — the higher high is not supported by the order flow that created it, and the probability of continuation has deteriorated meaningfully.
This is the ICT and Smart Money Concepts concept of distribution rendered in order flow terms rather than price structure terms alone.
🔸 The symmetric argument at swing lows
At swing lows, the bullish divergence condition is: price makes a lower low, but the negative delta at that low is less negative than the prior swing low. Less aggressive selling at a lower price. This is absorption at the demand side — large buyers accumulating into weakness, absorbing retail sell orders without allowing price to collapse further. The lower low prints because they let it — they need the price to be there to fill their orders. But the delta tells you that sellers were unable to drive the same aggression they managed at the prior low.
Harris (2003), in his foundational text on market microstructure, describes this phenomenon as informed traders systematically positioning against the uninformed flow — using the uninformed participants' aggression as liquidity.
Cont, Stoikov & Talreja (2010), in their research on limit order book dynamics, demonstrate empirically that large passive participants consistently exploit periods of high aggressive flow imbalance to establish positions at favorable prices.
Delta divergence is not a leading indicator in the traditional sense. It is a coincident indicator of order flow context that becomes meaningful when paired with a confirmed swing structure.
🔸 Why native footprint data changes the calculus
Prior to January 2026, Pine Script had no access to true intrabar volume distribution. Every "delta" calculation in TradingView scripts was an estimate — typically assigning the bar's total volume directionally based on close position within the bar's range, or using up/down tick counting approximations. These methods are reasonable proxies but they introduce systematic errors: a bar that closes at its midpoint with heavy two-way activity looks identical to a quiet, directionless bar.
TradingView's request.footprint() function changes this entirely. It exposes the actual buy and sell volume recorded at each price level (row) within the bar — the genuine transaction-level data that footprint chart platforms like Sierra Chart and Bookmap have historically required separate subscriptions and data feeds to access. The delta returned by fp.delta() is not an estimate. It is the arithmetic difference between actual ask-side and bid-side transactions aggregated across the bar.
This is the first time this data has been natively programmable in Pine Script, and IFDE is built specifically around it.
🔹 How It Works
🔸 Footprint Data and the Delta Fallback
On a Premium or Ultimate TradingView account with a compatible symbol, request.footprint() returns a footprint object for each bar. IFDE calls fp.buy_volume() and fp.sell_volume() to get true directional volume, and fp.delta() for the bar's net delta. It also iterates every price row via fp.rows() and evaluates row.has_buy_imbalance() and row.has_sell_imbalance() — flagging bars where a disproportionate volume cluster exists at a specific price level, which often marks the precise price where institutional absorption occurred.
When footprint data is unavailable (standard account or non-supported symbol), the indicator falls back to a tick-estimated delta: up-close bars assign 100% of volume to the buy side; down-close bars assign 100% to the sell side; inside bars distribute proportionally based on close position within the range. This fallback is clearly flagged in the status label as ⚠️ ESTIMATED. The divergence logic functions identically in both modes — only the precision of the underlying delta changes.
The Ticks Per Footprint Row input controls the price granularity of the footprint: smaller values create more rows with finer resolution, larger values consolidate into fewer, broader rows. For index futures like ES and NQ, 4–10 ticks per row is typically appropriate. For crypto, you may need to experiment depending on the instrument's tick size.
🔸 Swing Pivot Detection
The indicator uses Pine's native ta.pivothigh() and ta.pivotlow() functions to identify confirmed swing highs and lows. The Swing Pivot Length input defines the lookback and lookahead symmetry of the pivot — a value of 10 means a bar must be the highest high within 10 bars on both sides to qualify as a pivot. Higher values find more significant structural swings but introduce more lag. Lower values are more responsive but noisier.
Critically, delta is sampled at the confirmed pivot bar using ta.valuewhen() — not at the current bar. This eliminates the most common repainting failure mode in divergence indicators: using the current bar's momentum reading to classify a past pivot. The delta value associated with each pivot is locked in the moment the pivot is confirmed.
🔸 Divergence Logic
Each time a new pivot high is confirmed, IFDE compares it against the previous confirmed pivot high. If the current price is higher but the current delta is lower, a bearish divergence is registered. The same comparison runs at pivot lows for bullish divergence, where current price lower and current delta less negative triggers the signal.
The Divergence Lookback setting controls the maximum bar distance between the two pivots being compared. Setting this too wide increases the chance of detecting structurally irrelevant comparisons — swings separated by 150 bars on a 5-minute chart may have no meaningful relationship. Setting it too tight misses legitimate multi-leg divergences. 40–60 bars is a reasonable starting point for most timeframes.
🔸 The ML Quality Score (0–100)
This is the engine's core differentiating feature. Every detected divergence is not displayed by default — it must first pass a composite quality score threshold. The score is calculated across five weighted dimensions:
Delta Magnitude is the most heavily weighted dimension by default (30%). It measures how extreme the opposing delta pressure is, normalised against the rolling maximum delta magnitude over the lookback window. A divergence where the delta is merely slightly less positive scores lower than one where the delta has completely reversed sign.
Volume Confirmation (25%) assesses whether total bar volume at the divergence pivot is above the 14-bar average. Low-volume divergences are structurally weaker — the absorption signal requires meaningful participation to be credible.
CVD Alignment (20%) checks whether the Cumulative Volume Delta — the running sum of all bar-level deltas, mean-reverted against its own moving average — is trending in the direction that supports the divergence. A bullish divergence at a price low carries far more weight when CVD has been quietly rising even as price made new lows.
Price Structure (15%) scores the magnitude of the price swing itself, relative to the current ATR. A divergence across a 0.5 ATR swing scores lower than one across a 2.5 ATR swing. Trivially small swings produce trivially meaningful divergence signals.
Regime Bonus (10%) applies a bonus or penalty based on the current volatility regime, described in detail below.
The weights are fully user-configurable in the 🤖 ML Score Weights input group. Shifting weight toward CVD Alignment, for example, will make the score more conservative and context-dependent. Shifting weight toward Delta Magnitude makes it more responsive to extreme single-bar order flow events. The scores are normalised internally so they always sum to 100 regardless of how you distribute the weights.
Only divergences scoring above the Min Quality Score threshold are displayed. The default of 55 is intentionally permissive to begin with. As you develop familiarity with the indicator on your instrument and timeframe, raising this to 65 or 70 will progressively filter toward only the highest-conviction setups.
🔸 Adaptive Regime Detection
The indicator compares the current 14-period ATR against its own simple moving average over the Regime Detection Period to classify the current volatility environment into three states: HIGH VOLATILITY, NORMAL, and LOW VOLATILITY.
In high volatility regimes, the score threshold is automatically scaled up by 20% — making it harder for a divergence to pass. This is because high-volatility environments produce frequent large delta swings that generate divergence signals with greater frequency but lower predictive value. The regime is tightening the filter precisely when noise is highest.
In low volatility regimes, the threshold is scaled down by 15%. Quiet, low-volatility markets are where institutional accumulation and distribution most commonly occurs under the radar — smaller delta contrasts carry more informational weight when total market activity is compressed.
The current regime and adjusted score floor are displayed in the status label in the top-left corner of the pane. A subtle background colour (green tint for low vol, red tint for high vol) is painted on the price chart to give continuous regime context at a glance.
🔸 The Pane Display
The indicator runs in its own pane below the price chart, containing three visual elements:
The delta histogram plots the smoothed EMA of bar-level delta as coloured columns — cyan for positive (net buying) and red for negative (net selling). The colour intensity scales with the magnitude of the delta relative to the recent maximum, so visually dominant bars correspond to the highest-conviction order flow readings.
The CVD deviation line in yellow shows the cumulative volume delta minus its moving average baseline. This is more useful than raw CVD for divergence context because it removes the secular trend in cumulative flow and focuses on relative shifts — making it easy to spot when CVD is rising or falling against price.
The zero line serves as the delta neutrality reference. Bars crossing from negative to positive delta, or vice versa, in the context of a divergence signal are particularly significant.
On the price chart, divergence lines connect the two pivot points being compared, with opacity scaling to score strength — higher-scoring divergences are rendered more vividly. Labels mark each divergence with its star rating (★ for score 55–69, ★★ for 70–84, ★★★ for 85–100) and the actual score value, along with whether live footprint data or tick estimation is in use.
🔹 Settings Reference
Swing Pivot Length — Controls pivot sensitivity. Lower = more signals, higher = more structural significance. Recommended: 8–15.
Divergence Lookback — Maximum bars between the two pivots being compared. Recommended: 30–75.
Min Quality Score — Score threshold below which divergences are hidden. Start at 55, tune upward as you calibrate to your instrument.
Ticks Per Footprint Row — Footprint granularity. Only relevant with live FP data. Tighter rows = more precision, more computation.
Delta Smoothing Period — EMA period applied to raw delta before divergence comparison. Smoothing reduces false triggers from single noisy bars. Recommended: 2–5.
CVD Baseline Length — Period of the SMA used to mean-revert the cumulative delta. Shorter = more responsive CVD; longer = smoother trend.
Alert Min Score — Score threshold for alert conditions. Set higher than the display threshold if you want alerts only for the strongest signals.
🔹 Closing Remarks
Delta divergence is one of the few conditions in technical analysis that has a genuinely defensible mechanical explanation rooted in market microstructure — it is not a pattern-matching heuristic but a direct observation of the imbalance between aggressive buying and selling pressure across a swing structure. The availability of native footprint data in Pine Script for the first time makes it possible to build this kind of tool without the estimations and approximations that have historically compromised order flow analysis within TradingView.
That said, this indicator is a probabilistic model, not a signal generator. A score of 90 does not mean the trade works. It means the order flow context at that divergence was unusually well-structured relative to the five dimensions measured. Markets can and do continue trending through well-formed divergences, particularly in strongly trending regimes where institutional participants are not distributing but rather re-accumulating on every pullback.
The most effective use of IFDE is as a confluence filter — a condition that must be present alongside your existing structural, session, or macro framework before you engage a level. A bearish divergence at a weekly resistance level, in a high-volatility regime, scoring 82, with live footprint data showing 7 sell imbalance clusters, is a meaningfully different proposition than a 56-scoring divergence on estimated delta at a randomly selected intraday high.
Use the score. Respect the regime. Verify the data source. The rest is your edge.
🔹 References
Market Microstructure & Order Flow
Harris, L. (2003). Trading and Exchanges: Market Microstructure for Practitioners. Oxford University Press.
Cont, R., Stoikov, S., & Talreja, R. (2010). A stochastic model for order book dynamics. Operations Research, 58(3), 549–563.
Volume and Delta Analysis
Easley, D., & O'Hara, M. (1992). Time and the process of security price adjustment. Journal of Finance, 47(2), 577–605.
Easley, D., Hvidkjaer, S., & O'Hara, M. (2002). Is information risk a determinant of asset returns? Journal of Finance, 57(5), 2185–2221.
Institutional Order Flow & Smart Money
Chordia, T., Roll, R., & Subrahmanyam, A. (2002). Order imbalance, liquidity, and market returns. Journal of Financial Economics, 65(1), 111–130.
Grinblatt, M., & Keloharju, M. (2000). The investment behavior and performance of various investor types. Journal of Financial Economics, 55(1), 43–67. Indicador

kNN Market Architecture [LuxAlgo]The kNN Market Architecture indicator is a professional-grade market structure framework that utilizes a k-nearest neighbors (kNN) machine learning classifier to validate price pivots across multiple time horizons. By integrating a dynamic detection engine, cumulative volume delta analysis, and a range-based volume profile, this tool provides a multi-layered hierarchical view of price action to identify high-probability reversal and breakout zones.
🔶 USAGE
The indicator identifies and classifies market structure into three distinct layers: Short-Term (ST), Medium-Term (MT), and Long-Term (LT). Unlike traditional pivot indicators that rely on static lookbacks, each point must pass a kNN similarity test based on relative volatility and volume features to be validated and plotted.
🔹 Multi-Scale Bias Analysis
Users can define which structural layer (ST, MT, or LT) dictates the overall market bias. When price is trading above the most recent validated high of the selected term, the candles and dashboard will reflect a bullish bias. Conversely, trading below the recent validated low indicates a bearish bias. This allows for seamless "top-down" analysis within a single chart view.
🔹 The Delta Tank
When a structural level is active (not yet breached), a "Delta Tank" label appears at the price line. This tool tracks the cumulative volume and delta (buying vs. selling pressure) since the level was formed.
A green icon with a high fill percentage indicates aggressive buying defending a support level or attacking resistance.
A red icon suggests selling pressure is mounting, potentially signaling an upcoming Break of Structure (BOS).
The percentage value represents the delta-to-total-volume ratio, providing a metric for the "exhaustion" or "strength" of a specific level.
🔹 Anchor Volume Profile
The indicator includes a dynamic Volume Profile that anchors itself specifically to the current active structural range. This profile calculates volume distribution between the most recent validated High and Low of your chosen Bias Source, allowing you to see exactly where the most "fair value" was traded within the current trading range.
🔶 ADVANTAGES OVER TRADITIONAL METHODS
The kNN Market Architecture offers several significant improvements over standard market structure indicators:
Noise Filtering via Machine Learning: Traditional pivot indicators plot every mathematical high/low within a window. The kNN classifier filters these by comparing the "signature" (volatility and volume) of the current point against historical successful pivots. If a pivot lacks the necessary confidence, it is ignored, leading to much cleaner charts.
Volatility-Adjusted Detection: Most indicators use a fixed lookback (e.g., 10 bars). This script uses a dynamic engine that expands during high volatility and contracts during low volatility, ensuring the structure remains relevant regardless of market speed.
Contextual Volume Data: While standard indicators only show price, this tool layers Volume Delta and Volume Profiles directly onto the structure points, providing the "why" behind price movements.
🔶 DETAILS
🔹 Auto-Adjust Sensitivity
The core of the detection engine is its ability to adapt to changing market conditions. When "Auto-Adjust Sensitivity" is enabled, the script calculates a volatility ratio by comparing the current ATR to its long-term average. During periods of high volatility, the engine automatically expands the detection window. This ensures that the indicator requires more significant price movement to confirm a new structure point, preventing "false positives" during erratic price swings. In low-volatility environments, the window contracts, making the engine more sensitive to subtle structural shifts.
🔹 kNN Validation Engine
For every potential price pivot, the engine analyzes features such as Relative ATR and Relative Volume. It compares these features against a historical database of previous pivots. If the current point does not meet the "Confidence Threshold" (the average score of its k-nearest neighbors), it is discarded.
🔶 SETTINGS
🔹 Dynamic Engine
Structure Sensitivity: Controls the base lookback for pivot detection.
Auto-Adjust Sensitivity: Enables volatility-based scaling of the detection engine.
🔹 kNN Classifier
k-Nearest Neighbors: The number of historical neighbors to compare against the current pivot.
Confidence Threshold: The minimum similarity score required to validate a structure point.
🔹 Visual Hierarchy
ST/MT/LT Toggles: Enables or disables the visibility of Short, Medium, and Long-term structures.
Bias Source: Choose which term (Auto, LT, MT, ST) governs candle coloring and the Volume Profile.
Color Candles by Bias: Toggles the gradient candle coloring based on the current range position.
🔹 Volume Profile
Show Volume Profile: Toggles the structural range-based profile.
Profile Rows: Adjusts the vertical granularity (price bins) of the profile.
Profile Width (%): Controls the horizontal scale of the profile.
Indicador

Fair Value Gap Profile + Rolling POC [BigBeluga]🔵 OVERVIEW
FVG Profile builds a price-level profile based on detected Fair Value Gaps (FVGs) over a fixed lookback period.
Instead of measuring traded volume alone, this tool aggregates bullish and bearish FVG occurrences into horizontal bins, allowing traders to see where price inefficiencies are most concentrated.
Each profile level represents how many bullish and bearish FVGs formed near that price zone, along with their relative strength, imbalance, and delta volume.
🔵 CONCEPTS
FVG Detection —
• Bullish FVG: when the high two bars back is below the current low.
• Bearish FVG: when the low two bars back is above the current high.
Price Binning — The full price range of the lookback period is divided into fixed bins.
FVG Aggregation — Each detected FVG is mapped to its nearest price bin and counted.
Directional Separation — Bullish and bearish FVGs are stored separately inside each bin.
🔵 FEATURES
Bull / Bear FVG Profile —
• Green segments represent bullish FVG counts.
• Orange segments represent bearish FVG counts.
• Each bin visually shows how many FVGs occurred at that level.
Strength Percentage —
• Each bin displays a % value based on total FVG count.
• The strongest bin is normalized to 100%.
Delta Volume —
• Calculates the difference between bullish and bearish FVG volume per bin.
• Positive delta = bullish dominance.
• Negative delta = bearish dominance.
Heatmap Mode —
• Colors profile levels by relative strength.
• Color direction is driven by delta volume (bullish vs bearish).
Live FVG Visualization — Optionally plots individual bullish and bearish FVG boxes on the chart.
Profile Background — A background frame highlights the full analyzed price range.
🔵 Rolling POC Logic
Unlike a static profile, the Rolling POC moves with price.
It continuously calculates the "peak imbalance level" for the last X bars, providing a moving average of where the market's most significant gaps are forming.
🔵 Moving Average Integration
The indicator features a customizable Moving Average (SMA, EMA, WMA, VWMA, etc.).
This MA helps identify if the price is currently trending toward or away from high-density FVG zones.
An "Auto" length feature is included that scales the MA based on the selected lookback period for optimal smoothing.
🔵 HOW TO USE
Identify FVG Clusters — Strong profile levels highlight prices where inefficiencies repeatedly formed.
Directional Bias — Compare bullish vs bearish segments to determine dominance at each level.
Delta Confirmation — Use delta volume to confirm whether bullish or bearish FVGs control the zone.
Reaction Zones — High-strength bins often act as areas of interest for price reactions.
Heatmap Context — Enable heatmap to quickly spot dominant imbalance zones across the range.
🔵 CONCLUSION
FVG Profile transforms Fair Value Gaps into a structured price-level profile, revealing where inefficiencies cluster and which side dominates those zones.
By combining FVG count, directional balance, delta volume, and strength normalization, it provides a powerful way to analyze imbalance behavior beyond traditional volume profiles. Indicador

Indicador

Absorption SignalsAbsorption Signals by QuantShok (JacobS369)
This script detects absorption candles — bars where aggressive selling is absorbed by buyers (bullish) or aggressive buying is absorbed by sellers (bearish). It uses TradingView's built-in volume delta to measure the net buying/selling pressure within each bar, then flags bars where the delta diverges from the price action on abnormally high volume. Each signal is scored on a 1–5 star confidence system so you can filter for only the highest-quality setups.
The core logic: a bullish absorption fires when the bar closes green (or flat) despite net negative delta on a volume spike — meaning sellers pushed hard but buyers absorbed it all and held price up. A bearish absorption is the mirror — the bar closes red despite net positive delta on a volume spike, meaning buyers pushed but sellers absorbed the pressure and drove price down.
Default settings are optimized for NQ (Nasdaq 100 Futures).
Settings Breakdown
Absorption Settings — "Volume Lookback Period" (default 20) is the number of bars on your current chart timeframe used to calculate average volume and standard deviation for the z-score. On a 5-minute chart, that's the last 20 five-minute bars. "Volume Z-Score Threshold" (default 1.5) sets how many standard deviations above average the current bar's volume needs to be to qualify as a spike — raise it to only catch bigger volume anomalies, lower it for more signals. "Minimum Wick Size %" is the input for wick filtering though the confidence system handles wick scoring internally at the 40% level. "Delta Timeframe" (default 1 minute) controls the resolution used to estimate volume delta — this is independent of your chart timeframe and pulls 1-minute data to approximate buy vs sell volume within each bar.
Confidence Settings — "Minimum Stars to Display" (default 2) filters out low-confidence signals so only setups meeting your threshold appear on the chart. The confidence scoring works by starting at 1 star for any valid absorption signal, then adding stars for: volume z-score above 2.0 (+1), volume z-score above 3.0 (+1), delta z-score above 2.0 (+1), significant wick size above 40% of bar range (+1), and multi-bar confirmation (+1), capped at 5. "Require Multi-Bar Confirmation" checks whether consecutive bars show absorption at the same price level. "Multi-Bar Tolerance" controls how close those consecutive bars need to be (as a percentage of ATR) to count as confirming each other.
Visuals — Toggle bubbles, confidence labels, and the dashboard independently. Bubble size scales with confidence (tiny for 1 star up to huge for 5 stars), and color intensity increases with higher confidence. The dashboard in the top right shows live volume z-score, delta z-score, net delta, current absorption signal, and multi-bar confirmation status. Hovering over any label shows a detailed tooltip with all the underlying stats for that signal.
Adapting to Other Instruments
The main settings to consider adjusting are the volume lookback period (shorter for faster-moving instruments, longer for steadier ones), the z-score threshold (lower it for instruments with less volatile volume patterns, raise it for noisier ones), and the multi-bar tolerance (widen it for instruments with larger ATR). The delta timeframe can stay at 1 minute for most instruments but you might try a higher resolution if your broker provides it.
How to Use
This is not a buy/sell signal generator — it identifies where institutional-level absorption is likely occurring. Use these signals as confluence with your existing strategy. A 4–5 star bullish absorption at a known support level or LVN is a very different setup than a 2-star signal in the middle of nowhere. The tooltip on each label gives you the full breakdown so you can evaluate the quality yourself. Indicador

ZenAlgo - DojiOverview
This indicator identifies Doji candles and adds two contextual filters before creating an alert: a relative volume expansion filter and a normalized directional-shift filter. Most Doji indicators simply detect candle shape. This script instead adds contextual conditions so that alerts appear only when the Doji occurs together with increased participation and a change in short-term directional pressure.
Doji candles appear frequently on their own, so the script focuses on situations where candle balance, elevated activity, and a directional shift occur at the same time.
How the indicator works
The script begins by evaluating candle structure. It measures the full candle range, the size of the body, and the size of the upper and lower wicks relative to the entire candle. A candle is considered a Doji when the body occupies only a small portion of the range.
After identifying the base Doji structure, the candle is classified into one of several common Doji types depending on the relative size of the wicks:
Dragonfly Doji – very small upper wick and long lower wick.
Gravestone Doji – very small lower wick and long upper wick.
Long-legged Doji – both wicks are relatively long.
Standard Doji – small body without the extreme wick proportions of the other types.
A Doji indicates that price moved during the bar but finished close to the opening level, suggesting temporary balance between buyers and sellers.
Volume context (PVSRA-style comparison)
After the candle structure is detected, the script evaluates trading activity.
Current volume is compared with the average volume over a recent lookback window. If current volume exceeds that average by a configurable multiple, the candle is considered to occur during elevated participation.
This step is important because a Doji formed during low activity may simply reflect quiet trading, while a Doji formed during higher participation means more trading occurred but the candle still closed near equilibrium.
Normalized price-change proxy
The script then evaluates short-term directional behavior.
It measures the percentage change between consecutive closing prices. This series is smoothed to reduce noise and then normalized relative to recent behavior. The normalization allows the script to determine whether the current directional movement is unusually positive or negative compared with recent activity.
The script compares this normalized value with the previous bar. An alert requires the value to change sign between the two bars, which indicates that the short-term directional pressure has flipped.
Why the components are combined
Each component describes a different aspect of market behavior:
The Doji describes temporary balance inside a candle.
The volume comparison measures whether that balance occurred during elevated participation.
The directional flip indicates a shift in short-term pressure.
Basic Doji markers highlight every small-body candle. This indicator is more selective because it only highlights cases where equilibrium, participation, and directional change appear together.
Final alert logic
An alert is created when the following conditions occur simultaneously:
A Doji is present on the current candle or the previous candle.
Volume exceeds the recent average by the configured multiple when the volume filter is enabled.
The normalized directional reading flips sign between two consecutive bars.
Alerts are separated into bullish and bearish categories according to the direction of the normalized reading after the flip.
How to interpret the alerts
A bullish alert means the script detected a Doji context with elevated volume and a positive directional flip.
A bearish alert means the same conditions occurred with a negative directional flip.
The alert marks a moment where price equilibrium, increased participation, and directional change appeared together. These conditions may appear near short-term transitions, pauses, or local turning points.
How to use the indicator
This indicator is intended as a contextual chart tool rather than a standalone trading system.
Use alerts to locate Doji candles confirmed by participation and directional change.
Interpret bullish alerts as possible upward transitions and bearish alerts as possible downward transitions.
Evaluate the alert location relative to support, resistance, or recent trend structure.
Combine the alerts with other analysis tools or higher timeframe context.
Why Heikin Ashi often works well
The script can be used on any chart type, but Doji detection often becomes clearer on Heikin Ashi candles.
Heikin Ashi candles smooth short-term price fluctuations by averaging values from multiple bars. Because the indicator relies on candle body and wick proportions, this smoothing reduces small random Doji created by short-term noise and produces clearer candle structures.
Limitations
Doji candles occur frequently and do not inherently indicate reversals.
Volume filters depend on the quality and meaning of the exchange’s volume data.
The directional proxy is based on price changes rather than direct order flow.
Different markets, timeframes, and preset settings can change how often alerts appear.
The indicator highlights situations where candle equilibrium, elevated participation, and directional change appear together, but it does not determine future price direction. Indicador

TickCharts [crlmx]Volume-based candlestick chart - each candle represents a fixed dollar volume, rather than a time interval. A configurable bar statistics table shows delta, CVD, and volume breakdowns per candle. Reveals market participation pace, institutional activity, and regime shifts through candle formation speed.
Key Features
Dollar volume threshold candles (default $1M)
Tick-accurate volume via TradingView footprint API (Premium or above)
Bar statistics table with 6 configurable rows below candles
9 data types per row: Time, Volume, Delta, Buy, Sell, Delta %, Buy %, Sell %, Session CVD
Volume progress label showing dollar amount, threshold and percentage on the live candle
Streamlined input / UI brought to you by crlmx
Trading Applications
Volume candles compress during consolidation and expand during breakouts
Fast candle succession signals high participation; slow formation signals stalling
CVD tracks cumulative order flow direction across the visible range
Delta and CVD rows show buyer/seller dominance per candle
Recommended settings: Crypto (BTC/ETH): Candle Volume: $5M-$10M Index Futures (ES/NQ): Candle Volume: $1M-$2M
Commodities (Gold): Candle Volume: $500K-$1M
Version History
v0.42 (Latest - 07 Mar 2026)
Updated LTF Volume calculation to Footprint API
Added Bar statistics table with 6 configurable rows and 9 data types
Added row customisation Indicador

Luminous Volume Delta [Pineify]Luminous Volume Delta — Volume Polarity Oscillator with Surge Detection & Momentum Cloud
The Luminous Volume Delta is a volume-based momentum oscillator that decomposes total volume into buying and selling pressure, calculates the net delta, and overlays a smoothed oscillator with signal line crossovers and intelligent volume surge detection. Unlike standard volume indicators that simply display bar-by-bar volume, this indicator estimates the directional intent behind each bar's volume by classifying it as buyer- or seller-dominated based on candlestick polarity. The result is a MACD-style oscillator built entirely on volume data, giving traders a clear, actionable view of when buying or selling pressure is genuinely shifting — and when a volume surge makes that shift especially significant.
Key Features
Intrabar volume polarity estimation that splits each bar's volume into buy volume and sell volume based on candlestick direction
Raw volume delta histogram with adaptive transparency — surge bars appear vivid while normal bars remain faded for instant visual prioritization
EMA-smoothed delta line paired with an SMA signal line for MACD-style crossover detection
Volume surge detection using a configurable threshold (default: 1.618× the 50-bar average volume) to highlight bars with unusually high market participation
Momentum Cloud fill between the smoothed delta and signal line that visually encodes whether buyers or sellers currently hold the momentum advantage
Filtered buy and sell signals that only trigger when crossovers occur in optimal territory — oversold for buys, overbought for sells
How It Works
The indicator follows a three-stage calculation pipeline that transforms raw volume into a normalized momentum oscillator:
Stage 1: Volume Polarity Classification
Each bar's total volume is classified based on the relationship between its open and close prices. Bullish bars (close > open) assign 100% of volume to buyers. Bearish bars (close < open) assign 100% to sellers. Doji bars (close = open) split volume equally between buyers and sellers, reflecting market indecision. This simple yet effective heuristic provides a practical approximation of order flow without requiring tick-level data.
Stage 2: Delta Calculation and Smoothing
The raw volume delta (buy volume minus sell volume) is calculated for each bar. A positive delta indicates net buying pressure; a negative delta indicates net selling pressure. This raw delta is then smoothed using an Exponential Moving Average (EMA) with the user-defined "Delta Smoothing Length" (default: 14 periods) to reveal the underlying trend in volume flow. A Simple Moving Average (SMA) signal line is computed over the smoothed delta using the "Signal Line Length" (default: 9 periods), creating a slower reference for crossover analysis.
Stage 3: Surge Detection
A 50-period SMA of total volume establishes the baseline average volume. When the current bar's volume exceeds this average multiplied by the surge threshold (default: 1.618, inspired by the golden ratio), the bar is flagged as a volume surge. Surge bars receive vivid histogram coloring (low transparency) while normal bars remain faded (high transparency), instantly drawing the trader's attention to moments of exceptional market participation.
Trading Ideas and Insights
Accumulation and Distribution Detection — Sustained positive raw delta (green histogram bars) indicates accumulation by buyers, while sustained negative delta (red bars) reveals distribution by sellers. The smoothed delta line confirms whether this pressure is building or fading.
Momentum Crossover Entries — When the smoothed delta crosses above the signal line, buying momentum is accelerating relative to its recent average. When it crosses below, selling momentum is taking over. These crossovers function identically to MACD signal crossovers but are driven purely by volume dynamics.
Surge-Confirmed Moves — Volume surges that coincide with a delta crossover carry significantly more weight than crossovers on normal volume. A vivid green surge bar appearing alongside a bullish crossover suggests strong institutional participation behind the move.
Divergence Analysis — When price makes new highs but the smoothed delta fails to confirm with new highs of its own, it signals weakening buying conviction — a classic bearish divergence. The inverse applies for bullish divergences at price lows.
Zero-Line Context — The zero line represents equilibrium between buying and selling pressure. Crossovers of the smoothed delta above zero confirm a shift to net buyer dominance; crossovers below zero confirm net seller dominance.
How Multiple Indicators Work Together
The Luminous Volume Delta integrates three complementary analytical techniques into a unified volume analysis system:
The volume polarity estimation provides the raw directional data, the dual moving average system (EMA + SMA) creates a momentum oscillator framework, and the surge detection layer adds a volatility filter — together forming a complete volume-momentum analysis toolkit.
The raw delta histogram gives bar-by-bar granularity, showing the immediate balance of buying versus selling pressure. However, raw data is inherently noisy, which is why the EMA-smoothed delta line is overlaid to extract the trend from the noise. The EMA was chosen over an SMA for the delta line because it front-weights recent data, keeping the oscillator responsive to sudden shifts in volume flow.
The SMA signal line intentionally uses a different averaging method (SMA rather than EMA) to create a smoother, more stable reference. This deliberate mismatch between EMA and SMA produces more meaningful crossover events — the faster EMA reacts to changes in volume pressure while the slower SMA confirms that the shift is sustained rather than transient.
The surge detection system operates independently from the oscillator but provides critical context. A crossover signal on normal volume may represent routine market fluctuation, while the same crossover accompanied by a volume surge (highlighted by vivid histogram coloring) suggests genuine conviction behind the move. The golden ratio threshold (1.618×) provides a mathematically balanced sensitivity that captures meaningful volume spikes without flagging every minor uptick.
The Momentum Cloud fill between the delta and signal lines synthesizes the relationship between these two components into a single visual element — green when the delta leads (bullish momentum advantage) and red when the signal leads (bearish momentum advantage).
Unique Aspects
Volume-native oscillator — While most oscillators are price-derived (RSI, Stochastic, MACD), this indicator builds its entire oscillator framework from volume data, providing a fundamentally different perspective on market momentum.
Adaptive transparency histogram — The dual-transparency system (15% for surges, 75% for normal bars) creates an automatic visual hierarchy that highlights the most important volume events without requiring the trader to scan for them manually.
Golden ratio surge threshold — The default 1.618× multiplier is rooted in the golden ratio, providing a naturally balanced detection sensitivity that has been observed to align well with significant volume expansion events across various markets and timeframes.
Zone-filtered signals — Buy signals require the crossover to occur in negative territory (oversold accumulation), and sell signals require it in positive territory (overbought distribution). This filtering eliminates low-conviction signals that occur in neutral mid-range territory.
Mixed MA crossover design — Using an EMA for the delta line and an SMA for the signal line is a deliberate design choice that balances responsiveness with stability, producing higher-quality crossover signals than same-type MA pairs.
How to Use
Add the Luminous Volume Delta indicator to your chart. It will appear in a separate panel below the price chart.
Observe the histogram bars for immediate volume delta context — green bars indicate net buying pressure, red bars indicate net selling pressure. Vivid (bright) bars signal a volume surge event.
Monitor the blue smoothed delta line and orange signal line for crossover signals. A bullish crossover (delta crossing above signal) in negative territory suggests accumulation is beginning. A bearish crossover in positive territory suggests distribution is starting.
Use the Momentum Cloud color to confirm the prevailing volume momentum direction — green cloud means buyers are in control, red cloud means sellers dominate.
Pay special attention when surge bars coincide with crossover signals — these high-volume crossovers carry significantly more conviction than normal-volume crossovers.
Watch for divergences between price and the smoothed delta line to identify potential trend exhaustion before it becomes visible in price action.
Combine with price action analysis, support/resistance levels, or trend-following indicators for additional confirmation before executing trades.
Customization
Delta Smoothing Length (default: 14) — Controls the EMA period applied to the raw volume delta. Increase for smoother, longer-term volume trend analysis (20-30); decrease for more responsive, shorter-term signals (7-10).
Signal Line Length (default: 9) — Controls the SMA period applied to the smoothed delta. Higher values produce fewer but more reliable crossover signals; lower values increase signal frequency at the cost of more noise.
Volume Surge Threshold (default: 1.618) — The multiplier of the 50-bar average volume that triggers surge highlighting. Increase to only flag extreme volume events (2.0-3.0); decrease for more sensitive surge detection (1.2-1.5).
Bullish / Bearish Colors — Customize the histogram and cloud fill colors to match your chart theme.
Delta Line / Signal Line Colors — Adjust the oscillator line colors for optimal visibility against your chart background.
Conclusion
The Luminous Volume Delta offers a methodologically distinct approach to momentum analysis by building its oscillator framework entirely from volume polarity data rather than price. By combining intrabar volume classification, dual moving average smoothing, and adaptive surge detection into a single cohesive system, it provides traders with insights that pure price-based indicators cannot deliver — specifically, who is in control (buyers or sellers), how strongly they are in control (surge vs. normal volume), and when that control is shifting (crossover signals filtered by momentum zone). Whether you are a day trader looking for volume-confirmed entries, a swing trader seeking accumulation and distribution patterns, or a position trader monitoring institutional participation, this indicator provides a structured, visually intuitive framework for understanding the volume dynamics that drive price movement.
Indicador
