OPEN-SOURCE SCRIPT

1 Candle SMT Divergence (Nephew_Sam_)

1 929
📊 1 Candle SMT Divergence Detector

3-Way Smart Money Theory (SMT) Divergence Scanner for Multi-Symbol Analysis

This indicator identifies 1-candle SMT divergences by comparing one primary symbol against up to 2 correlation symbols across multiple timeframes simultaneously. Perfect for detecting institutional smart money moves and market inefficiencies.

🎯 Key Features:
  • 3-Way Comparison: Compare 1 "From" symbol vs 2 "To" symbols (configurable)
  • 5 Symbol Pairs: Pre-configure up to 5 different symbol combinations
  • Multi-Timeframe: Scan 5 timeframes simultaneously (Chart, 1H, 4H, Daily, Weekly)
  • Smart Filtering: Only displays timeframes equal to or higher than your chart
  • Real-Time Detection: Compares current vs previous candle highs/lows
  • Visual Alerts: Clean table display with color-coded divergence status
  • Line Drawing: Optional trend lines connecting divergence points
  • Replay Compatible: Works with TradingView's replay mode


📈 How It Works:
Detects when one symbol makes a higher high while correlated symbols make lower highs (and vice versa for lows). This creates SMT divergence signals that often precede significant market moves.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.