Mis à jour

Delta Profile Multi-Anchor , Footprint Imbalance & Whale Tiers

3 883
█ OVERVIEW

Delta Profile draws several order-flow DELTA profiles at once — one per higher-timeframe anchor (session / week / month) — each split buy-vs-sell at every price row, so you can see WHERE aggressive delta transacted across horizons simultaneously and how that footprint is migrating. Where a conventional volume profile is volume-native and shows one anchor at a time, this is delta-native and multi-anchor, and it shows a Delta-POC (where net delta peaks) distinct from the Volume-POC (where volume peaks) — their disagreement locates absorption and trapped flow. It asserts no signal and no win-rate; it is an anatomy view.

█ HOW IT WORKS

Intrabars — one lower-timeframe stream (request.security_lower_tf) supplies intrabar OHLCV for every anchor.
Trade side — each intrabar is split buy vs sell by a selectable classifier: BVC-Normal (normal-CDF of the standardized sub-bar return, default), BVC-Student-t (fatter-tailed, opt-in), Tick (sign of close−open), or Geometry (close position in range). All are OHLCV estimates, not the true tape; the classifier in force is shown.
Concurrent anchors — up to four higher-timeframe anchors each accumulate the same confirmed intrabars into a fixed-tick, price-keyed map (buy / sell / largest-print per level), resetting when their own period rolls. Anchor D can instead anchor once from a date you drag on the chart.
Reads per anchor — Volume-POC and Delta-POC (shown distinctly); the 70% Value Area; HVN / LVN nodes; stacked diagonal-imbalance runs (a row's aggressive buys ≥ R× the resting sells one row below, ≥ N rows stacked); absorption rows (strong volume, near-zero net delta at an extreme); and whale tiers (largest single prints, percentile-ranked 75/90/97, dotted at their row).
Naked Delta-POC magnets — each completed session's Delta-POC is kept until price trades through it; the nearest untested one above and below is drawn on price.
Lean meter, migration, CVD — a per-anchor net-delta lean meter; a migration arrow (is the Delta-POC drifting up or down vs the prior period); an optional session-anchored CVD strip rescaled below price; and CVD pivot-divergence markers (price makes a higher high while CVD makes a lower high = bearish, and the mirror = bullish).
Reject calibration (honesty layer) — naked Delta-POCs are generated from a dedicated Session timeframe (independent of the display anchors). After price tags one, the script forward-tests whether price REJECTS (turns back against the approach by calK·ATR) before CONTINUING through, and compares that to the matched unconditional reject-vs-continue base rate: reject% (n, Wilson 95% lower bound) vs base% → edge. Past-only, non-repaint, no verdict.

█ HOW TO USE

Read the anchors together. Agreement is several horizons showing the same delta colour, the same lean direction and Delta-POC drifting the same way; disagreement between the session and the higher anchor is developing rotation. When the Delta-POC and Volume-POC separate on the same profile, aggressors won at a different price than where the crowd traded — often absorption or a trapped move. Stacked-imbalance zones mark diagonal aggression; naked Delta-POC magnets mark untested levels price may be drawn back to; CVD divergence flags price/flow disagreement at swings. The reaction-calibration line tells you, honestly and past-only, whether naked-dPOC tags have actually preceded larger-than-random moves here — and shows nothing when the sample is small. The dashboard defaults to Compact; switch it to Pro for the per-anchor column detail. This is a study for context and location; it emits no entries.

█ INPUTS

01 · Data & Trade-Side — LTF granularity, classifier, BVC sharpness, ticks-per-level, display rows.
02–05 · Anchors A–D — enable, timeframe, label and Mode for each: HTF (resets each period), Composite (never resets, accumulates over loaded history), or From Date (anchors once at the shared drag timestamp).
06 · Profile — width, gap, offset; POC / Value Area toggle and %, fade-outside-VA, HVN/LVN, lean meter, naked magnets.
07 · Imbalance & Absorption — show, diagonal ratio R, rows-to-stack N, absorption threshold.
08 · Whale Tiers — three percentile thresholds.
09 · Migration & CVD — migration arrow; optional CVD strip and height; CVD pivot-divergence and pivot length.
10 · Microstructure Links (optional) — map an external Toxicity / Fragility export to annotate flow quality (never recomputed).
11 · Display — dashboard detail (Compact default / Pro), position.
12 · Exports — running CVD, POCs, VA, naked levels, migration, reaction edge to the Data Window.
13 · Calibration — reject size (×ATR), horizon, and the Session timeframe that generates naked Delta-POCs (independent of the display anchors).
Style — Auto / Dark / Light theme.

█ HONESTY & LIMITATIONS

Descriptive, not predictive. Profiles summarise where reconstructed aggressive volume transacted on visible history — no execution costs, no backtest, no promise. Trade side is an OHLCV estimate (BVC / tick / geometry), not a Level-2 book; on symbols with no volume it cannot function. The reject calibration is a past-only, first-touch two-barrier (reject-vs-continue) forward test against a matched base rate with a Wilson lower bound; a small sample is discounted automatically and no edge shown means honest, not broken. Non-repaint by construction: intrabars are aggregated only on confirmed bars, profiles are drawn from confirmed history, divergences fire on confirmed pivots, calibration events resolve only after the horizon, and the render recomputes once per confirmed bar. For runtime the script processes the most recent ~5000 bars, and turning off Calibration removes its overhead; very high anchors on a fine lower timeframe (or Composite mode over long history) can still be heavy — raise ticks-per-level, coarsen the LTF granularity, or disable an anchor. It prints no verdict and no win-rate.

█ ORIGINALITY

One coherent object — the aggressive-delta auction viewed across several horizons at once. It is deliberately distinct from a conventional volume profile (this is delta-native and draws multiple anchors concurrently), from a per-bar footprint engine (this is a persistent multi-horizon anatomy that asserts no verdict), and it introduces two reads a plain profile does not: the Delta-POC vs Volume-POC split, and whale-print tiering on the profile. It can optionally consume external toxicity / fragility exports rather than recomputing microstructure, keeping it a single focused tool. Every block was written from scratch; the components feed one view (where did aggressive delta transact, across horizons) rather than being independent indicators stapled together.

█ CREDITS

Market / auction profile (POC / Value Area) — Steidlmayer / Market Profile.
Bulk Volume Classification — Easley, López de Prado & O'Hara.
Trade-side tick rule — Lee & Ready (1991).
Footprint stacked (diagonal) imbalance — order-flow / footprint practice.
Cumulative Volume Delta — order-flow literature.
Wilson score interval — Wilson (1927).
Code written from scratch; no external script reused.

This script is for analysis and education. It is not financial advice.
Notes de version
v1.3 — Auto-anchor to your chart timeframe, delta-momentum inflection, and named VSA bar events. All additive; the profile engine, POC/Value-Area and the naked-dPOC calibration are byte-for-byte v1.2.

1. Auto-anchor to chart timeframe (default ON) The biggest usability change: the display anchors now auto-scale to whatever timeframe you're viewing, so each profile always spans a sensible number of bars. On ≤1h you get Session + Week; on 2h–4h it steps up to Week + Month; on Daily to Month + Quarter; on Weekly to Quarter + Year — and the anchor labels relabel to match. No more a "Weekly" profile built from five daily bars, or reconfiguring anchors every time you change timeframe. Turn "Auto-anchor to chart timeframe" → OFF to use the manual Anchor TFs exactly as before. The naked-dPOC / calibration Session TF stays independent (group 13), so your reaction stats don't move when the display anchors do.

2. Delta acceleration deltaAccel is the bar-to-bar change in per-bar net delta — an order-flow momentum inflection that turns before net delta itself does. Exposed as a Data-Window export EXP_DeltaAccel and two alerts, "Delta accelerating up" and "Delta accelerating down."

3. VSA bar events (optional, alerts only) The script now recognises the classic Wyckoff / effort-vs-result bars — Upthrust (new high rejected on volume), Shakeout (new low reclaimed), Stopping Volume (wide down-bar closing off its low), and Buying / Selling Climax (peak-volume wide bars). These pair naturally with the profiles: an Upthrust into a naked dPOC, or Stopping Volume on a value-area low, is flow confluence on a level the profile already located. An optional time-of-day volume baseline judges each bar's volume against the same clock slot on prior sessions so a normal-for-the-open bar isn't a false climax. All exposed as alertconditions — no new drawings, dashboard unchanged.

What is unchanged. The concurrent multi-anchor delta-at-price engine, the Volume-POC / Delta-POC split, the 70% Value Area, HVN/LVN, stacked diagonal imbalance, absorption flags, whale tiers, the CVD strip and pivot-divergence, and the entire Wilson-bounded naked-dPOC reaction-calibration harness are all byte-for-byte v1.2. Auto-anchor only chooses which timeframes the existing anchors use; delta acceleration and VSA are pure reads of data the tool already computes.

Still an anatomy view, not a signal service — it asserts no verdict and no win-rate. Order-flow side from OHLCV is an estimate (the classifier in force is shown). Non-repainting: intrabars aggregate on confirmed bars, calibration is past-only and Wilson-bounded. Concept credits unchanged (Steidlmayer Market Profile; Easley-López de Prado-O'Hara BVC; Lee-Ready tick rule; footprint/CVD practice). Research/education only, not financial advice.
Notes de version
v2.0 — the Multi-Anchor Delta Profile, now with an optional Signal Engine. The original profile wall is fully intact and is the DEFAULT view (new "View mode" switch, group 00 → "Profile (MADP)"): the same multi-anchor delta profiles, per-anchor POC / Value Area, stacked diagonal imbalance, whale tiers, net-delta lean meter, anchor dashboard, EXP_CVD_A/B/C + EXP_WhaleBar exports and whale-print alerts — unchanged. Switching the mode to "Signal engine" (or "Both") unlocks a new decision layer built on the SAME intrabar delta: a cross-timeframe conviction score (0–100), forward triple-barrier self-calibration (Wilson-bounded hit-rate and edge vs base rate, per side), a self-muting edge-gate that suppresses a side when its recent win-rate decays, a full on-chart trade plan (Trigger / SL / TP1 / TP2) that latches until it resolves, and advanced flow reads (VPIN toxicity, Kyle-λ impact, size-stratified delta, persistence, Hurst, Lévy-area flow/price lead-lag). The profile's value area qualifies each signal by location. Non-repainting on confirmed bars; reconstructed from intrabar/HTF volume — no tick or Level-2 feed. Order-flow from OHLCV is an ESTIMATE, not the true tape.

Study/indicator — descriptive context and education, not a signal service, not financial advice, not a guarantee. The signal engine's calibration is computed on this chart's own history with overlapping windows and no costs — context, not a verified backtest.
Notes de version
v2.6 — validated Signal Engine + HTF-anchored trailing stop. The original multi-anchor delta-profile wall is fully intact and selectable (View mode, group 00: Profile / Signal engine / Both), with anchors defaulting to 15m / 1H / 4H. The optional Signal Engine, built on the same intrabar delta, has been forward-validated on-chart: measured as a fixed 1-ATR scalp the aligned flip is weak, but under the trailing exit it actually ships it is positive expectancy on 3m and up (up to ~+0.48 R). So EXPECTANCY IN R (trailing exit) is now the primary honesty metric on the dashboard; the fixed-target 1:1 is demoted to context. The self-adaptive edge-gate keys off average R (not win-rate, since a profitable trend-ride wins < 50%) and is off by default; flips are suppressed on sub-2-minute charts. The ATR trailing stop can now trail on a higher timeframe (group 12 · Trail ATR timeframe) so its width matches the timeframe the signal lives on — still a single line. Full trade loop: Trigger / SL / TP1 / TP2 that latch until resolved, value-area location gating, and advanced reads (VPIN toxicity, Kyle-λ impact, size-stratified delta, persistence, Hurst, Lévy-area flow/price lead-lag). MADP's EXP_CVD_A/B/C + EXP_WhaleBar exports and whale-print alerts are preserved. Non-repainting on confirmed bars; reconstructed from intrabar/HTF volume — no tick or Level-2 feed.

Study/indicator — descriptive context and education, not a signal service, not financial advice, not a guarantee. The engine's calibration is computed on this chart's own history with overlapping windows and no costs — context, not a verified backtest. Order-flow from OHLCV is an estimate, not the true tape.
Notes de version
v2.7 — MTF stack (optional, default off). New overlay draws each of 1/2/3/5/15/30/60m as its own ATR trailing stop (recent-window, colour-coded) plus a per-timeframe flow-flip marker, with a legend showing each timeframe's stop direction. Higher-timeframes-only by construction (a timeframe faster than the chart can't be plotted), so view on 1–5m to see the full stack; faster rungs are skipped. One bundled security call per timeframe; the core engine, signal, trade plan and exports are unchanged. Educational; not financial advice.
Notes de version
Multi-Anchor Delta Profile — Stacked-Imbalance, Whale Tiers & Signal Engine · The original multi-anchor delta-profile wall is fully intact; everything below is additive or a refinement.

Any asset class (one switch). New "Asset class — volume" (group 01, default Chart). External (futures) reconstructs the whole engine — delta spine, CVD, VPIN toxicity, size-split, absorption, MTF flow, the profile wall and whale prints — from a matching futures symbol and overlays it, so it works on volume-less or thin charts (cash index, spot FX, thin stocks). Price, trailing stop and trade levels always stay on the chart instrument. Every default is set for NIFTY.

Signal quality — rebalanced conviction. The fused conviction used to multiply seven sub-1.0 quality factors together, so the product collapsed and nearly every signal read "weak" even where its forward expectancy was clearly positive. Conviction now combines them as a weighted-average penalty (impact & toxicity weigh most) blended with the worst single factor and floored — so a soft penalty no longer annihilates strength, while a genuinely bad environment still pulls it down. Strength now tracks real edge: clean trends read strong (50–68), chop stays in the teens–20s. Kyle-λ R² (the share of price variance order flow explains) is now the impact factor by default, and the log-odds gain default rose 1.0→1.5 so strong ladder alignment reads strong sooner.

Classification accuracy. BVC now defaults to a low-df Student-t split (fat-tail-correct for index/futures returns; Easley/López de Prado/O'Hara) — Normal still selectable, and the default Intrabar Tick Rule is unchanged. Opt-in true tick rule (Lee-Ready, sign vs prior sub-bar close). Hurst gets a small-sample guard so it reads "warming" instead of printing an unreliable value.

One panel. The four former floating tables (signal dashboard, MTF-alignment strip, MTF-stack legend, MADP anchors) are consolidated into a single panel — compact by default (decision essentials + MADP anchors + verdict), Pro adds every read. The colour-coded FLOW / MTF-stack ladder sits in its own compact strip so each rung shows its own direction (green up / red down); dock it beside the panel. The panel renders after the MADP accumulation so the anchor Net-Δ is current. Dead code removed; one table object where there were four.

On-chart. Chart-TF pressure triangles default ON. Signals now fire on every timeframe including 1m (the sub-2-minute suppression defaults off) — 1m is the noisiest, so lean on the higher-conviction flips there and watch the Expectancy row.

Honest-stats unchanged. The direction engine, the triple-barrier forward-test and the Wilson-floored scoreboard are untouched — this update changes how conviction is scored, not what's validated. A 39–43% win rate with positive R is normal for a trailing-exit trend read. Dependencies: self-contained (no library imports). Budget-safe: one indicator(), 18/40 request.*, plot units well within cap.

Educational tool for context and study. OHLCV-based estimates, not the true tape. Not financial advice, not a signal service. Past behaviour does not predict future results. Paste-test on your symbol before publishing.
Notes de version
Multi-Anchor Delta Profile → v2.13 — Safe-Zone UX + library consolidation

A usability update (with a RedK-inspired trailing-stop cushion) plus a behind-the-scenes consolidation. The engine, the signals, the MADP profile wall and all the honest-stats are unchanged — every number this prints is the same as v2.12.1.

What's new

1 · Trailing-stop SAFE ZONE. The gap between price and the ATR trailing stop is now shaded, and the shading tells you your live risk:

🟢 green — Safe, plenty of cushion
🟡 amber — Watch, cushion shrinking
🔴 red — Critical, price right at the stop

The cushion is measured in ATR, so it reads the same on any symbol (defaults: Safe ≥ 2× ATR, Watch 1–2×, Critical < 1×; all adjustable in group 12b). A new "Stop zone" dashboard line shows the orb, the word, and the exact distance to the stop (tick-precise), and a "Stop zone CRITICAL" alert fires the moment the cushion drops into the red.

2 · Flip marker on the stop line. When the trailing stop flips, it now prints a trend-coloured ▲/▼ FLIP tag with the fused-conviction number, anchored right on the stop line it belongs to.

3 · Marker legend (KEY). A compact on-chart key (group 09) explains every mark — the MTF signal box, the FLIP tag, the pressure triangles, the safe zone and the trailing stop — so the chart reads without the manual.

4 · Library consolidation (no output change). Three pieces of maths that were written inline are now sourced from the suite's shared libraries, so this script's definitions match the rest of the toolkit. Each swap was checked to be formula-identical before it was made, so nothing about the output moves: the efficiency ratio (→ ml_calib), the Wilson confidence interval used for the "proven ✓" check (→ ml_calib), and the time-of-day volume baseline (→ ml_session). Both libraries are pure maths — no extra data requests.

Housekeeping

To fit the new cushion fill within TradingView's plot budget, six low-value Data-Window exports were removed (EXP_BuyPress, EXP_TotVol, EXP_VSABias, EXP_Absorb, EXP_MTFFlow, EXP_FlowSpeed). The core exports (EXP_PressureZ, EXP_CumDelta, EXP_Signal, EXP_LongEdge, EXP_ShortEdge, EXP_MTFAlign) and the MADP EXP_CVD_A/B/C and EXP_WhaleBar exports are untouched, so existing input.source() chains keep working.

Unchanged

Every detector, the MTF confluence gate, the fused conviction, the forward calibration and edge-gate, the toxicity / impact / absorption / size / persistence / Hurst / Lévy reads, the MADP profile wall and the whale-print alerts all behave exactly as in v2.12.1. Defaults remain set for NIFTY; spot/futures and other asset classes stay selectable in Settings; the dashboard keeps its Pro / Compact toggle with Compact as the default.

Research / education only — NOT financial advice, NOT a signal service. Edge figures are in-sample descriptive statistics on this chart's own history, not a verified backtest; past behaviour does not predict the future.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.