PROTECTED SOURCE SCRIPT
Güncellendi Session based SMT [domatoth]

Session-Based SMT Divergence Indicator
This indicator identifies Smart Money Technique (SMT)
divergences between the current instrument and up to two
comparison symbols across different trading sessions or daily
timeframes.
Key Features:
- Tracks high/low divergences between correlated instruments
- Session-based analysis: London (03:00-12:00), Asia
(20:00-03:00), NY AM (09:30-12:00), NY PM (12:00-16:00) EST
- Automatically switches to daily high/low comparison on
daily/weekly/monthly timeframes
- Support for two comparison symbols simultaneously
- Visual SMT lines with symbol labels
- Option to remove broken/invalidated SMT levels
How It Works:
The indicator compares session (or daily) highs and lows
between your chart and the selected comparison instruments.
When one instrument breaks its high/low but the other
doesn't, it creates an SMT divergence - potentially signaling
a reversal or liquidity grab.
Color Coding:
- Red/Orange: Current breaks high, comparison doesn't
- Blue/Purple: Comparison breaks high, current doesn't
- Green/Lime: Current breaks low, comparison doesn't
- Aqua/Fuchsia: Comparison breaks low, current doesn't
Recommended Use:
- Compare correlated pairs (ES/NQ, EUR/GBP, etc.)
- Look for divergences at key levels
- Use lower timeframes for session-based analysis
- Switch to daily timeframe for daily SMT levels
Settings:
- Choose comparison symbols
- Enable/disable second symbol
- Toggle broken SMT removal
- Customize session times
Perfect for ICT concepts and Smart Money analysis.
This indicator identifies Smart Money Technique (SMT)
divergences between the current instrument and up to two
comparison symbols across different trading sessions or daily
timeframes.
Key Features:
- Tracks high/low divergences between correlated instruments
- Session-based analysis: London (03:00-12:00), Asia
(20:00-03:00), NY AM (09:30-12:00), NY PM (12:00-16:00) EST
- Automatically switches to daily high/low comparison on
daily/weekly/monthly timeframes
- Support for two comparison symbols simultaneously
- Visual SMT lines with symbol labels
- Option to remove broken/invalidated SMT levels
How It Works:
The indicator compares session (or daily) highs and lows
between your chart and the selected comparison instruments.
When one instrument breaks its high/low but the other
doesn't, it creates an SMT divergence - potentially signaling
a reversal or liquidity grab.
Color Coding:
- Red/Orange: Current breaks high, comparison doesn't
- Blue/Purple: Comparison breaks high, current doesn't
- Green/Lime: Current breaks low, comparison doesn't
- Aqua/Fuchsia: Comparison breaks low, current doesn't
Recommended Use:
- Compare correlated pairs (ES/NQ, EUR/GBP, etc.)
- Look for divergences at key levels
- Use lower timeframes for session-based analysis
- Switch to daily timeframe for daily SMT levels
Settings:
- Choose comparison symbols
- Enable/disable second symbol
- Toggle broken SMT removal
- Customize session times
Perfect for ICT concepts and Smart Money analysis.
Sürüm Notları
v1.1 fixed time rangesSürüm Notları
v1.2 session fixesSürüm Notları
v1.3🔧 Bug Fixes:
- Fixed duplicate break detection - Main chart highs/lows now
checked only once
- Fixed SMT line removal - Lines only deleted when price
clearly breaks through (added buffer zone)
- Removed redundant calculations - Better performance
✨ Improvements:
- More accurate SMT detection - True divergence only when one
instrument breaks, other doesn't
- Better invalidation handling - SMT properly invalidated
when both instruments break same level
- Cleaner code - Removed unnecessary duplicate checks
📊 What Changed:
- SMT lines stay longer on chart (not deleted on minor
touches)
- More reliable divergence signals
- Faster script execution
Sürüm Notları
v1.4- Session Enable/Disable Toggles - Each session can now be
individually enabled/disabled with checkboxes
- Timezone Debug Display - Shows current timezone mode
(Auto/Manual) and active timezone in top-right corner
- Unified Timezone Handling - All instruments now use NY
timezone for consistent session detection
⏰ Updated Session Times (NY Time):
- Asia: 20:00-00:00 (was 19:00-23:00)
- London: 02:00-06:00 (was 03:00-07:00)
- NY AM: 09:30-11:00 (was 08:30-10:00)
- Lunch: 12:00-13:00 (was 11:00-12:00)
- PM: 13:30-16:00 (was 12:30-15:00)
🔧 Bug Fixes:
- Fixed duplicate break detection for second symbol
- Fixed timezone mismatch when comparing futures vs forex
instruments
- Improved SMT line removal logic - lines only removed when
price clearly breaks through
- Fixed session order - Now properly ordered: Asia → London →
NY AM → Lunch → PM
✨ Improvements:
- Better SMT invalidation handling - More accurate divergence
detection
- Cleaner code structure - Removed redundant calculations
- Session tooltips added - Shows time conversion info for
each session
- Automatic timezone detection simplified - Uses NY time as
base for all instruments
📝 Notes:
- All session times are now in New York timezone for
consistency
- Automatic timezone detection enabled by default
- Sessions can be toggled on/off without affecting SMT
detection logic
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.