SMT Divergence Correlation Pro
- Göstergeler
- Sürüm: 1.0
- Etkinleştirmeler: 10
SMT Divergence Correlation Pro is an institutional, strictly non-repainting Smart Money Technique (SMT) divergence and intermarket correlation analytics studio for MetaTrader 5. Designed for ICT, Smart Money Concepts, index, FX, metals, and crypto traders, it compares confirmed structural swings across up to three correlated instruments simultaneously (Intermarket Triad) while verifying live rolling Pearson and Spearman correlation integrity on every closed bar.
Why Traditional SMT Indicators Fail
- Repainting Swings: Provisional swing markers shift or vanish when price extends, making history look cleaner than live execution.
- Decoupled Correlation Traps: Flagging divergences when two assets have temporarily decoupled (low rolling correlation) creates constant false signals.
- Single-Peer Blind Spots: Comparing only one secondary asset misses high-conviction 2-of-2 Triad divergences (such as NAS100 against both S&P 500 and Dow Jones, or EURUSD against both GBPUSD and inverse USDCHF/DXY).
- Broker Suffix Friction & Chart Lag: Hard-coded tickers fail on broker suffixes ( .a , .raw , m , Cash ), while legacy indicators spawn hundreds of chart objects that slow down MT5.
1. 100% Causal, Zero-Repainting Confirmed-Swing SMT Engine
- Closed-Bar Confirmation Only: Every swing high and swing low requires LeftBars before and RightBars fully closed candles after; live forming bar 0 is never inspected.
- Bit-Exact Permanence: Signals lock permanently on confirmation bar close ( pivot2 + RightBars ) and never shift, resize, or disappear on refresh or timeframe reload.
- True Swing-to-Swing Matching with Bar Tolerance: Matches confirmed swings across correlated markets within a configurable PivotTolBars window (strictly bounded at or before the confirmation bar) rather than naively comparing identical bar indices.
- Exact Timestamp Alignment: Synchronizes multi-symbol bars by open timestamp with a configurable lag guard so broker maintenance windows and missing bars never create phantom signals.
- Both Positive & Inverse Polarity: Automatically handles positively correlated pairs (e.g., EURUSD vs GBPUSD , USTEC vs US500 , XAUUSD vs XAGUSD ) and inversely correlated peers (e.g., EURUSD vs USDCHF / spot DXY ), identifying both Primary Sweeps and Peer Sweeps across wicks or candle bodies.
2. Dual-Peer Intermarket Triad & Runtime Symbol Auto-Resolution
- 3-Asset Triad Confirmation ( TRIAD 2/2 ): Evaluates Peer 1 and Peer 2 simultaneously at every confirmed Primary swing. When both peers independently confirm an SMT divergence in the same direction, the signal upgrades to a gold-accented Triad 2/2 event.
- Automatic Broker Suffix & Cross-Asset Alias Mapping: Detects broker suffixes and cross-asset ticker aliases at runtime across FX Majors & Crosses, US/EU Indices ( USTEC/NAS100 , US500/SPX500 , US30/DJ30 , DE40 , UK100 ), Precious Metals ( XAUUSD/GOLD , XAGUSD/SILVER ), Crypto ( BTCUSD , ETHUSD , SOLUSD ), and Energy ( XTIUSD , XBRUSD ), while automatically skipping expiring quarterly futures contracts in favor of continuous feeds unless manually specified.
- Custom Peers & Clean Fallback: Override Peer 1 and Peer 2 with any symbol in Market Watch, with graceful single-symbol fallback for isolated Strategy Tester or exotic-symbol environments.
3. Rolling Correlation & Regime Integrity Gate
- Log-Return Pearson r & Outlier-Resistant Spearman rho : Measures true return co-movement rather than spurious price-level correlation.
- Correlation Regime Drift ( dr ): Compares fast-window vs slow-window correlation to warn immediately when an intermarket relationship starts breaking down.
- Correlation Integrity Gate: Classifies live coupling as SYNCED , WEAK , or DECOUPLED and optionally suppresses low-correlation SMT noise when |r| falls below your threshold.
- Relative Strength Spread ( RS Z-Score ): Quantifies which instrument in the pair is leading or lagging in real time, highlighting the cleaner asset to trade.
- 0–100 Confluence Score & Grade ( A+ / A / B ): Combines Triad agreement, correlation strength, ATR-normalized divergence magnitude, Kill Zone timing, and sweep structure into one transparent score.
4. Zero-Bloat Dual-Canvas Studio & Normalized Peer Ghost Overlay
- Exact 2-Canvas Footprint: Renders the entire chart overlay and interactive 4-tab studio onto just two hardware-friendly CCanvas bitmaps—zero chart-object spam and clean removal on detach.
- Normalized Peer 1 Ghost Curve: Toggle a crisp normalized price curve of Peer 1 directly onto your primary chart (automatically inverted for inverse peers) so you can visually verify the crack in correlation without tiling multiple charts.
- Kill Zone Session Shading: Optional subtle vertical bands for London and New York AM Kill Zones with automatic or manual broker UTC offset detection.
- 4-Tab Movable & Minimisable High-DPI Panel:
- LIVE: Dual-peer correlation KPI cards ( r , rho , dr , RS Z , lead/lag flow), latest confirmed SMT setup card with live Post-SMT Market Structure Shift ( MSS ) tracking, and an embedded rolling correlation & RS sparkline.
- MTF: 5-timeframe ( M5 / M15 / M30 / H1 / H4 ) SMT radar with MTF alignment banner and one-click chart timeframe switching.
- LOG: Recent confirmed non-repainting SMT event tape showing time, direction, Triad/Pair status, grade, correlation, session, and causal forward outcome.
- STATS: Transparent in-indicator causal forward statistics ( 1.0R / 1.5R / 2.0R hit rates, average MFE vs MAE, Triad vs Pair comparison, and Kill Zone vs Off-Session breakdown) measured strictly from confirmation-bar close.
- Themes & High-DPI Ready: One-click switching between Dark (Obsidian Carbon & Cyan-Amber) and Light (Porcelain Pearl & Indigo) themes, draggable header, collapsible floating HUD bar, and crisp 100%–200%+ DPI scaling.
5. Alerts, CSV Telemetry Export & 8 Non-Repainting EA Buffers
- Once-Per-Bar Alerts: Popup, Mobile Push, Email, and Sound notifications filtered by Minimum Grade ( B / A / A+ ), Kill Zone Only, and Triad 2/2 Only—firing strictly once per newly closed confirmation bar.
- One-Click CSV Export: Exports live Triad correlation telemetry and the full confirmed SMT event log directly to MQL5/Files/ .
- 8 Machine-Readable iCustom Buffers for EA Automation:
- Buffer 0: Confirmed SMT Direction ( +1.0 Bullish / -1.0 Bearish / 0.0 None)
- Buffer 1: SMT Confluence Score ( 0–100 )
- Buffer 2: Triad Mode ( 2.0 Triad 2/2 / 1.0 Pair 1/2)
- Buffer 3: Peer 1 Rolling Pearson Correlation r
- Buffer 4: Peer 2 Rolling Pearson Correlation r
- Buffer 5: Relative Strength Spread Z-Score ( RS Z )
- Buffer 6: SMT Swept Swing Invalidation Price Level
- Buffer 7: Confirm-to-Pivot Bar Offset
Important Note
SMT Divergence Correlation Pro is an analytical market-structure and intermarket correlation indicator. It does not execute trades automatically and does not guarantee future profits. Use confirmed SMT divergences as institutional confluence alongside higher-timeframe structure, key liquidity zones, and disciplined risk management.

