OPEN-SOURCE SCRIPT
更新済 Session Levels - Asia, London, NY, Premarket & Prior Day

What it shows
How to use
Limitations
Drawing count is capped by max_lines_count and max_labels_count. Very long history may require reducing stored historical levels or zooming to a shorter range.
Disclaimer
For chart analysis and education only. Past or hypothetical behavior does not guarantee future results. Not financial advice.
- session highs/lows for Asia, London, premarket, and the NY session during the RTH window; midnight open; NY RTH open and session close; optional NDOG 25% / 50% / 75% vs prior RTH close.
- Prior day: completed RTH open, high, low, and close from the last RTH session, plus prior calendar day 24h high/low.
- Untouched liquidity levels: optional highlight (color/line width) until the first qualifying wick/body intersection with the level (see inputs).
- History: optional list of untouched levels from earlier days (subject to TradingView line/label limits).
How to use
- Set timezone and session strings to match your instrument (default: America/New_York).
- Enable or disable level groups and adjust colors under Levels and Colors.
- Use "Untouched liquidity" to emphasize levels that have not yet been traded through per the script rules.
- If you hit drawing limits, lower "Max untouched historical levels" or turn off historical untouched levels.
Limitations
Drawing count is capped by max_lines_count and max_labels_count. Very long history may require reducing stored historical levels or zooming to a shorter range.
Disclaimer
For chart analysis and education only. Past or hypothetical behavior does not guarantee future results. Not financial advice.
リリースノート
Overlay indicator for session liquidity: intraday highs/lows, RTH open/close, optional midnight open, prior RTH OHLC, optional 24h prior-day range, NDOG, untouched styling, and historical untouched levels.Who it’s for The default session strings and trading-day anchor are oriented toward US-hours / CME-style futures workflows (ETH day roll, NY RTH window). The same framework works for stocks, indices, FX, crypto, etc.—adjust Timezone, Sessions (Asia / London / premarket / NY / trading day), and Level colors to match your market and feed.
What you get [] Today: Session highs/lows (Asia, London, premarket, NY in your RTH window), optional midnight open (calendar midnight in your timezone), NY RTH open & close, optional NDOG (25/50/75 vs prior RTH close). [] Prior day: Completed RTH OHLC; optional prior trading-day 24h high/low (day key from your trading-day session, with calendar fallback). [] Untouched liquidity: Optional emphasis until price is traded through per the script’s rule (touch only counts on bars after the level’s formation bar). [] History: Optional untouched levels from earlier days (merged labels at the same price; subject to TradingView line/label limits).
RTH-only charts If your loaded bars never fall outside the configured NY session, the script treats the stream as RTH-only: it skips Asia/London/premarket/midnight and 24h prior H/L so you don’t duplicate levels you can’t actually form on the chart. Midnight is also hidden when it coincides with the NY RTH open on the same bar (duplicate level).
Inputs (overview) [] Sessions — Timezone, session windows, trading day for new/prior day. [] Levels — Toggle which level groups to show. [] Level colors — Per-group colors. [] General level settings — Line width, label offset, optional price in labels, line anchor depth. [] Untouched levels — Untouched styling + historical untouched options. [] Debug — Optional diagnostics (off by default).
Disclaimer For chart analysis and education only. Past or hypothetical behavior does not guarantee future results. Not financial advice.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。