SMT Divergence Correlation Pro
Strictly non-repainting 3-asset Intermarket Triad SMT divergence and rolling Pearson/Spearman correlation analytics studio with normalized Peer Ghost Curve, 5-TF MTF radar, causal forward statistics, and 8 EA buffers.
Key features
- 100% causal, zero-repainting confirmed-swing SMT engine: every swing locks permanently on confirmation-bar close (pivot2 + RightBars), verified with bit-exact truncated-history causality unit tests.
- 3-asset Intermarket Triad confirmation (TRIAD 2/2): compares your chart symbol against two correlated peers simultaneously (positive or inverse polarity) and upgrades dual-confirmed signals in gold.
- Runtime broker suffix and cross-asset alias auto-resolution across FX Majors, US/EU Indices, Precious Metals, Crypto, and Energy, skipping expiring futures contracts in favor of continuous feeds.
- Rolling log-return Pearson r, outlier-resistant Spearman rho, fast-vs-slow Regime Drift (dr), Relative Strength Spread Z-Score (RS Z), and Correlation Integrity Gate (SYNCED / WEAK / DECOUPLED).
- Normalized Peer 1 Ghost Curve (auto-inverted for inverse peers) and London/NY AM Kill Zone shading rendered on a zero-bloat 2-canvas studio with Dark and Light themes and 100%-200% DPI scaling.
- 4-tab movable and collapsible panel (LIVE, 5-TF MTF Radar, Confirmed LOG Tape, and causal forward STATS ledger), once-per-bar filtered alerts, one-click CSV export, and 8 non-repainting iCustom EA buffers.
Video
Demo and walk-through of SMT Divergence Correlation Pro.
Full description
The complete feature description, as published on the MQL5 Market.
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
LeftBarsbefore andRightBarsfully closed candles after; live forming bar0is 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
PivotTolBarswindow (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.,
EURUSDvsGBPUSD,USTECvsUS500,XAUUSDvsXAGUSD) and inversely correlated peers (e.g.,EURUSDvsUSDCHF/ spotDXY), 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 Spearmanrho: 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, orDECOUPLEDand 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
CCanvasbitmaps—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.0Rhit rates, average MFE vs MAE, Triad vs Pair comparison, and Kill Zone vs Off-Session breakdown) measured strictly from confirmation-bar close.
- LIVE: Dual-peer correlation KPI cards (
- 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
iCustomBuffers for EA Automation:- Buffer 0: Confirmed SMT Direction (
+1.0Bullish /-1.0Bearish /0.0None) - Buffer 1: SMT Confluence Score (
0–100) - Buffer 2: Triad Mode (
2.0Triad 2/2 /1.0Pair 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
- Buffer 0: Confirmed SMT Direction (
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.
Quick start
From purchase to a running indicator in a few minutes. Details in the install guide.
- Get the indicator on the MQL5 Market page: buy, rent, download the free demo, or install it from the Market tab in MetaTrader 5.
- It appears in the Navigator under Indicators › Market. Drag it onto any chart.
- Adjust the inputs (colours, symbols, timeframes, alerts). For phone alerts, enter your MetaQuotes ID under Tools › Options › Notifications.
- Save the chart as a template to keep your setup on other charts.
Signals and statistics describe past behaviour on historical data and are not a promise of future results. Trading involves risk. See the risk disclaimer.
More indicators
ICT Market Structure Pro
ICT Market Structure Pro is a Smart Money Concepts / ICT trading tool designed to automatically draw the most important structural and liquidity elements directly on the chart.
Volume Profile OrderFlow Suite
Volume Profile OrderFlow Suite puts volume profiles, VWAP and tick order flow on one MetaTrader 5 chart, with one panel.
Harmonic Pattern Scanner PRZ Stats
Harmonic patterns with an honest track record.
Chart Pattern Scanner Breakout Stats
All classic chart patterns, with a track record.






