OPEN-SOURCE SCRIPT
ICT SMT Precision Mapper [H1 & H4] - Custom Comparator

ICT SMT Precision Mapper [H1 & H4] - Custom Comparator
This indicator maps SMT divergence on H1 and H4 by connecting true wick extremes (time + price) between the previous and current higher-timeframe cycles.
Key features:
- Precision wick-to-wick SMT mapping (not candle body approximation)
- Real-time dotted lines that finalize into solid lines at HTF rollover
- Supports both Bearish SMT (high-side divergence) and Bullish SMT (low-side divergence)
- Unified alert condition: "SMT Alert (Any)"
Custom comparator mode:
- You manually choose the comparison symbol from settings:
- Input: "Comparison Symbol" (TradingView symbol format, e.g. OANDA:GBPUSD)
How to use:
1) Add this indicator to your chart.
2) Set "Comparison Symbol" to the market you want to compare against.
3) Create an alert using condition "SMT Alert (Any)".
4) Recommended alert frequency: Once Per Bar Close.
Notes:
- This script uses dynamic symbol requests and requires a valid TradingView symbol for comparison.
- If the selected symbol has no data on your current timeframe/session, results may be incomplete.
- For educational and analytical use only; not financial advice.
This indicator maps SMT divergence on H1 and H4 by connecting true wick extremes (time + price) between the previous and current higher-timeframe cycles.
Key features:
- Precision wick-to-wick SMT mapping (not candle body approximation)
- Real-time dotted lines that finalize into solid lines at HTF rollover
- Supports both Bearish SMT (high-side divergence) and Bullish SMT (low-side divergence)
- Unified alert condition: "SMT Alert (Any)"
Custom comparator mode:
- You manually choose the comparison symbol from settings:
- Input: "Comparison Symbol" (TradingView symbol format, e.g. OANDA:GBPUSD)
How to use:
1) Add this indicator to your chart.
2) Set "Comparison Symbol" to the market you want to compare against.
3) Create an alert using condition "SMT Alert (Any)".
4) Recommended alert frequency: Once Per Bar Close.
Notes:
- This script uses dynamic symbol requests and requires a valid TradingView symbol for comparison.
- If the selected symbol has no data on your current timeframe/session, results may be incomplete.
- For educational and analytical use only; not financial advice.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.