OPEN-SOURCE SCRIPT

ICT SMT Divergence Lines - Enhanced

2 737
This indicator identifies and highlights Smart Money Technique (SMT) divergence between two user-selected symbols across any timeframe. It compares the last two completed candles of both symbols and marks potential SMT signals only when market context aligns with smart money principles.

⚡ Key Features
✅ SMT Bullish Signal

Symbol 1 forms a lower low compared to its prior candle.

Symbol 2 forms a higher low compared to its prior candle.

The previous candle on the chart was bearish (close < open).

✅ SMT Bearish Signal

Symbol 1 forms a higher high compared to its prior candle.

Symbol 2 forms a lower high compared to its prior candle.

The previous candle on the chart was bullish (close > open).

✅ Visual Representation

Draws a clean, subtle line between the two SMT candles — green for bullish SMT and red for bearish SMT — making divergence easy to spot.

Optional small triangle markers above or below the bar where SMT is detected.

Old lines are automatically removed to keep the chart uncluttered.

✅ Multi-timeframe compatible

Works on any chart timeframe.

Compares the last two completed candles in the current chart timeframe, or can be adapted for a fixed higher timeframe.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.