OPEN-SOURCE SCRIPT
更新済 Session Highs and Lows

Shows the current and previous session highs and lows for the New York, London and Asian sessions
リリースノート
Session highs and lows for Asian, London and New York sessions, carried through to the next session.リリースノート
Session highs and lows for Asian, London and New York sessions. Limits are extended forward until they are breached by price.リリースノート
This indicator tracks and visualizes the high and low boundaries of the Asian, London, and New York trading sessions — with a unique twist: it preserves unbreached levels across sessions for strategic reference.🔍 Key Features
Session Detection (UTC-4): Automatically identifies active sessions based on local time conversion.
Dynamic High/Low Tracking: Updates session highs and lows in real-time while the session is active.
Breach Logic: Once a session high or low is breached, it’s invalidated and hidden — preserving only untouched levels.
Carry-Over Visualization: Unbreached highs/lows persist into future sessions, offering potential support/resistance zones.
Bold vs. Thin Lines: Active session levels are plotted with bold lines; persistent levels use thinner lines for clarity.
🧠 Strategic Utility
Spot potential liquidity zones and reaction levels from prior sessions.
Use carry-over levels to anticipate breakout traps or retest setups.
Combine with your existing strategy to enhance session-based confluence.
🎨 Color Coding
Asian Session: Yellow
London Session: Blue
New York Session: Red
Whether you're trading intraday volatility or studying market structure across sessions, this tool gives you a clean, modular way to track session dynamics with breach-aware logic.
リリースノート
🕒 Session Highs and Lows (Carry Over) — Timezone-Aware FixThis update resolves a critical limitation in the original session logic: hardcoded UTC-5 session boundaries that ignored the exchange's actual timezone. We've refactored the code to dynamically convert UTC-5 session times into exchange-local timestamps using timestamp("Etc/GMT+5", ...), ensuring accurate session detection across all markets.
✅ What’s Fixed:
Timezone mismatch eliminated — session boundaries now adapt to the exchange’s timezone (syminfo.timezone), making the logic portable and reliable.
Robust timestamp conversion — session times (e.g., 0930 for NY open) are converted into full timestamps anchored in UTC-5, then compared against time, which reflects the chart’s native timezone.
Cleaner logic — session state detection (is_asian, is_london, is_ny) now works seamlessly across assets and exchanges.
リリースノート
- Account for Daylight Savings Time in London and New York by setting those session times based on local time.
- Add labels to session highs and lows
リリースノート
Fixes for Daylight Savings Time in New York and Londonオープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。