OPEN-SOURCE SCRIPT

Execution Heatmap v8 — Classic Blocks (Final Logic)

64
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.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน