OPEN-SOURCE SCRIPT
SMT Divergence Multi-TF

# Smart Money Technique (SMT) — Multi-Timeframe, Multi-Asset Divergence Tracker
**Map every SMT divergence across timeframes and correlated assets — without losing your chart to clutter.**
Smart Money Technique (SMT) divergences are one of the cleanest tools in the ICT toolkit: when two correlated assets fail to confirm the same swing, the divergence reveals that liquidity is being engineered on one side of the move. This indicator detects SMT divergences across up to three comparison assets simultaneously, across eight timeframes, and renders them with smart label handling that keeps the chart readable even when divergences stack.
## Features
**Multi-asset comparison** — track up to 3 comparison assets at once, each independently toggleable. Defaults to MNQ/MES/MYM but accepts any correlated pair (e-minis, micros, equity index ETFs, sector or FX correlations).
**Eight timeframes** — 1m, 3m, 5m, 15m, 30m, 1h, 4h, and Daily, each toggleable independently. Higher timeframes render with thicker dashed lines for instant TF identification at a glance.
**Wick-to-wick line rendering** — divergence lines anchor precisely at the swing wicks, not approximations. Uses bar-time anchoring so lines stay accurate across all timeframes without drifting.
**Smart label collision handling** — when multiple SMTs stack at the same swing point (e.g. 5m + 15m + 30m confluence), labels are automatically offset vertically using ATR-scaled spacing. No overlapping text, no garbled stacks. Smallest timeframe sits closest to the wick; higher timeframes layer outward as visual confluence indicators.
**Clean ticker labels** — strips exchange prefixes and contract suffixes automatically, so `CME_MINI:MNQ1!` displays as just `MNQ`. Each label shows asset and timeframe (e.g. `MNQ · 15m`).
**Configurable colors and styles** — every comparison asset has its own line color. Bullish and bearish SMTs can share a color or split independently for additional visual distinction.
**Per-asset, per-timeframe alerts** — bullish and bearish alert conditions for every combination, so you can route signals by setup quality rather than getting pinged on every minor swing.
**Non-repainting** — uses confirmed pivots and lookahead-off security calls. What prints in real time is what stays.
## Built For
ICT, Quarterly Theory, and Wyckoff traders who want SMT confluence visualized across timeframes and assets simultaneously. Particularly valuable when scanning for high-conviction setups where a single swing point shows divergence across multiple correlated indices and timeframes — the kind of confluence that doesn't survive on charts littered with overlapping text and misaligned lines.
## Settings
- Up to 3 configurable comparison assets (symbol, color, enable per asset)
- 8 independent timeframe toggles
- Pivot strength and cross-asset matching tolerance
- Label stacking: ATR multiplier, max stack height, time tolerance
- Line management: per-TF line limits and style customization
- Ticker cleanup toggle for clean displayed names
**Map every SMT divergence across timeframes and correlated assets — without losing your chart to clutter.**
Smart Money Technique (SMT) divergences are one of the cleanest tools in the ICT toolkit: when two correlated assets fail to confirm the same swing, the divergence reveals that liquidity is being engineered on one side of the move. This indicator detects SMT divergences across up to three comparison assets simultaneously, across eight timeframes, and renders them with smart label handling that keeps the chart readable even when divergences stack.
## Features
**Multi-asset comparison** — track up to 3 comparison assets at once, each independently toggleable. Defaults to MNQ/MES/MYM but accepts any correlated pair (e-minis, micros, equity index ETFs, sector or FX correlations).
**Eight timeframes** — 1m, 3m, 5m, 15m, 30m, 1h, 4h, and Daily, each toggleable independently. Higher timeframes render with thicker dashed lines for instant TF identification at a glance.
**Wick-to-wick line rendering** — divergence lines anchor precisely at the swing wicks, not approximations. Uses bar-time anchoring so lines stay accurate across all timeframes without drifting.
**Smart label collision handling** — when multiple SMTs stack at the same swing point (e.g. 5m + 15m + 30m confluence), labels are automatically offset vertically using ATR-scaled spacing. No overlapping text, no garbled stacks. Smallest timeframe sits closest to the wick; higher timeframes layer outward as visual confluence indicators.
**Clean ticker labels** — strips exchange prefixes and contract suffixes automatically, so `CME_MINI:MNQ1!` displays as just `MNQ`. Each label shows asset and timeframe (e.g. `MNQ · 15m`).
**Configurable colors and styles** — every comparison asset has its own line color. Bullish and bearish SMTs can share a color or split independently for additional visual distinction.
**Per-asset, per-timeframe alerts** — bullish and bearish alert conditions for every combination, so you can route signals by setup quality rather than getting pinged on every minor swing.
**Non-repainting** — uses confirmed pivots and lookahead-off security calls. What prints in real time is what stays.
## Built For
ICT, Quarterly Theory, and Wyckoff traders who want SMT confluence visualized across timeframes and assets simultaneously. Particularly valuable when scanning for high-conviction setups where a single swing point shows divergence across multiple correlated indices and timeframes — the kind of confluence that doesn't survive on charts littered with overlapping text and misaligned lines.
## Settings
- Up to 3 configurable comparison assets (symbol, color, enable per asset)
- 8 independent timeframe toggles
- Pivot strength and cross-asset matching tolerance
- Label stacking: ATR multiplier, max stack height, time tolerance
- Line management: per-TF line limits and style customization
- Ticker cleanup toggle for clean displayed names
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.