OPEN-SOURCE SCRIPT
GxT Suite

GxT SMT Divergence & Liquidity Suite
A multi-concept indicator built around Smart Money Technique (SMT) divergence and liquidity-based market structure. It compares your chart symbol against a correlated asset you choose, and layers on the core tools used to confirm reversals and continuations: swing structure, key liquidity levels, fair value gaps, premium/discount positioning, displacement, and precision divergence signals.
What it plots:
SMT Divergence (▲/▼ labels) — Flags when your chart makes a new swing high/low that the comparison asset fails to confirm (a classic sign of smart money divergence between correlated markets, e.g. ES vs NQ, or EURUSD vs GBPUSD).
PSP (Precision Swing Point) — Diamond markers on candles where your asset and the comparison asset close in opposite directions, highlighting single-candle inefficiency/divergence.
Fair Value Gaps (FVG) — Auto-detects 3-candle imbalances, draws them as shaded zones, and automatically removes them once price fully mitigates the gap.
IRL / ERL (Range Liquidity) — Plots the most recent swing high (External Range Liquidity / target) and swing low (Internal Range Liquidity / reversal point) as dotted reference lines.
Premium / Discount Zones — Shades the upper (premium) and lower (discount) halves of the current range around a 50% equilibrium line, helping gauge where price sits relative to fair value.
Displacement Candles — Highlights candles with unusually large range (ATR-based), typically marking aggressive institutional moves that precede or confirm structure shifts.
Inputs:
Comparison symbol (for SMT/PSP calculations)
Swing/pivot length and SMT sync window
Toggle visibility for each component (SMT labels, swings, PSP, FVG, range levels, premium/discount, displacement)
Custom colors for FVG and premium/discount zones
Alerts included for:
Bullish/bearish SMT divergence
Bullish/bearish PSP
New bullish/bearish FVG formation
Best used for: Confirming reversals or continuations at key liquidity levels by cross-checking structure between two correlated instruments, in the spirit of ICT-style SMT divergence and multi-timeframe liquidity trading frameworks.
A multi-concept indicator built around Smart Money Technique (SMT) divergence and liquidity-based market structure. It compares your chart symbol against a correlated asset you choose, and layers on the core tools used to confirm reversals and continuations: swing structure, key liquidity levels, fair value gaps, premium/discount positioning, displacement, and precision divergence signals.
What it plots:
SMT Divergence (▲/▼ labels) — Flags when your chart makes a new swing high/low that the comparison asset fails to confirm (a classic sign of smart money divergence between correlated markets, e.g. ES vs NQ, or EURUSD vs GBPUSD).
PSP (Precision Swing Point) — Diamond markers on candles where your asset and the comparison asset close in opposite directions, highlighting single-candle inefficiency/divergence.
Fair Value Gaps (FVG) — Auto-detects 3-candle imbalances, draws them as shaded zones, and automatically removes them once price fully mitigates the gap.
IRL / ERL (Range Liquidity) — Plots the most recent swing high (External Range Liquidity / target) and swing low (Internal Range Liquidity / reversal point) as dotted reference lines.
Premium / Discount Zones — Shades the upper (premium) and lower (discount) halves of the current range around a 50% equilibrium line, helping gauge where price sits relative to fair value.
Displacement Candles — Highlights candles with unusually large range (ATR-based), typically marking aggressive institutional moves that precede or confirm structure shifts.
Inputs:
Comparison symbol (for SMT/PSP calculations)
Swing/pivot length and SMT sync window
Toggle visibility for each component (SMT labels, swings, PSP, FVG, range levels, premium/discount, displacement)
Custom colors for FVG and premium/discount zones
Alerts included for:
Bullish/bearish SMT divergence
Bullish/bearish PSP
New bullish/bearish FVG formation
Best used for: Confirming reversals or continuations at key liquidity levels by cross-checking structure between two correlated instruments, in the spirit of ICT-style SMT divergence and multi-timeframe liquidity trading frameworks.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。