OPEN-SOURCE SCRIPT
Apex SMC

Title: Apex Institutional Edge
The Ultimate Institutional Trading Framework
Most Smart Money Concepts (SMC) scripts simply paint overlapping boxes on your chart until the price action is unreadable. The Apex Institutional Edge V3.5 is different. It is a complete, systematic institutional trading engine that combines market microstructure, liquidity sweeps, volume delta, and multi-timeframe confluence into a single, aggressively optimized suite.
Built specifically for precision assets like XAU/USD on the 5-minute timeframe (but robust enough for any market), this indicator acts as a complete trading desk, filtering out retail traps and keeping your chart surgically clean.
🏛️ Core Feature 1: Dynamic Smart Money Zones
Apex does not just draw zones; it actively manages them using a proprietary "True-Touch Mitigation" garbage collector.
Unmitigated FVGs, Order Blocks (OB), & Rejection Blocks (RJB): Automatically identifies and highlights high-probability institutional zones.
Surgical Cleanliness: The exact second a live candle wick touches any part of a zone, the script instantly registers it as "mitigated" and deletes it from your chart. You only ever see fresh, untouched liquidity pools.
Tier-1 Liquidity Tracking: Automatically plots the Previous Daily High/Low (PDH/PDL) and active Major/Minor Buy-Side and Sell-Side Liquidity (BSL/SSL) levels.
📊 Core Feature 2: Institutional Order Flow & AMD
Cumulative Volume Delta (CVD): An internal volume engine tracks the true delta between buyers and sellers. It actively plots Bullish/Bearish CVD Divergence dots directly on your chart, warning you of hidden institutional accumulation or distribution before the price breaks.
A-M-D Session Gates: Automatically maps the Asia (Accumulation), London (Manipulation), and New York (Distribution) sessions. The algorithmic logic filters out low-probability signals during off-hours and highlights the true narrative of the daily cycle.
⚡ Core Feature 3: The Dual-Signal Engine
Apex utilizes two completely independent mathematical engines to generate entry signals, strictly avoiding the "Parabolic Trend Trap" that plagues other scripts.
Engine A (Scalp & Continuation): Hunts for strict liquidity sweeps combined with Bullish/Bearish Displacement. During ranging markets, it demands a deep 4-candle liquidity flush. However, if the MTF dashboard detects a massive "Runaway" trend, the engine dynamically adapts, allowing you to catch aggressive 1-to-2 candle pullbacks into unmitigated zones without waiting for a deep structural flush.
Engine B (Macro Swing): A dedicated higher-timeframe engine that hunts for major structural reversals off PDH/PDL or Major Swing pivots.
The Chop Filter: The ultimate account saver. If the engine detects a liquidity sweep but the internal Choppiness Index confirms the market is in a dead range, it explicitly prints a gray CHOP WAIT label, filtering out fake breakouts.
🖥️ Core Feature 4: The Twin HUD Dashboards
All of this heavy math is distilled into two ultra-clean, compact Heads-Up Displays anchored perfectly to your screen (bypassing TradingView's scaling bugs).
MTF Bias Dashboard: Gives you an instant macro-to-micro view. It calculates real-time EMA-based trend alignment across the Daily, 4H, 1H, 15m, and 5m timeframes, tracks the exact Chop %, and displays live CVD flow.
Action Status Panel: The brain of the operation. Constantly feeds you live, plain-English execution commands based on deep confluence (e.g., 💎 STRONG BUY NOW, ⚠️ WEAK SELL, 🔍 SCANNING).
💡 How to Use It
Asset & Timeframe: Highly optimized for XAU/USD (Gold) on the 5m chart, but fully functional on Forex, Indices, and Crypto.
Execution: Wait for the MTF Dashboard to show directional alignment (e.g., 4↑ / 1↓). Let the price sweep a labeled Liquidity Line (BSL/SSL) or tap a fresh FVG/OB. Wait for the engine to print a STRONG BUY or SWING LONG label with an accompanying background flash. Enter the trade, placing your stop loss safely behind the sweep wick.
Trade the data, not the noise.
The Ultimate Institutional Trading Framework
Most Smart Money Concepts (SMC) scripts simply paint overlapping boxes on your chart until the price action is unreadable. The Apex Institutional Edge V3.5 is different. It is a complete, systematic institutional trading engine that combines market microstructure, liquidity sweeps, volume delta, and multi-timeframe confluence into a single, aggressively optimized suite.
Built specifically for precision assets like XAU/USD on the 5-minute timeframe (but robust enough for any market), this indicator acts as a complete trading desk, filtering out retail traps and keeping your chart surgically clean.
🏛️ Core Feature 1: Dynamic Smart Money Zones
Apex does not just draw zones; it actively manages them using a proprietary "True-Touch Mitigation" garbage collector.
Unmitigated FVGs, Order Blocks (OB), & Rejection Blocks (RJB): Automatically identifies and highlights high-probability institutional zones.
Surgical Cleanliness: The exact second a live candle wick touches any part of a zone, the script instantly registers it as "mitigated" and deletes it from your chart. You only ever see fresh, untouched liquidity pools.
Tier-1 Liquidity Tracking: Automatically plots the Previous Daily High/Low (PDH/PDL) and active Major/Minor Buy-Side and Sell-Side Liquidity (BSL/SSL) levels.
📊 Core Feature 2: Institutional Order Flow & AMD
Cumulative Volume Delta (CVD): An internal volume engine tracks the true delta between buyers and sellers. It actively plots Bullish/Bearish CVD Divergence dots directly on your chart, warning you of hidden institutional accumulation or distribution before the price breaks.
A-M-D Session Gates: Automatically maps the Asia (Accumulation), London (Manipulation), and New York (Distribution) sessions. The algorithmic logic filters out low-probability signals during off-hours and highlights the true narrative of the daily cycle.
⚡ Core Feature 3: The Dual-Signal Engine
Apex utilizes two completely independent mathematical engines to generate entry signals, strictly avoiding the "Parabolic Trend Trap" that plagues other scripts.
Engine A (Scalp & Continuation): Hunts for strict liquidity sweeps combined with Bullish/Bearish Displacement. During ranging markets, it demands a deep 4-candle liquidity flush. However, if the MTF dashboard detects a massive "Runaway" trend, the engine dynamically adapts, allowing you to catch aggressive 1-to-2 candle pullbacks into unmitigated zones without waiting for a deep structural flush.
Engine B (Macro Swing): A dedicated higher-timeframe engine that hunts for major structural reversals off PDH/PDL or Major Swing pivots.
The Chop Filter: The ultimate account saver. If the engine detects a liquidity sweep but the internal Choppiness Index confirms the market is in a dead range, it explicitly prints a gray CHOP WAIT label, filtering out fake breakouts.
🖥️ Core Feature 4: The Twin HUD Dashboards
All of this heavy math is distilled into two ultra-clean, compact Heads-Up Displays anchored perfectly to your screen (bypassing TradingView's scaling bugs).
MTF Bias Dashboard: Gives you an instant macro-to-micro view. It calculates real-time EMA-based trend alignment across the Daily, 4H, 1H, 15m, and 5m timeframes, tracks the exact Chop %, and displays live CVD flow.
Action Status Panel: The brain of the operation. Constantly feeds you live, plain-English execution commands based on deep confluence (e.g., 💎 STRONG BUY NOW, ⚠️ WEAK SELL, 🔍 SCANNING).
💡 How to Use It
Asset & Timeframe: Highly optimized for XAU/USD (Gold) on the 5m chart, but fully functional on Forex, Indices, and Crypto.
Execution: Wait for the MTF Dashboard to show directional alignment (e.g., 4↑ / 1↓). Let the price sweep a labeled Liquidity Line (BSL/SSL) or tap a fresh FVG/OB. Wait for the engine to print a STRONG BUY or SWING LONG label with an accompanying background flash. Enter the trade, placing your stop loss safely behind the sweep wick.
Trade the data, not the noise.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน