OPEN-SOURCE SCRIPT

Execution Heatmap v8 — Classic Blocks (Final Logic)

61
This indicator visualizes real-time market context through a structured execution heatmap, representing multiple analytic dimensions in a compact on-chart panel. Designed for traders who rely on confluence-based decision making, it tracks the shifting behavior of price, volume, and structural regimes to help identify momentum shifts, exhaustion points, and directional conviction.

🔶 Overview
The Execution Heatmap v8 consolidates key elements from trend, volume, and momentum analysis into a single panel. Each row represents a core component of the execution model, colored dynamically to reflect bullish, bearish, neutral, or mixed states. The final block produces a BUY, SELL, or SELL-ALERT classification — fully aligned with the internal logic of the GOLDMASTER‑HUD framework.

🔸 Core Logic Components
VWAP Direction: Detects price bias relative to VWAP (overextended, below value, or neutral).

Impulse Engine: Evaluates momentum using RSI and MFI thresholds to determine directional energy.

Volume Surge: Highlights aggressive volume imbalances and determines the dominant side (bull or bear).

Fake Break Detection: Identifies false breakouts at recent swing extremes to flag potential reversals.

Regime Filter: Measures underlying trend structure using dual‑EMA alignment (20/50 EMA).

Pattern Recognition: Detects emerging HL (higher low) or LH (lower high) structures.

Structure Strength: Maps strong vs. weak structural phases based on regime and pattern alignment.

Final Signal Engine: Synthesizes all modules into actionable classifications:

BUY: Price structure supports trend continuation.

SELL‑ALERT: Early weakness or exhaustion detected within a strong up‑trend.

SELL: Confirmed reversal alignment (momentum, VWAP, volume, and structure all bearish).

WAIT: Caution when conditions remain inconclusive.

🟩🟥 Color‑Coded Heat Blocks
Each metric is represented as a colored cell:

Green: Bullish / upward bias

Red: Bearish / downward bias

Yellow: Neutral / weak / mixed

Dark gray: Undefined or transitional

⚙️ Customization
Adjustable panel position (bottom‑right, bottom‑left, top‑right, top‑left).

Non‑intrusive table layout optimized for overlaying on active charts.

Lightweight execution with minimal resource load, ideal for intraday use.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.