OPEN-SOURCE SCRIPT
Diupdate SessionStack Pro 24h MarketMap for ES

Session Highlighter + Key Levels — All-in-One 24h Trading Reference
This indicator consolidates everything a 24h futures trader needs into a single overlay — session context, key price levels, VWAP reference, and an overnight inventory bias estimate.
Sessions (background highlights)
Visualizes all major global trading sessions with configurable colors and transparency: Full Asia (23:00–08:00 GMT), Tokyo (00:00–06:00 GMT), HK/Singapore (01:00–09:00 GMT), Frankfurt (07:00–15:30 GMT), London (08:00–16:30 GMT), London/NY Overlap (dynamically computed — 1h in winter, 2h in summer due to DST), US AM and US PM windows (configurable 1h or 1.5h). All GMT-anchored sessions are DST-immune. US sessions use America/New_York timezone and adjust automatically twice a year.
Key Price Levels
PMH/PML — Premarket High/Low (04:00–09:30 ET), line anchored to the exact bar where the extreme was set
YH/YL — Yesterday's RTH High/Low, drawn at next session open
GH/GL — Globex High/Low (18:00–09:30 ET), anchored to the extreme bar
SH/SL — Live session High/Low, single label that moves as new extremes are set
MO — Midnight Open (00:00 ET), ICT-style daily bias reference
ORB H/L — Opening Range Breakout (configurable 5/15/30 min), with range box
VWAP (three anchors)
Globex VWAP — resets at 18:00 ET, runs full 24h cycle, primary reference
RTH VWAP — resets at 09:30 ET, visible only during regular session
Premarket VWAP — resets at 04:00 ET, visible only during premarket window
Overnight Inventory Bias Table
A real-time table estimating the directional skew of overnight participants using Globex VWAP as fair value anchor and ±1 standard deviation bands as a Value Area High/Low proxy (approximating the 70% value area concept from volume profile theory). Displays: directional bias (LONG/SHORT), value area position (IN VALUE / ABOVE VAH / BELOW VAL), estimated % of overnight range in profit, distance from Globex VWAP in points, and the ±1SD width for context. This is a heuristic approximation — it does not use tick-by-tick order flow data, but provides a statistically grounded directional reference updated on every bar.
Settings
All sessions, levels, and VWAPs are individually toggleable. Colors, transparency, line width, ORB window, US AM/PM duration, and table position are fully configurable.
Designed for: ES, NQ, MES, MNQ futures and any instrument with meaningful overnight sessions. Works on any intraday timeframe (1m–4h recommended).
This indicator consolidates everything a 24h futures trader needs into a single overlay — session context, key price levels, VWAP reference, and an overnight inventory bias estimate.
Sessions (background highlights)
Visualizes all major global trading sessions with configurable colors and transparency: Full Asia (23:00–08:00 GMT), Tokyo (00:00–06:00 GMT), HK/Singapore (01:00–09:00 GMT), Frankfurt (07:00–15:30 GMT), London (08:00–16:30 GMT), London/NY Overlap (dynamically computed — 1h in winter, 2h in summer due to DST), US AM and US PM windows (configurable 1h or 1.5h). All GMT-anchored sessions are DST-immune. US sessions use America/New_York timezone and adjust automatically twice a year.
Key Price Levels
PMH/PML — Premarket High/Low (04:00–09:30 ET), line anchored to the exact bar where the extreme was set
YH/YL — Yesterday's RTH High/Low, drawn at next session open
GH/GL — Globex High/Low (18:00–09:30 ET), anchored to the extreme bar
SH/SL — Live session High/Low, single label that moves as new extremes are set
MO — Midnight Open (00:00 ET), ICT-style daily bias reference
ORB H/L — Opening Range Breakout (configurable 5/15/30 min), with range box
VWAP (three anchors)
Globex VWAP — resets at 18:00 ET, runs full 24h cycle, primary reference
RTH VWAP — resets at 09:30 ET, visible only during regular session
Premarket VWAP — resets at 04:00 ET, visible only during premarket window
Overnight Inventory Bias Table
A real-time table estimating the directional skew of overnight participants using Globex VWAP as fair value anchor and ±1 standard deviation bands as a Value Area High/Low proxy (approximating the 70% value area concept from volume profile theory). Displays: directional bias (LONG/SHORT), value area position (IN VALUE / ABOVE VAH / BELOW VAL), estimated % of overnight range in profit, distance from Globex VWAP in points, and the ±1SD width for context. This is a heuristic approximation — it does not use tick-by-tick order flow data, but provides a statistically grounded directional reference updated on every bar.
Settings
All sessions, levels, and VWAPs are individually toggleable. Colors, transparency, line width, ORB window, US AM/PM duration, and table position are fully configurable.
Designed for: ES, NQ, MES, MNQ futures and any instrument with meaningful overnight sessions. Works on any intraday timeframe (1m–4h recommended).
Catatan Rilis
v1.1 — Bug FixesFixed an issue where Session High (SH) and Session Low (SL) lines would occasionally render as a vertical line instead of a horizontal one. This occurred when a new extreme was set on the current bar, causing the line's start and end coordinates to be identical. Lines now always have distinct x1/x2 coordinates and extend correctly to the right.
Catatan Rilis
v1.2 — Bug Fixes & ImprovementsFixed Opening Range Breakout (ORB) not triggering reliably — replaced function history operator with explicit state tracking variable
Removed ORB box border to prevent it from obscuring candle wicks — fill remains for visual context
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.