OPEN-SOURCE SCRIPT

Volumetric Sweep Gravity Engine [PhenLabs]

3 939
📊 Volumetric Sweep Gravity Engine [PhenLabs]

Version: PineScript™ v6

📌 Description
The Volumetric Sweep Gravity Engine detects true liquidity stop-hunts and only keeps the ones backed by real volume absorption. Instead of marking every wick beyond a swing, VSGE scores each sweep with volume expansion, wick geometry, and a candle delta proxy — then projects a Fibonacci golden-zone magnet where price is most likely to get pulled next.

Traders get a clean, high-contrast chart: absorption boxes that intensify with score strength, gold-tinted gravity zones, dotted magnet lines, dual glow signal markers, and a live PhenLabs command dashboard. Built for fast visual reads on crypto, indices, FX, and metals without clutter.

🚀 Points of Innovation
  • Triple-factor absorption score (volume × wick ratio × delta proxy) filters weak fake sweeps
  • Liquidity pool tracking from confirmed swing highs/lows with ATR-buffered sweep rules
  • Automatic Fibonacci golden-zone gravity targets (0.618–0.786) after valid sweeps
  • Score-reactive zone transparency — stronger absorption draws hotter, more opaque boxes
  • Dotted magnet projection lines from signal price into the golden-zone midpoint
  • Live VSGE dashboard with bias, last event, ABS score, GZ magnet, BSL/SSL pools, and vol pulse


🔧 Core Components
  • Liquidity Pool Engine: Confirms swing highs (BSL) and swing lows (SSL), then watches for wick violations with optional close-back-inside stop-hunt logic
  • Absorption Scorer: Composites volume-vs-SMA, wick-to-body geometry, and signed volume delta into a 0–100 score with configurable weights
  • Gravity Projector: Measures the impulse leg and maps the 61.8–78.6 golden zone as the expected rebalance magnet
  • Visual Command Layer: Absorption boxes, golden zones, magnet lines, glow markers, pool rails, and a gold-framed dashboard


🔥 Key Features
  • Bullish and bearish volumetric sweep signals with min score gate
  • Optional EMA trend filter and ATR volatility floor to skip dead markets
  • Toggleable pool lines, absorption boxes, labels, bar coloring, and magnet lines
  • Max active zone cap to keep charts clean on lower timeframes
  • Alert conditions for bull sweeps, bear sweeps, and any sweep
  • Fully open-source Pine v6 with organized input groups and tooltips


🎨 Visualization
  • Neon triangle + soft glow circle markers tagged “VSGE” for screenshot-ready signals
  • Absorption boxes labeled with live ABS % and opacity scaled to conviction
  • Dashed golden-zone rectangles with centered GOLDEN ZONE text
  • Dotted gold magnet lines pulling toward the zone midpoint
  • BSL/SSL pool rails in bear/bull tints for structural context
  • Top-right dark dashboard with gold border, bias coloring, and vol pulse readout


📖 Usage Guidelines
  • Swing Lookback — Default: 5 — Range: 2-30 — Higher = fewer, more structural pools
  • Sweep Buffer (ATR mult) — Default: 0.05 — Range: 0-1 — Extra wick extension required beyond the pool
  • Require Close Back Inside — Default: true — Enforces classic stop-hunt reclaim closes
  • Min Sweep Wick (ATR) — Default: 0.15 — Range: 0.05-2 — Rejects tiny liquidity nicks
  • Volume SMA Length — Default: 20 — Range: 5-100 — Baseline for absorption volume
  • Absorption Volume Mult — Default: 1.4 — Range: 1-5 — Minimum volume expansion vs SMA
  • Min Wick/Body Ratio — Default: 1.5 — Range: 0.5-10 — Ensures rejection-style geometry
  • Min Absorption Score — Default: 55 — Range: 0-100 — Composite gate for signals
  • Golden Zone Low/High (Fib) — Default: 0.618 / 0.786 — Retracement band for gravity targets
  • Impulse Lookback Bars — Default: 8 — Range: 3-40 — Bars used to size the impulse leg
  • Max Active Zones — Default: 6 — Range: 1-20 — Limits drawn boxes/lines/labels
  • EMA Trend Filter — Default: off — Optional 200 EMA directional gate
  • Min ATR Volatility Filter — Default: on — Skips low-volatility chop vs ATR SMA


✅ Best Use Cases
  • Intraday liquidity-grab reversals on crypto, Nasdaq, Gold, and major FX pairs
  • Confirming stop-hunts before entering toward the golden-zone magnet
  • Filtering pure wick noise by requiring volumetric absorption
  • Screenshot-friendly SMC setups for education, social posts, and journal reviews


⚠️ Limitations
  • Delta is a candle-geometry proxy, not true bid/ask order-flow data
  • Pivot pools confirm with lag equal to the swing lookback
  • Golden zones are probabilistic magnets, not guaranteed fill targets
  • Dense lower-timeframe charts may need higher min score or lower max zones


💡 What Makes This Unique
  • Fuses liquidity sweeps + volumetric absorption scoring + Fibonacci gravity in one engine — a combination missing from pure sweep or pure Fib tools
  • Score-reactive visuals make conviction readable at a glance for SEO screenshots and live trading
  • PhenLabs-style command dashboard turns structure, score, and magnet price into a single decision panel


🔬 How It Works
  1. Map liquidity pools from confirmed swing highs (BSL) and swing lows (SSL)
  2. Detect sweeps when price wicks beyond a pool by ATR buffer and optionally closes back inside
  3. Score absorption using volume expansion, wick/body geometry, and signed delta proxy
  4. If score clears the minimum gate, draw the absorption box and project the 0.618–0.786 golden gravity zone with a magnet line
  5. Update the live dashboard (bias, last event, ABS score, GZ magnet, pools, vol pulse) and fire alerts


💡 Note:
Use VSGE as a confluence layer with your own risk rules, higher-timeframe bias, and position sizing. This is an analytical aid for studying liquidity and absorption behavior — not financial advice.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.