Adaptive Structural Trail Order Flow, Imbalance & RegimeAdaptive Structural Trail — Order Flow, Imbalance & Regime
What it is
Adaptive Structural Trail is a single, self-contained market-structure framework that re-clocks the chart by participation instead of time, marks the imbalances that real activity leaves behind, lets order flow decide which of those levels still matter, asks a regime filter whether trending behaviour can be trusted right now, and trails the strongest surviving level as an adaptive stop — all summarised in a plain-language dashboard that tells you, at a glance, whether the picture says ride, wait, or stand aside.
It is designed to be market-agnostic: every raw input (price, volume, and the volatility-index reference) is user-selectable, so the same logic runs on index futures, equities, FX, crypto or commodities without touching the code. Defaults are set for NIFTY index futures; change the volatility symbol and (if needed) the volume source for other instruments.
Why the components are combined (this is one tool, not a bundle)
Each layer measures a different facet of one process — activity creating structure, structure decaying or being defended, and a regime deciding whether to act. They are not independent indicators stacked for visual effect; remove any one and the others lose their meaning:
Delta clock (the substrate). A virtual bar closes only when cumulative signed volume becomes statistically significant (σ × a multiplier). Every downstream reading is therefore spaced by participation, not by the clock — a quiet 10 minutes and a violent 10 seconds are treated differently, which is the whole point.
Imbalance / fair-value-gap detection runs on those virtual bars, so a level is recorded only where genuine activity gapped price, not on arbitrary time bars.
Order-flow lifecycle (charge → decay → breaker/dead). When price returns to a level, delta adjudicates the outcome: absorbed-and-defended levels are reborn as breakers; levels that are surged through are killed. Flow decides what structure survives.
Regime gate (efficiency ratio + volatility burst). This routes everything. The trail is shown and signals arm only where trend behaviour is statistically credible; in range/transition/high-volatility states the tool deliberately stands aside.
Confidence fusion. Structure strength, cumulative-delta slope and flow toxicity (VPIN) are blended into one confidence number, which the dashboard converts into a plain instruction.
That coupling — a volume-significance clock feeding imbalance detection whose survival is adjudicated by order flow and gated by regime, fused into a single trailing level and a decision read-out — is the original contribution here.
How to use it
Add it to any liquid instrument. It is built for intraday timeframes (1–15 min is the sweet spot on index futures).
Read the dashboard top-down: the ACTION banner is the headline (e.g. LONG · ride the trail, RANGE · stand aside). Below it: bias + confidence, market state, the actual trail-stop price, order flow, flow toxicity, volatility context, and a plain "what to do" line.
Treat the coloured trail as a structure-based stop while the market state is a trend; when the state leaves trend, the trail disappears by design.
The imbalance zones show where unfilled activity sits; fresh, tapped and breaker levels are colour-coded (see the on-chart legend).
Edge-calibration panel (bottom-right): for transparency it scores past signals against a regime-matched base rate and reports EDGE = Hit − Base with a 95% confidence interval. Read the Edge column, not the raw hit-rate. This is descriptive of the past on your symbol — not a backtest and not a forward guarantee.
Key-info panel (top-left): instrument, timeframe, the live data source (see honesty note), threshold, ATR and level counts.
Honest note on data (please read)
TradingView exposes no true tick-by-tick aggressor delta and cannot build custom bars, so delta here is a proxy: signed intrabar volume taken from the finest lower timeframe your data plan returns — 1-second where available, otherwise 1-minute — falling back to bar-shape when no lower-timeframe data exists. The live source is shown as "Delta source" in the Key-info panel, so you always know which mode is active. Non-repaint: the delta clock advances and structure/regime/signals resolve only on confirmed bars; the trail line itself updates within the forming bar as a current estimate.
Originality
The novelty is the synthesis and coupling, not any single classical block. A participation clock is used to gate imbalance detection; order flow is used to adjudicate level survival; regime is used to route the entire read; and the whole thing collapses into one trailing level plus a decision dashboard and a self-calibration panel. Every raw input is user-selectable so the framework generalises across markets.
Concept credits
This tool synthesises well-established, publicly documented ideas; credit to their originators:
Information / volume-driven bars & VPIN flow toxicity — Marcos López de Prado; Easley, López de Prado & O'Hara.
Efficiency Ratio (trend vs. noise) — Perry J. Kaufman.
Trade-side classification (tick rule) — Lee & Ready.
Market impact & absorption (square-root law) — Almgren; Tóth & Bouchaud.
Wilson score interval (small-sample proportion CI) — E. B. Wilson.
Imbalance / fair-value-gap and trailing-stop concepts are long-standing, widely used market-structure ideas. The synthesis and the Pine implementation are the author's own.
Exported outputs (for use in other scripts)
Available via input.source() in any other indicator, with clean generic names: Bias Score (signed conviction, ±10), Trail Stop, Trail Direction, Regime State, Confidence, Leading Strength, CVD Slope, Flow Toxicity, Cumulative Delta, Volatility ROC, Volatility Bias.
Disclaimer
For research and education only. This is an analytical tool — not financial advice, not a signal service, and not a guarantee of future results. No indicator has an inherent edge; validate with your own testing, apply realistic costs, and manage risk. You are solely responsible for your trading decisions. Indicador

Projected Volume (Intraperiod Estimate)Projected Volume (Intraperiod Estimate)
════════════════════════════════════════
OVERVIEW
Projected Volume replaces the standard volume study with a live, forward-looking
estimate of where the current bar's volume is likely to finish. Volume is only
known with certainty once a bar closes, which makes it hard to judge in real time
whether the bar in progress is trading heavy or light. This indicator solves that
by drawing the volume already traded as a solid column and projecting the
remaining, not-yet-traded volume as a hollow cap on top — so the anticipated
final volume of the developing bar is visible at a glance. The projection is
rebuilt on every update of the live bar and adapts to your chart timeframe and to
the data your subscription can access.
WHAT IT PLOTS
• Directional volume columns on every bar — green when close ≥ open, red when
close < open (the standard volume read you already use).
• On the current, unfinished bar only:
– a solid column for the volume traded so far;
– a hollow outline extending from the top of the solid column up to the
projected final volume;
– an optional label with the projected total and the percent of the period
elapsed.
As the bar fills in, the solid portion grows and the hollow cap shrinks toward
zero. At the close, projected equals actual.
HOW THE PROJECTION WORKS
The indicator uses two methods and selects between them automatically based on
whether sub-bar (intrabar) data is available.
1) Intraperiod volume profile — primary method
For each of the last N completed bars, the script requests lower-timeframe
volume and measures how volume accumulates through the period: what fraction of
the period's total volume is typically complete by the end of each time-slice —
the classic "how much of the day's volume is usually done by the first hour, the
second hour…" shape. That cumulative curve is averaged across the lookback window
to form a typical accumulation profile.
For the developing bar the script determines how far through the period it has
progressed, reads the typical cumulative fraction f at that point, and estimates:
projected total = volume so far ÷ f
Because the profile captures the real intraperiod shape — the U-shaped session
volume common in equities, or the flatter distribution of 24/7 crypto — the
estimate reflects typical behavior rather than assuming volume arrives at a
constant rate.
2) Average-of-increment — base-resolution fallback
When the chart is already at the lowest interval your data plan provides (for
example a 1-minute chart on a plan without seconds data), there is no sub-bar to
sample and the profile method does not apply. In that case the script projects:
projected total = volume so far + (1 − elapsed) × average volume of last N bars
This equals a typical bar early in the period, tracks the realized volume as the
bar fills, always sits at or above the volume already traded, and converges to
the actual figure at the close. It requires no lower-timeframe data and cannot
error. Elapsed time is measured from the clock, so no sub-bar feed is needed.
Automatic method selection
The script detects whether a usable lower timeframe exists that your plan can
serve. If so, it uses the profile method — and floors sub-sampling at one minute,
so 5m / 15m / 1h charts still build a genuine profile from 1-minute intrabars. If
not, it uses the average-of-increment fallback. The active method is shown in the
on-chart label, where a "· avg" suffix denotes fallback mode.
SETTINGS
• Intraperiod slices (12 / 24 / 48) — number of time-slices used to model the
accumulation curve within each period. 24 is roughly hourly on a daily chart.
• Lookback periods — number of completed bars averaged for the profile and the
fallback average (default 30).
• Auto sub-period timeframe — when on, the script chooses the intrabar sampling
resolution automatically. Turn off to set it manually.
• Manual sub-period timeframe — used when Auto is off; must be lower than the
chart timeframe.
• Allow seconds sub-sampling — off by default. Enable only if your plan provides
seconds data; when off, the script never requests sub-minute data and therefore
cannot error on a 1-minute chart.
• Min % elapsed before projecting — suppresses unstable projections in the
opening moments of a new bar.
• Up / Down volume colors and a toggle for the projection label.
READING THE LABEL
The label reads, for example, "Proj 1.2M (35% elapsed)" — the projected final
volume and how far the current period has progressed. A "· avg" suffix indicates
the average-of-increment fallback is active because intrabar data is unavailable
at that resolution.
BEHAVIOR, NOTES & LIMITATIONS
• Real-time by design. The projection exists only on the current, unfinished bar
and recalculates as that bar develops. Historical bars display actual traded
volume only — the indicator does not restate closed bars, but the live estimate
moves tick to tick as new volume arrives. This is expected behavior for a
forward projection, not hidden repainting.
• It is an estimate, not a guarantee. Accuracy is lowest in the first fraction of
a new bar and improves as the bar fills; the "Min % elapsed" input guards the
earliest, noisiest moments.
• The profile method depends on intrabar data availability, which varies by
symbol and subscription. Where it is unavailable, the indicator degrades
gracefully to the average-based method.
• Works across asset classes and timeframes. Because elapsed progress is measured
from intrabar count where available (and otherwise from the clock), it adapts to
both continuous (crypto) and session-based (equities/futures) markets.
• Volume reflects the data feed of the chart's symbol; index or aggregated tickers
may report volume differently from a single exchange.
CONCEPT
The tool pairs a standard directional volume histogram with an
intraperiod-accumulation model and presents the realized-versus-projected split
visually as a filled column plus a hollow cap. The aim is a single, glanceable
read on whether the bar in progress is on pace to finish heavy or light relative
to recent norms. Indicador

Liquidity Walls [TradingIQ]Hello Traders!
🔹 Liquidity Walls
Liquidity Walls is an order-flow efficiency and absorption tool designed to highlight areas where aggressive buying or selling pressure fails to move price as expected.
Instead of only showing where price moved, this indicator asks a deeper question:
Did the market respond properly to the pressure behind the move?
When strong delta enters the market but price does not travel efficiently, that can suggest absorption, trapped aggression, or opposing liquidity .
Liquidity Walls is built to identify those moments and project potential liquidity clusters directly onto the chart.
lower timeframe delta analysis
delta-implied price movement
inefficient candle detection
absorption-based liquidity zones
adaptive expected close modeling
active liquidity wall tracking
automatic zone invalidation
🔹 What the indicator shows
🔸 Delta-Based Expected Close
The indicator estimates where price should have closed based on the relationship between delta and price movement.
It compares:
actual price movement
delta-driven expected movement
how much price should have moved based on recent behavior
This creates a delta-implied close , shown directly on the chart.
The core idea is simple:
If aggressive buyers or sellers entered the market, price should usually respond.
When it does not, that mismatch can reveal hidden liquidity.
🔸 Inefficient Candle Detection
Candles are colored when the script detects inefficient movement between delta and price.
This means:
delta was strong, but price response was weak
price failed to move as much as expected
aggressive pressure may have been absorbed
the market may be interacting with a liquidity wall
The stronger the inefficiency, the more aggressively the candle is highlighted.
This helps you quickly identify bars where:
the effort was high, but the result was weak.
🔸 Absorption Logic
Liquidity Walls uses a regression-style model to estimate the expected price move from delta.
It calculates:
lower timeframe signed volume
net delta
actual movement in ticks
expected movement in ticks
difference between expected and actual movement
When the difference becomes statistically extreme, the indicator treats that candle as a potential absorption event.
In simple terms:
Strong delta + weak price response = possible absorption.
🔸 Liquidity Wall Zones
When absorption is detected, the indicator creates a projected liquidity zone.
If buy-side aggression is absorbed, a zone is drawn above price.
If sell-side aggression is absorbed, a zone is drawn below price.
These zones represent areas where price may have interacted with significant opposing liquidity.
absorbed buying can suggest overhead liquidity
absorbed selling can suggest downside liquidity
zones remain active until price invalidates them
invalidated zones fade automatically
This allows you to visually track areas where the market previously struggled to move through pressure.
🔸 Active Zone Tracking
Liquidity zones extend forward until price breaks through them.
When price clears a zone, the indicator:
stops extending the box
fades the visual appearance
removes it from the active liquidity wall list
This keeps the chart focused on currently relevant liquidity zones instead of cluttering the screen with old levels.
🔸 Granularity Selection
The indicator allows you to choose the lower timeframe source used for delta reconstruction.
Available granularity options include:
1-Minute
1-Second
1-Tick
Lower granularity can provide more detailed flow analysis when data is available.
Important Note
Lower timeframe accuracy depends on the symbol, exchange, TradingView plan, and available historical data. Tick and second-based data may not be available on all markets.
🔹 How the model works
The script looks at the relationship between:
net delta
price movement in ticks
recent correlation between delta and price movement
recent volatility of both delta and price movement
From this, it estimates how far price should have moved based on the current delta.
Then it compares that expected move to the actual move.
If price dramatically underperforms relative to delta, the script marks the candle as inefficient and creates a potential liquidity wall.
🔹 How to read it
🔸 Highlighted candles
Highlighted candles suggest inefficient price movement.
This means aggressive flow entered the market, but price did not respond normally.
Possible interpretations:
absorption
hidden liquidity
exhaustion
trapped aggression
failed continuation
🔸 Liquidity walls above price
A zone above price can suggest that aggressive buying was absorbed.
This may indicate:
overhead liquidity
resistance from passive sellers
buyers pushing into supply
possible failed breakout conditions
🔸 Liquidity walls below price
A zone below price can suggest that aggressive selling was absorbed.
This may indicate:
downside liquidity
support from passive buyers
sellers pushing into demand
possible failed breakdown conditions
🔹 Example interpretations
strong buy delta + weak upward movement → buying may be absorbed
strong sell delta + weak downward movement → selling may be absorbed
price returns to a liquidity wall → possible reaction area
price breaks through a wall → zone is invalidated
multiple inefficient candles near the same level → potential liquidity cluster
🔹 Why this indicator is useful
Liquidity Walls helps shift your analysis from:
“price moved here”
to:
“how did price respond to the pressure behind the move?”
This is useful because not all movement is equal.
Sometimes large aggressive volume creates a clean directional move.
Other times, large aggressive volume gets absorbed and price barely moves.
This indicator is designed to highlight those moments.
🔹 Best use cases
spotting absorption near highs and lows
identifying weak breakouts
tracking potential liquidity clusters
finding areas where aggressive traders may be trapped
confirming failed continuation attempts
adding order-flow context to price action
analyzing reaction zones around key levels
🔹 Inputs you can customize
Granularity
Inefficient candle coloring
Liquidity cluster color
🔸 Granularity
Controls which lower timeframe data is used to estimate signed volume and delta behavior.
🔸 Show Inefficient Candles
Turns candle coloring on or off.
When enabled, candles are colored based on the strength of the inefficiency signal.
🔸 Liquidity Cluster Color
Controls the color used for liquidity walls, inefficient candles, and projected absorption zones.
🔹 Important Notes
This script uses lower timeframe data to approximate aggressive buying and selling activity.
This means:
accuracy depends on available lower timeframe data
results may vary between markets
tick and second data may not be available everywhere
the model is interpretive, not predictive
zones should be used as context, not standalone signals
Liquidity Walls does not predict the future.
It identifies areas where recent order-flow pressure did not produce the expected price response.
That information can help traders better understand where liquidity may be absorbing movement.
🔹 Closing Notes
Liquidity Walls is built to visualize the relationship between aggression, efficiency, and absorption .
It helps reveal when the market is moving cleanly — and when price is struggling against hidden liquidity.
As always, thank you TradingView! Indicador

Intraday RVOL Overlay: Time Of Day Relative VolumeIntraday RVOL Overlay — Time-of-Day Relative Volume
The purpose of this script is to provide a time-of-day adjusted intraday volume comparison while keeping the information visible on the main price chart, to do this, the indicator plots intraday relative volume directly on the price chart.
It is designed to answer one specific question:
Is today’s volume running above or below normal for this exact point in the trading session?
A standard volume moving average compares recent candles with other recent candles. That can be useful, but it does not account for the natural shape of intraday volume. Volume is usually heavier near the market open, quieter around midday, and may increase again near the close.
This script takes a different approach. It compares today’s cumulative intraday volume with the average cumulative volume at the same time of day over previous trading sessions.
For example, if the chart is at 14:45, the script compares today’s cumulative volume from the start of the session up to 14:45 with the average cumulative volume from the start of the session up to 14:45 over the selected lookback period.
The result is shown as an RVOL multiple.
How RVOL is calculated
RVOL = today’s cumulative intraday volume so far / average cumulative intraday volume by the same time of day.
Example:
Today cumulative volume: 4.05M
Average cumulative volume by this time: 6.30M
RVOL = 4.05M / 6.30M = 0.64x
This means the symbol is trading at around 64% of its normal cumulative volume for that point in the session.
What makes this script different
Instead of asking whether the current candle has high volume compared with the last few candles, it asks whether today’s total traded volume so far is high or low compared with what is normally expected at this stage of the session.
The script combines three ideas:
Cumulative intraday volume tracking
Historical same-time-of-day volume comparison
Price-chart overlay scaling
How to read the lines
The main RVOL line shows today’s cumulative intraday relative volume.
RVOL below 1.0x means volume is running below normal
RVOL around 1.0x means volume is running around normal
RVOL above 1.5x means volume is meaningfully above average
RVOL above 2.0x means volume is unusually strong
The script also plots reference lines for average volume and high volume.
If the RVOL line is below the 1.0x line, today’s cumulative volume is below average for this point in the session.
If the RVOL line is above the 1.5x line, today’s cumulative volume is meaningfully above average for this point in the session.
Important note about price scaling
RVOL is a ratio, not a price.
Because this script is plotted as an overlay on the main price chart, the RVOL values are visually mapped into a small band inside the recent price range.
This means the price-axis values shown beside the RVOL plots are only visual placement values. They are not support levels, resistance levels, targets, or actual price signals.
The overlay is price-scaled only so the RVOL information can be viewed directly alongside price action without requiring a separate indicator pane.
Inputs
Average over previous trading days : controls how many prior trading sessions are used to calculate the average cumulative volume baseline
Price scaling lookback bars : controls the recent price range used to place the RVOL overlay band on the chart
RVOL value plotted at top of band : controls the visual cap for the overlay. For example, with a cap of 3.0, RVOL values of 3.0x or higher are plotted at the top of the visual band
Overlay band position : allows the RVOL band to be placed near the top or bottom of the price chart
Overlay band height : controls how much vertical space the RVOL overlay uses inside the price chart
Fallback search minutes : allows the script to look backwards for nearby historical volume slots when exact same-minute data is missing
Suggested use
This indicator is intended for intraday charts.
Recommended chart timeframes:
5 minute
15 minute
1 hour
Supported chart timeframes:
Intraday charts from 1 minute upward
Not supported:
Seconds charts
Daily charts
Weekly charts
Monthly charts
Practical interpretation
This script can help give volume context to intraday price movement.
A price move with RVOL below 1.0x may be happening on weaker-than-normal participation
A price move with RVOL above 1.5x may have stronger-than-normal participation
A breakout attempt with RVOL above 2.0x may be occurring during unusually active trading
This does not mean the move will continue. It only shows whether volume participation is above or below normal for that time of day.
Limitations
This script works best on liquid symbols with regular intraday trading activity.
Results may be affected by:
Extended-hours data
Half trading days
Market holidays
Trading halts
Low-liquidity symbols
Missing historical bars
Unusual trading sessions
Symbols with irregular volume patterns
The script does not generate buy or sell signals.
It should be used as a volume context tool alongside price action, trend, liquidity, volatility, and risk management.
Disclaimer
This script is provided for educational and research purposes only.
It is not financial advice.
It does not predict price direction and should not be used as the sole basis for trading decisions.
Indicador

Intraday RVOL Overlay: Time-of-Day Relative Volume
## Intraday RVOL Overlay — Time-of-Day Relative Volume
This indicator plots intraday relative volume directly on the price chart.
It is designed to answer a specific question:
Is today’s volume running above or below normal for this exact point in the trading session?
A standard volume moving average compares recent candles with other recent candles. That can be useful, but it does not account for the natural shape of intraday volume. Volume is usually heavier near the market open, often quieter around midday, and may increase again near the close.
This script takes a different approach. It compares today’s cumulative intraday volume with the average cumulative volume at the same time of day over previous trading sessions.
For example, if the chart is at 14:45, the script compares:
today’s cumulative volume from the start of the session up to 14:45
with
the average cumulative volume from the start of the session up to 14:45 over the selected lookback period
The result is shown as an RVOL multiple.
How RVOL is calculated
The script calculates:
RVOL = today’s cumulative intraday volume so far / average cumulative intraday volume by the same time of day
Example:
Today cumulative volume: 4.05M
Average cumulative volume by this time: 6.30M
RVOL = 4.05M / 6.30M = 0.64x
This means the symbol is trading at around 64% of its normal cumulative volume for that point in the session.
What makes this script different
This is not a basic volume moving average and it is not a standard RSI or moving-average crossover setup.
The original purpose of this script is to provide a time-of-day adjusted intraday volume comparison while keeping the information visible on the main price chart.
The script combines three ideas:
1. Cumulative intraday volume tracking
2. Historical same-time-of-day volume comparison
3. Price-chart overlay scaling
Instead of asking whether the current candle has high volume compared with the last few candles, it asks whether today’s total traded volume so far is high or low compared with what is normally expected at this stage of the session.
How to read the lines
The main RVOL line shows today’s cumulative intraday relative volume.
RVOL below 1.0x = volume is running below normal
RVOL around 1.0x = volume is running around normal
RVOL above 1.5x = volume is meaningfully above average
RVOL above 2.0x = volume is unusually strong
The script also plots reference lines:
1.0x average volume line
1.5x high-volume threshold line
If the RVOL line is below the 1.0x line, today’s cumulative volume is below average for this point in the session.
If the RVOL line is above the 1.5x line, today’s cumulative volume is meaningfully above average for this point in the session.
Important note about price scaling
RVOL is a ratio, not a price.
Because this script is plotted as an overlay on the main price chart, the RVOL values are visually mapped into a small band inside the recent price range.
This means the price-axis values shown beside the RVOL plots are only visual placement values. They are not support levels, resistance levels, targets, or actual price signals.
The overlay is price-scaled only so the RVOL information can be viewed directly alongside price action without requiring a separate indicator pane.
Inputs
Average over previous trading days
Controls how many prior trading sessions are used to calculate the average cumulative volume baseline.
Price scaling lookback bars
Controls the recent price range used to place the RVOL overlay band on the chart.
RVOL value plotted at top of band
Controls the visual cap for the overlay. For example, with a cap of 3.0, RVOL values of 3.0x or higher are plotted at the top of the visual band.
Overlay band position
Allows the RVOL band to be placed near the top or bottom of the price chart.
Overlay band height
Controls how much vertical space the RVOL overlay uses inside the price chart.
Fallback search minutes
Allows the script to look backwards for nearby historical volume slots when exact same-minute data is missing.
Suggested use
This indicator is intended for intraday charts.
Recommended chart timeframes:
5-minute
15-minute
1-hour
Supported chart timeframes:
Intraday charts from 1 minute upward
Not supported:
Seconds charts
Daily charts
Weekly charts
Monthly charts
Practical interpretation
This script can help give volume context to intraday price movement.
For example:
A price move with RVOL below 1.0x may be happening on weaker-than-normal participation.
A price move with RVOL above 1.5x may have stronger-than-normal participation.
A breakout attempt with RVOL above 2.0x may be occurring during unusually active trading.
This does not mean the move will continue. It only shows whether volume participation is above or below normal for that time of day.
Limitations
This script works best on liquid symbols with regular intraday trading activity.
Results may be affected by:
extended-hours data
half trading days
market holidays
trading halts
low-liquidity symbols
missing historical bars
unusual trading sessions
symbols with irregular volume patterns
The script does not generate buy or sell signals. It should be used as a volume context tool alongside price action, trend, liquidity, volatility, and risk management.
Disclaimer
This script is provided for educational and research purposes only. It is not financial advice. It does not predict price direction and should not be used as the sole basis for trading decisions.
Indicador

Ease-of-Movement Flow OscillatorEase-of-Movement Flow Oscillator
A volume oscillator that measures how easily price moves — distance travelled relative to the volume required to travel it. Large travel on light volume = high ease (a frictionless drift); small travel on heavy volume = low ease (absorption — effort without result). Above zero, price advances with little resistance; below zero, it declines with little resistance. It adds an absorption warning and a plain-language forward-calibration layer, so you can tell at a glance whether a move is frictionless or being absorbed, and whether the signal has actually paid here.
Why these parts are combined (not a mashup for show). Ease of movement relates distance to the volume needed for it — a different question from "buying vs selling." A frictionless advance and an absorbed advance look identical on a price chart but behave differently next, so that's the core read. An effort-vs-result check (price making a new extreme while ease does not) flags absorption — heavy volume no longer moving price — which the raw line alone misses. Forward calibration removes blind faith: instead of assuming a cross "should" pay, it measures whether it actually has, with realistic profit/stop outcomes. Together they form one coherent volume-flow tool.
How it works. Distance moved = midpoint change; box ratio = (volume ÷ scale) ÷ range. Ease = distance ÷ box ratio, smoothed, standardized and soft-bounded to ±100 that auto-fits its own magnitude. A signal fires only when ease decisively clears a confirmation band beyond zero (filtering the constant zero-line chatter). Absorption divergence is detected from confirmed price pivots versus the ease line. Each signal is then labelled by a triple barrier — a profit target and equal stop in ATR units plus a time limit — split into in-sample and recent out-of-sample, with a confidence interval and a multiple-testing check.
How to use. Read the Verdict row (Long/Short, Absorption, or Wait) and the Conviction row, which reads "High" only when that signal type shows a positive edge that survives the test on this symbol. Green above zero = easy up, red below = easy down; shaded bands = strong ease; the faint band lines mark where signals fire. Best used with your own trend and risk plan, not alone.
What's original. The absorption (effort-vs-result) flag, auto volume scaling, a noise-filtering signal band, the forward triple-barrier calibration with an out-of-sample split, and a conviction read that openly admits when there's no proven edge.
Volume note. This needs real volume — use a futures contract such as NSE:NIFTY1!. On a cash index it reports "No volume" rather than printing noise.
Honesty & limitations. Edge figures are computed on this chart's own history with overlapping windows and no costs — context, not a guaranteed backtest; past behaviour doesn't predict the future. Volume quality varies by feed and instrument.
Disclaimer: for research and education only. Not financial advice. Trading carries risk of loss; manage your own positions. Indicador

Indicador

Indicador

Indicador

Indicador

Volume Supply and Demand [TradingIQ]The Next Generation of Supply and Demand
You haven't seen a single good Supply and Demand indicator until today.
Let's be honest: almost every S/D indicator you've tried is either too late, constantly repaints, or simply flags every single random pivot on the chart as a "zone." That is not how institutional trading works. Traditional support and resistance might teach you to draw lines at every turning point, but if you've been trading for more than two weeks, you know that not every pivot holds weight in the future.
This tool was built to fix that. It is designed to filter out the low-quality noise, bypass the common structural flaws of basic chart metrics, and isolate nothing but genuine liquidity shock events where massive market orders actually took place.
Welcome to the Volume Supply and Demand engine.
---
How the Algorithm Works (The "Why")
Easier said than done, right? Finding a level that actually has institutional defense behind it requires deep mathematical screening. Instead of just looking for simple highs and lows, this algorithm detects explosive price moves via an advanced multi-step screening system.
First, the script calculates the True Range of consecutive candles to establish a baseline of normal market volatility. Once that baseline is set, it actively scans for sudden, abnormal expansions in price. It analyzes the specific angle, slope, and velocity of the expansion to ensure the move is statistically anomalous.
Demand Zones: These are flagged when extreme buying pressure forces a rapid, high-velocity move upwards, leaving behind a massive footprint of unfilled passive limit orders.
Supply Zones: These are flagged when intense selling aggression ramps up instantly, completely rejecting higher prices and driving the market down with severe negative velocity.
We strictly filter out the low-quality, minor pivot points. Once the strict qualifications of velocity and range expansion are met, the zone is detected and locked in instantly.
---
Structure vs. Normal Support & Resistance
To trade effectively, you must understand why these zones behave differently than standard horizontal support and resistance lines.
Traditional support and resistance lines can theoretically be drawn anywhere the market decides to turn around, regardless of the volume or speed behind the move. This creates messy charts cluttered with hundreds of psychological lines that offer no real edge.
This engine is different because it maps out an entire premium or discount zone based on the exact candle structural properties where the initial institutional imbalance occurred. It targets the literal origin of the reaction , creating a highly precise boundary where a major market participant stepped in aggressively to flip the auction control.
---
Deep-Dive Order Flow Features
We didn't just build a box-drawing tool. We added an entirely new dimension of volume analysis to help you gauge the actual internal strength of these levels.
Origin Volume Profiles: This is the game-changer. For every valid Supply or Demand zone generated, the indicator dynamically projects a micro Volume Profile directly inside the specific structural move that created the zone . You get an immediate, visually clear picture of exactly where the heavy volume was transacted during that specific liquidity event.
Delta & POC Lines: The algorithm identifies the Point of Control (POC) for both the buy-volume side and the sell-volume side independently. By plotting these lines, you can see precisely where the buyers or sellers exhibited their maximum aggression right before the major expansion occurred.
Time-Based Profiles: Volume isn't the only metric that matters. You can change the profile type inside the settings to "Time" to generate a profile that maps out exactly where the price spent the most time consolidating before exploding out of the zone.
Auto Hit-Deletion: The more a level is traded into, the weaker it gets as the resting passive orders are continuously matched and filled. To prevent you from trading dead levels, the indicator includes an automated hit-deletion toggle. The moment the price decisively pierces through a zone, the script recognizes the liquidity exhaustion and wipes the zone from your chart.
---
Settings & Optimization Guidelines
Because this script relies on heavy historical array calculations and complex request structures, proper optimization is essential for a smooth charting experience:
S/D Zone Style (Wick, Body, Candle): This dictates the strictness of your zone boundaries.
Wick (Default & Strongly Recommended): Draws the zone across the precise wick of the origin candle, capturing the maximum premium/discount extremity.
Body / Candle: Alternative constraints that alter the vertical width of the boxes based on the candle open and close values.
Max Zone Age (Bars): A zone created hundreds of bars ago losing its relevance because the participants holding those orders have likely closed their positions. This setting expires old zones to keep your chart fresh. If your chart experiences loading delays, lower this setting to roughly 200 bars.
Calculated Bars: To manage the calculation weight of the Epanechnikov kernel filtering and volume slice matrices, you can adjust the total calculation window. If your chart shows a red runtime error, lower this setting from 5000 down to 2000 bars.
Show Volume at Level: Turning this on overlays the raw numerical transaction data over each individual profile block, allowing for precise order flow calculation.
---
The Core Trading Logic
When a zone is formed by a massive imbalance of aggressive market orders, institutional participants frequently leave resting passive limit orders behind because the market moved too quickly to fill their entire block. When price returns to this exact zone for the first time, those resting orders are triggered. This acts as a defense line, forcing an aggressive, fast reversal.
If price returns to a zone multiple times, or if it begins to grind and spend a long time consolidating inside a box, that is a major warning sign. It means liquidity is actively depleting, the passive orders are being entirely consumed, and a massive liquidity shock breakout is right around the corner.
Disclaimer: This is not financial advice. Always test the mechanics against your own personal edge, backtest thoroughly, and integrate it properly within your broader risk management plan. Indicador

Adaptive Volumetric Reversion Channel Fade ValidatorAdaptive Volumetric Reversion Channel — Fade Validator (AVRC)
What it is
AVRC is an anchored, volume-weighted regression channel that frames mean-reversion ("fade") setups and then gates, scores and validates them — so you can see whether fading stretched price actually has an edge on your symbol and timeframe instead of taking it on faith. It is a study / analysis framework, not a strategy and not a signal service.
Why these components are combined (the mashup rationale)
Fading an extreme asks three different questions, and no single classic tool answers all three. AVRC coordinates several non-redundant lenses on one shared geometry (an anchored regression channel) and one shared volatility unit (residual σ), so each lens can check the others rather than echoing it:
WHERE is price stretched? A volume-weighted regression centerline with residual-σ bands is drawn against a slower macro trend-relative volume map — volume binned by σ-distance from a longer regression line. Whether the tactical band sits in a thin (fast-traversed) or thick (heavily-traded) macro node tells you if a fade is likely clean or absorbed. This cross-read is the connective tissue between the two layers.
Is a reversion ACTUALLY firing? Independent "tells" at the band — a close-back rejection, a band-confluent momentum divergence, an equal-high/low liquidity sweep, and the macro-density read. Because these tells are correlated, their agreement is shrunk by a design-effect correction so echoes can't masquerade as independent confirmation.
Is the market in a reverting STATE? A regime gate (variance-ratio test + a reversion-trust correlation) only passes fades when price increments offset rather than compound. An entry-time ride-risk score (macro-trend alignment, the two-centerline spread, an already-walking band, momentum, mean-reversion half-life, and multi-timeframe trend consensus) flags fades likely to be "walked" rather than reverted.
The components share one geometry and one volatility unit, and each can veto the others. The goal is to suppress low-quality fades more than to generate them.
How the validation layer works (what makes this more than a drawing)
Every fade is logged and, a fixed horizon later, resolved: its forward return is measured in ATR units and tabulated Gate ON vs Gate OFF — follow-through %, a Wilson 95% interval, whipsaw %, and mean R per fade. Outcomes are additionally split Reverted vs Rode, by macro node (thin/thick), and by ride-risk (low/high at the running median). The panel's Edge line synthesizes this into a single read: is Gate ON's follow-through interval clearing the ungated baseline with positive mean R and enough samples? Per-fade rows also export to the Data Window for your own analysis. Every filter has to earn its place against the ungated baseline.
How to use it
Set the Price source (top of settings). Defaults are tuned for an intraday index future; the source is user-selectable so the framework runs on any symbol or market. Volume-based parts (heatmap, profile, POC) need a real volume feed.
Read the panel top-down: Now (live setup) → State (regime + spread + compression) → the A/B scoreboard (Gate OFF, Gate ON, Revert, Ride) → Edge verdict.
A fade arms when price tags the outer band and at least one tell prints, then passes only if the regime (and optional ride-risk) gate agrees. Target is the centerline or the nearest untested POC.
If Gate ON does not beat Gate OFF on follow-through and mean R with non-overlapping intervals and enough samples, the edge isn't there on this symbol/timeframe — change them, don't force it. The signal is clearest on higher intraday timeframes; 1-minute is mostly noise.
What is original here
The original work is the coordination: a shared-σ, timeframe-adaptive regression channel used as a reversion frame; a trend-relative volume map cross-read against the band; decorrelated tells fused by a design-effect shrink; a statistical regime gate; an entry-time ride-risk score; and a built-in A/B + forward-return validation harness — combined so each lens can veto the others and the tool reports its own hit rate. It is not a re-skin of any single indicator.
Concept credits (techniques are standard; this implementation is original)
Volume-weighted least-squares & polynomial regression; residual-σ channels; anchored VWAP (all standard); Volume Profile / Value Area / Point of Control — Market Profile (Steidlmayer / CBOT); Variance-Ratio test — Lo & MacKinlay (1988); design effect / effective sample size — Kish (1965); proportion confidence interval — Wilson (1927); mean-reversion half-life — Ornstein–Uhlenbeck process; ATR, RSI, Parabolic SAR — Wilder; Stochastic — Lane; Supertrend (classic, MTF context). Builds on established open-source regression-channel and anchored-VWAP techniques.
Settings (all defaults are on; tuned for an intraday index future)
Data/Source · Volatility unit · Macro volume heatmap · Tactical channel & bands · Interrelation & band-walk · Ride-risk filter · Density cross-read · Reversion tells · Regime gate · POC targets · Fade signal · Validation & export · Dashboard & theme (auto light/dark) · MTF trend context. The two signal-suppression gates (walk-gate, ride-gate) ship off so the indicator shows its signals and lets the validation panel tell you whether enabling them helps.
Disclaimer
For research and education only. NOT financial advice, NOT a recommendation, and NOT a guarantee of future results. All statistics shown are in-sample on loaded history, close-to-close at the horizon, without costs or slippage — a study aid, not a backtest. Mean reversion fails in trends and during regime breaks. Do your own research and manage your own risk. Indicador

Indicador

Daily Volume ForecastDaily Volume Forecast
What this indicator does
Daily Volume Forecast projects the full-day trading volume of the current, still-running day — its expected value at the closing bell. It is designed for the Daily chart , where the live bar already carries the volume accumulated so far; the indicator scales that partial volume up to an estimate for the whole session.
The goal is to answer a simple question intraday: is today on track for above- or below-average volume? — before the day is actually over.
How it works
Partial volume so far: On the Daily chart the current bar's volume is the cumulative volume traded since the session open. This is the basis that gets extrapolated.
Elapsed session time: On a daily bar the bar's own hour/minute is the open time, not the current time. The indicator therefore derives the elapsed time from the real wall-clock (timenow) in the instrument's exchange timezone, relative to the configured session, so it knows how far the day has progressed.
Two forecast methods are available:
Intraday Profile (recommended): Intraday volume (e.g. 5-minute) is pulled per day via request.security_lower_tf and averaged into a typical volume-by-time-of-day curve . Because real volume is U-shaped (heavy at the open and close, light at midday), this curve captures how much of a day's volume is normally done by the current time. The forecast is current_volume / expected_fraction_done_by_now, which adapts automatically to the instrument's own shape. Until enough intraday history exists, it falls back to the linear method.
Linear: Assumes volume is spread evenly across the session: forecast = current_volume × (session_length / elapsed_minutes). Simple, requires no extra data, but overestimates the remainder in the morning because it ignores the U-shape.
Live update: The estimate is computed on the current (last) bar and updates as the day develops. When the market is closed, elapsed time clamps to the full session, so the forecast converges to the actual day's volume.
Display
Volume columns of the actual daily volume (historical and current), coloured by up/down day — green when close ≥ open, red otherwise.
Forecast line for the projected full-day volume, extended to the right edge (trackprice) on the current bar.
Label on the last bar showing the estimate (e.g. "Est. 3.2M").
Info table (optional, bottom-right) with the selected method, the forecast, percent of the session elapsed, the current volume, and the number of days used to build the profile.
Settings
Forecast Method: Intraday Profile or Linear.
Trading Session: Session string (default 0930-1600 for US RTH); adjust to the instrument (e.g. 0900-1730 EU stocks, 0000-2400 for 24h / crypto / FX).
Profile Resolution (min): Intraday resolution used to build the volume curve (Intraday Profile only).
Show Historical Daily Volumes: Toggle the volume columns.
Show Info Table: Toggle the table.
Colours for up and down volume.
How to use it
Apply it to a Daily chart (a warning label appears on other timeframes). Use it to gauge participation in real time — to confirm breakouts on rising projected volume, to flag unusually quiet days, or as a context filter alongside a price strategy. The Intraday Profile method is recommended whenever the instrument has a pronounced intraday volume shape; Linear is a lightweight fallback that needs no intraday history.
Notes
request.security_lower_tf provides only a limited amount of recent intraday history (a TradingView/plan limit), so the profile is built from the most recent available days and rolls forward naturally.
The profile method needs a few completed days to warm up; until then it uses the linear fallback.
The session string must match the instrument, otherwise the elapsed-time scaling — and therefore the forecast — is distorted. Extended-hours volume is not considered.
This script is an analysis tool and does not constitute financial advice. A volume forecast is an extrapolation, not a guarantee of the day's outcome.
═══════════════════════════════════════
Daily Volume Forecast — Deutsch
Was macht dieser Indikator?
Daily Volume Forecast prognostiziert das gesamte Tagesvolumen des aktuellen, noch laufenden Tages — den zu erwartenden Wert zum Handelsschluss. Er ist für den Daily-Chart ausgelegt, wo die laufende Kerze bereits das bisher kumulierte Volumen trägt; der Indikator skaliert dieses Teilvolumen auf eine Schätzung für die ganze Session hoch.
Ziel ist es, schon während des Tages eine einfache Frage zu beantworten: Läuft der heutige Tag auf über- oder unterdurchschnittliches Volumen hinaus? — bevor der Tag tatsächlich vorbei ist.
Wie es funktioniert
Bisheriges Teilvolumen: Auf dem Daily-Chart ist das Volumen der aktuellen Kerze das seit Session-Eröffnung kumulierte Volumen. Das ist die Basis, die hochgerechnet wird.
Verstrichene Session-Zeit: Auf einer Tageskerze ist deren Stunde/Minute die Eröffnungszeit, nicht die aktuelle Uhrzeit. Der Indikator leitet die verstrichene Zeit deshalb aus der realen Uhrzeit (timenow) in der Börsen-Zeitzone des Instruments ab, relativ zur eingestellten Session — so weiss er, wie weit der Tag fortgeschritten ist.
Zwei Prognosemethoden stehen zur Wahl:
Intraday Profile (empfohlen): Über request.security_lower_tf wird das Intraday-Volumen (z. B. 5-Minuten) je Tag erhoben und zu einer typischen Volumenkurve nach Tageszeit gemittelt. Da reales Volumen U-förmig ist (viel bei Eröffnung und Schluss, wenig am Mittag), erfasst diese Kurve, welcher Anteil des Tagesvolumens zur aktuellen Uhrzeit normalerweise schon gehandelt ist. Die Prognose ist aktuelles_Volumen / erwarteter_Anteil_bis_jetzt und passt sich automatisch an die Form des Instruments an. Bis genug Intraday-Historie vorliegt, greift der lineare Fallback.
Linear: Nimmt an, dass das Volumen gleichmässig über die Session verteilt ist: Prognose = aktuelles_Volumen × (Session-Länge / verstrichene_Minuten). Einfach, ohne Zusatzdaten, überschätzt aber am Vormittag den Rest, weil die U-Form ignoriert wird.
Live-Update: Die Schätzung wird auf der aktuellen (letzten) Kerze berechnet und aktualisiert sich im Tagesverlauf. Bei geschlossenem Markt wird die verstrichene Zeit auf die volle Session begrenzt, sodass die Prognose gegen das tatsächliche Tagesvolumen konvergiert.
Anzeige
Volumen-Säulen des tatsächlichen Tagesvolumens (historisch und aktuell), eingefärbt nach Up/Down-Tag — grün wenn close ≥ open, sonst rot.
Prognose-Linie für das hochgerechnete Tagesvolumen, auf der aktuellen Kerze bis zum rechten Rand verlängert (trackprice).
Label am letzten Balken mit der Schätzung (z. B. "Est. 3.2M").
Info-Tabelle (optional, unten rechts) mit gewählter Methode, Prognose, Anteil der bereits verstrichenen Session, aktuellem Volumen und Anzahl der für das Profil genutzten Tage.
Einstellungen
Forecast Method: Intraday Profile oder Linear.
Trading Session: Session-String (Standard 0930-1600 für US-RTH); an das Instrument anpassen (z. B. 0900-1730 EU-Aktien, 0000-2400 für 24h / Krypto / FX).
Profile Resolution (min): Intraday-Auflösung zum Aufbau der Volumenkurve (nur Intraday Profile).
Show Historical Daily Volumes: Volumen-Säulen ein-/ausblenden.
Show Info Table: Tabelle ein-/ausblenden.
Farben für Up- und Down-Volumen.
Verwendung
Auf einen Daily-Chart anwenden (auf anderen Timeframes erscheint ein Hinweis-Label). Geeignet, um die Marktbeteiligung in Echtzeit einzuschätzen — etwa zur Bestätigung von Ausbrüchen bei steigender prognostizierter Beteiligung, zum Markieren ungewöhnlich ruhiger Tage oder als Kontext-Filter neben einer Kursstrategie. Die Methode Intraday Profile wird empfohlen, wenn das Instrument eine ausgeprägte Intraday-Volumenform hat; Linear ist ein leichtgewichtiger Fallback ohne Intraday-Historie.
Hinweise
request.security_lower_tf liefert nur eine begrenzte Menge jüngster Intraday-Historie (TradingView-/Abo-Limit), daher basiert das Profil auf den jüngsten verfügbaren Tagen und rollt natürlich mit.
Die Profil-Methode braucht einige abgeschlossene Tage zum "Aufwärmen"; bis dahin greift der lineare Fallback.
Der Session-String muss zum Instrument passen, sonst werden die Zeit-Skalierung — und damit die Prognose — verzerrt. Vor-/Nachbörsliches Volumen wird nicht berücksichtigt.
Dieses Skript ist ein Analyse-Werkzeug und stellt keine Anlageberatung dar. Eine Volumenprognose ist eine Hochrechnung, keine Garantie für den Tagesausgang.
Indicador

Indicador

Indicador

OBV Trend CandlesOBV Trend Candles
This indicator colors your candles based on the relationship between On-Balance Volume (OBV) and a moving average of OBV. It's a simple way to keep volume-based trend context visible directly on the price chart, without having to watch a separate OBV pane.
How it works
OBV accumulates volume on up-closes and subtracts it on down-closes, so a rising OBV means volume is flowing into the asset and a falling OBV means it's flowing out. This script takes that OBV line and compares it to a simple moving average of itself:
When OBV is above its SMA, volume momentum is building → candles are painted green.
When OBV is below its SMA, volume momentum is fading → candles are painted red.
The idea is that volume often shifts before or alongside price, so the color flips can give you a read on whether the current move is backed by participation.
The Sensitivity input
The single setting that matters is Sensitivity, which is the length of the SMA applied to OBV. Lower values make the indicator react faster to changes in volume flow (more color flips, more noise), while higher values smooth things out and only flip on more established shifts. Tune it to your timeframe and trading style — there's no universally "correct" value.
Notes
It works on any timeframe and any asset, as long as that asset reports volume data. On symbols without volume (some forex pairs and certain indices), OBV can't be calculated and the script will let you know. Colors are fully customizable in the settings.
This is a context/confirmation tool, not a standalone signal — it tells you about volume flow, not where to enter or exit. Use it alongside your own analysis. Indicador

Indicador

Indicador

Channel Volume Profilwizard channel vp idm is a visual analysis tool built around a dynamic price channel, an anchored volume profile, value area levels, volume nodes, inducement zones, liquidity sweeps, and confluence labels.
the purpose of this indicator is to help traders read where price is positioned inside an active market structure. it combines channel direction, volume acceptance, value area behavior, and liquidity reactions into one clean visual layout.
this indicator does not predict the market. it is designed to organize technical analysis and highlight areas where price may react, slow down, reject, or continue.
main concept
the script builds a dynamic channel around price using a regression-based structure. inside this channel, it calculates an anchored volume profile that follows the slope of the market.
unlike a classic horizontal volume profile, this profile is projected inside the active channel. when the market is rising, the profile follows the upward slope. when the market is falling, the profile follows the downward slope.
this makes the profile easier to read in trending conditions, because the volume zones stay aligned with the current market path.
what the indicator displays
poc
poc stands for point of control. it marks the area with the highest volume inside the profile. this is often an area of acceptance where price may return, pause, or consolidate.
vah
vah stands for value area high. it is the upper boundary of the value area. if price rejects this level, a move back toward the poc may be watched. if price accepts above it, the market may be trying to expand higher.
val
val stands for value area low. it is the lower boundary of the value area. if price rejects this level, a move back toward the poc may be watched. if price accepts below it, the market may be trying to expand lower.
hvn
hvn stands for high volume node. it marks an area where volume concentration is high. these levels may act as areas of acceptance, reaction, or slowdown.
lvn
lvn stands for low volume node. it marks an area where volume concentration is low. these levels may act as fast movement zones, rejection zones, or imbalance areas.
idm
idm represents an internal inducement area. it helps identify internal liquidity zones that may be swept before a reaction or continuation.
drop marker
the drop marker highlights a possible liquidity sweep. it appears when price takes a level or zone and then moves back inside.
a label
the a label is a confluence marker. it combines several conditions such as sweep, rejection, value area interaction, volume behavior, poc reclaim, and structure context. it should not be used alone. it is a visual signal for deeper analysis.
how to use the indicator
start by looking at the channel direction.
if the channel is rising, the trader can focus more on reactions near the lower part of the channel, val, or bullish sweep zones.
if the channel is falling, the trader can focus more on reactions near the upper part of the channel, vah, or bearish sweep zones.
if price is near the middle of the channel, the market may be balanced. in that case, it is usually better to wait for a clear rejection, breakout, sweep, or acceptance shift.
how to use the poc
the poc is the main acceptance level of the current profile.
when price is above the poc, the market may be accepting higher prices.
when price is below the poc, the market may be accepting lower prices.
when price keeps returning to the poc, the market may be consolidating or building balance.
a clean break and hold above the poc can show stronger bullish acceptance.
a clean break and hold below the poc can show weaker structure or bearish acceptance.
how to use vah and val
vah and val define the value area.
a rejection from vah can show that price is failing to accept higher levels.
a rejection from val can show that price is failing to accept lower levels.
an acceptance above vah can suggest expansion to the upside.
an acceptance below val can suggest expansion to the downside.
beginners can use vah, poc, and val as a simple map:
vah = upper value zone
poc = balance zone
val = lower value zone
how to use hvn and lvn
hvn and lvn are displayed as small dotted levels with tiny labels.
hvn can act as a reaction or slowdown zone because price has previously accepted volume there.
lvn can act as a faster movement zone because there was less volume acceptance there.
these levels are not automatic buy or sell signals. they are reference points that should be combined with price action, structure, and risk management.
how to use idm
idm labels show internal inducement areas.
an idm can represent a zone where liquidity was built and later taken by the market. when price sweeps an idm and then reintegrates, it may help explain a reaction or shift in behavior.
an idm near val may support a bullish reaction if price sweeps and returns inside the channel.
an idm near vah may support a bearish reaction if price sweeps and returns inside the channel.
how to use the drop marker
the drop marker shows a potential liquidity sweep.
a drop below val or below the lower channel can suggest that price swept lower liquidity and then returned inside.
a drop above vah or above the upper channel can suggest that price swept upper liquidity and then returned inside.
it is usually better to wait for candle close before interpreting the marker.
how to use the a label
the a label represents a stronger confluence condition.
a bullish a near val or the lower channel can suggest possible absorption if price sweeps liquidity and closes back inside.
a bearish a near vah or the upper channel can suggest possible distribution if price sweeps liquidity and closes back inside.
the a label becomes more meaningful when it appears near poc, vah, val, hvn, lvn, or idm.
it should always be confirmed with market context, candle close, and risk management.
important settings
channel / vp lookback
controls how many bars are used for the channel and the volume profile. a higher value gives a broader view. a lower value gives a more reactive view.
regression length
controls the base of the channel. a higher value makes the channel smoother. a lower value makes it react faster to recent price movement.
vp rows
controls the number of rows in the volume profile. more rows create more detail, but too many rows can make the chart heavier.
value area %
controls the value area calculation. the common default is 70.
poc source
chooses how the poc is calculated. raw is stricter. smoothed is more stable visually.
vah / val source
chooses whether value area boundaries use raw volume or smoothed volume.
keep vp / levels inside rails
keeps the volume profile and main levels inside the channel so they do not overlap the outer rail visuals.
auto guard from neon rails
adds extra spacing from the visual rail bands to keep the profile and levels clean.
show inner lines
shows or hides decorative inner channel lines. when disabled, inner decorative lines are removed, while important levels such as poc, vah, val, hvn, and lvn remain visible.
show hvn / lvn small lines
shows small dotted high volume node and low volume node markers.
idm validation mode
controls how idm labels are displayed.
balanced sweep is more flexible.
strict bos is more selective.
early candidate displays potential idm areas earlier.
a minimum score
controls how selective the a label is. a higher value gives fewer signals. a lower value gives more signals.
beginner workflow
step 1
identify the channel direction.
if the channel is rising, focus on bullish reactions near the lower channel, val, or sweep zones.
if the channel is falling, focus on bearish reactions near the upper channel, vah, or sweep zones.
step 2
check where price is compared to the poc.
above poc can show stronger acceptance.
below poc can show weaker acceptance.
around poc can show balance or consolidation.
step 3
watch vah and val.
vah is the upper value boundary.
val is the lower value boundary.
look for rejection, acceptance, or sweep around these levels.
step 4
use hvn and lvn as reaction levels.
hvn may slow price down.
lvn may lead to faster movement or sharp rejection.
step 5
wait for confirmation.
a drop marker shows a sweep.
an a label shows confluence.
an idm label shows internal liquidity.
when several elements appear in the same area, that zone becomes more important for analysis.
example use case
price is rising inside the channel.
price pulls back toward val.
a drop marker appears below val.
price closes back inside the channel.
an a label appears near the lower channel.
in this case, the trader can study the area as a possible bullish reaction zone. this does not mean automatic entry. the trader should still check market structure, candle close, risk, and invalidation level.
another example
price reaches the upper channel and trades near vah.
a drop marker appears above vah.
price closes back below vah.
an a label appears near the top of the channel.
this can be studied as a possible rejection zone. the trader should still confirm with structure, risk management, and broader market direction.
usage tips
do not use the indicator alone.
always check the broader trend.
wait for candle close before making a decision.
avoid trading every label.
focus on zones where several elements align.
adjust settings depending on the asset and timeframe.
use proper risk management.
test the indicator before using it in live conditions.
risk notice
this indicator is an educational and technical analysis tool. it is not financial advice and does not guarantee any result. all signals and levels should be used as visual references inside a complete trading plan. every trader is responsible for their own decisions, risk management, and execution.
Indicador

Anchored VWAP Reversion ChannelAnchored VWAP Reversion Channel — Regime-Gated Fade Framework
## What this script does
This is an **analytical study** that frames mean-reversion ("fade") setups around an **anchored, volume-weighted regression channel**, then **gates** those setups by a statistical market-state test and **scores** them against their own forward outcomes. It does not place orders and it is not a signal service — its purpose is to let you see, on your own instrument and timeframe, whether fading a stretched move actually has an edge, instead of assuming it does.
It plots one channel (a centre line plus inner/outer residual-σ bands), marks fade setups at the outer band, draws supporting context (volume-profile POC / value area, untested prior-session POCs, momentum divergences, liquidity sweeps, and multi-timeframe trend lines), and reports a compact validation panel.
## Why these components are combined (mashup rationale)
Fading an extreme is really three separate questions, and no single classic indicator answers all three. Stacking look-alike indicators just echoes one input, so this tool deliberately combines **three non-redundant lenses and makes them check each other**:
1. **WHERE is price stretched?** — A **volume-weighted polynomial regression** anchored at the most recent swing pivot, with **residual-σ bands**. Because the curve tilts with the active leg, an outer-band tag stays meaningful even inside a trend, where a flat cumulative VWAP would not. A **volume profile** anchored to the *same* window supplies POC and value area, and prior-session POCs that have never since been traded through become **reversion targets**.
2. **Is a reversion actually firing here?** — Three orthogonal **tells** evaluated only at the band: a **close-back rejection**, a **band-confluent momentum divergence**, and an **equal-high/low liquidity sweep** (stop-run). Crucially, all three are derived from the same stretch, so their agreement is shrunk by a **design-effect correction** (effective-sample-size): three correlated echoes are not allowed to masquerade as three independent confirmations.
3. **Is the market in a reverting state at all?** — A **regime gate** combining a **variance-ratio test** and a **reversion-trust correlation** only lets a fade through when recent increments are offsetting (mean-reverting) rather than compounding (trending).
The pieces are not bolted together side by side: they share **one geometry** (the anchored channel) and **one volatility unit** (residual σ / ATR), and each can veto the others. A band tag with no tell does nothing; a tell with no reverting regime does nothing. The design goal is to **suppress** low-quality fades — into a trend, mid-range, or backed by a single echoed tell — more than to generate them.
## The honesty layer (what makes this more than a drawing)
Every fade that fires is logged and, a fixed horizon later, **resolved**: its forward return is measured in ATR units and tabulated **with the regime gate ON versus OFF**, reporting follow-through %, whipsaw %, a Wilson 95% confidence interval, and the **mean return per fade**. A per-fade series also exports to the Data Window so you can study the full return distribution offline. The gate has to **beat its own ungated baseline** to justify itself — the framework is built to be tested, not trusted blindly.
## How to use it
1. Set the **Price source** (group 01). It works on any symbol and any market; volume-based parts need a real volume feed.
2. A fade **arms** when price tags the outer band **and** at least one tell prints, then **passes** only if the regime gate reports a reverting state. Solid triangles are gated fades; the target is the centre line or the nearest untested POC.
3. Read the panel top-down: does **Gate ON** beat **Gate OFF** on both follow-through and mean R, with non-overlapping intervals and a reasonable sample size? If not, the edge is not present on this symbol/timeframe — change them rather than forcing the trade.
4. The signal lives on **higher intraday timeframes**; one-minute data is mostly noise.
## Defaults
Shipped tuned for **NSE:NIFTY** index futures on intraday timeframes (sources, pivot lengths, value-area %, and the Tuesday-style weekly session context reflect that instrument). Every value is exposed as an input — change the **Price source** and the relevant lengths to run the framework on any other instrument or market.
## What is original
The original work is the **coordination**, not any single formula: an anchored polynomial-regression channel used as a reversion frame, three decorrelated band tells fused by a design-effect shrink, a statistical regime gate, and a built-in A/B + forward-return validation harness — combined so each lens can veto the others and the whole thing reports its own hit rate. It is not a re-skin of one indicator.
## Concept credits (techniques are standard; this implementation is original)
Anchored VWAP (standard); volume-weighted least-squares / polynomial regression (standard); residual-σ channel (standard); Volume Profile, Value Area and POC — Market Profile, Steidlmayer / CBOT; Variance-Ratio test — Lo & MacKinlay (1988); design effect / effective sample size — Kish (1965); proportion confidence interval — Wilson (1927); ATR trailing stop / Supertrend (classic, used for the multi-timeframe context lines); RSI — Wilder; Stochastic — Lane.
## Disclaimer
For research and education only. This is an analytical study, **not** financial advice, **not** a recommendation, and **not** a guarantee of future results. All statistics shown are **in-sample** on loaded history, close-to-close, without costs or slippage — a study aid, not a backtest. Mean reversion fails in trends and through regime breaks. Do your own research and manage your own risk.
Indicador

Indicador

CVD [Order Flow]Price tells you what happened. Cumulative Volume Delta tries to tell you who was leaning on it. Delta is buying pressure minus selling pressure on each bar; CVD is that delta accumulated into a running line, so a market can grind sideways in price while the delta quietly stacks in one direction. CVD builds that line, draws it as informative candles instead of a flat curve, and watches it for two order-flow behaviors traders care about: divergence against price and absorption. One honest caveat sits underneath all of it, and the tool is built around it rather than hiding it: TradingView does not know real buy versus sell volume, so this CVD is a lower-timeframe estimate — and on data where that estimate is weak, the tool stays quiet instead of inventing pressure.
HOW IT WORKS
CVD is reconstructed from a lower timeframe, because the chart timeframe alone cannot tell you how a bar's volume split between buyers and sellers. The tool requests intrabar data from a faster timeframe and classifies each intrabar: an up intrabar adds its volume as positive delta, a down intrabar subtracts it, and a doji counts as zero — on an ambiguous intrabar the tool refuses to guess a side.
Delta and CVD — each bar's delta is the sum of its intrabar deltas. The cumulative line is committed only when the bar closes (the live bar is shown separately and is provisional until then). Two accumulation modes: Session resets the running total at each session start; Cumulative carries it across.
CVD candles — by default CVD is drawn as candles in its own pane: the open is the previous close, the high and low are the running intrabar extremes of the cumulative within the bar, and the close is the bar's net delta. This shows the path the delta took inside the bar, not just where it ended — more informative than a plain line. Line and Line+Histogram styles are available too.
Divergence — drawn on the price chart, between a price pivot and the matching CVD pivot, on confirmed pivots only. Regular divergence (price makes a higher high or lower low while CVD does the opposite — a potential exhaustion read) and Hidden divergence (a continuation read, default off). Several filters gate it: minimum swing size, minimum CVD move, minimum pivot volume, and bar-distance bounds, so trivial wiggles do not get marked.
Absorption — a strong delta meeting a weak price result: a lot of one-sided pressure that fails to move price its way, as if the move is being absorbed. It is confirmed on the next candle. This is an order-flow pattern, not a buy or sell instruction.
The unreliable-data part is deliberate and silent. Behind the scenes the tool weighs the symbol type against how complete the intrabar measurement is. On a symbol with no real volume it withholds signals; on tick-volume data it stays cautious. There is no confidence panel or badge — the honesty is in the behavior, not in a label on your chart.
Intrabar data is pulled from a lower timeframe and classified into per-bar delta (up = +volume, down = -volume, doji = 0)
Delta is accumulated into CVD and committed on bar close; the running line is drawn as candles, line, or line+histogram
Confirmed price and CVD pivots are compared for divergence; a strong-delta / weak-result bar is flagged as absorption, confirmed next candle
HOW TO READ
The CVD line rising means net buying pressure is accumulating; falling means net selling pressure. Sideways price with a steadily climbing or dropping CVD is the situation this tool is built to surface.
CVD candles show the intrabar path: a long candle that closed near its delta extreme is one-sided flow, while a candle that ran far in delta but closed back near its open is flow that met resistance.
A regular divergence is price and CVD disagreeing at a swing — price extends, delta does not. A hidden divergence (off by default) is the continuation-flavored version. Both describe an order-flow condition, not a trade.
An absorption mark is heavy delta that did not get its move. It says pressure was met, nothing more.
"Bullish" and "Bearish" describe the direction of the pattern, not a buy or sell instruction. Marking a divergence or an absorption says nothing about whether price will turn, continue, or do neither. The tool maps the order flow; the read is yours.
INPUTS
LTF Source / Manual LTF — Auto picks a lower timeframe targeting enough intrabars per chart bar; Manual lets you set it yourself.
Accumulation — Session (reset the running total each session) or Cumulative (carry it across).
Show Bullish / Show Bearish Divergence — enable each direction independently.
Show Hidden — add the continuation-style hidden divergence (default off).
Pivot Left / Right — how many bars define a confirmed pivot (larger = stricter and later, but still no repaint).
Pivot Source — Wick or Close: measure pivots from the extremes or from the closes.
Min Swing Size / Min CVD Move / Min Pivot Volume / Min & Max Bars Between — the divergence quality filters; raise them for fewer, cleaner marks.
CVD Smoothing — smooth the CVD used for pivot detection.
Absorption — toggle the absorption pattern; its delta, range, and period thresholds define how strong the delta and how weak the result must be.
CVD Style — Candles (default), Line, or Line+Histogram.
Zero Line / Dim Live Bar / Up & Down Color — display options; Dim Live Bar visually marks the not-yet-committed bar.
ALERTS
CVD Bullish Divergence and CVD Bearish Divergence fire when a confirmed, filter-passing divergence is marked.
Absorption fires when a confirmed absorption is marked.
All fire on confirmed, quality-gated events — set them up with "Once Per Bar Close."
NOTES & LIMITS
This is an observation tool, not a forecast. The single most important thing to understand: TradingView does not provide real buy versus sell volume, so this CVD is a lower-timeframe estimate built by splitting each bar into faster intrabars and classifying them. That estimate is only as good as the volume data underneath it. On instruments with genuine traded volume — futures and crypto — it is at its most reliable. On forex and CFDs the "volume" is tick volume (number of price updates, not contracts traded), so the delta there is looser, and the tool treats it cautiously through a silent data-quality gate; on a symbol with no usable volume it withholds signals rather than drawing noise. There is no panel telling you this per bar — the caution is built into the behavior. Divergence and absorption are order-flow patterns, not buy or sell instructions, and marking one says nothing about whether price will reverse or continue. No repaint, no lookahead: the cumulative line is committed on confirmed (closed) bars and the live bar is shown separately as provisional; divergences are drawn on confirmed pivots only — they appear a few bars late by nature, but they do not move once printed; absorption is confirmed on the next candle. The lower-timeframe request reads completed intrabars and does not leak the future. No profit, win-rate, or guarantee claim. Open-source under CC BY-NC-SA 4.0 — non-commercial use, attribution to ElisTools required for reuse or derivatives. TradingView (Pine v6) only. Indicador
