OPEN-SOURCE SCRIPT
Actualizado 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.
Notas de prensa
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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.