PROTECTED SOURCE SCRIPT

Session Highs & Lows

48
Title:
Session Highs & Lows — Asia, London, New York + NY Open Line

Description:
This indicator automatically plots the session highs and lows for the three major trading sessions:

Asia (5 PM – 2 AM PT) – red rays

London (12 AM – 9 AM PT) – blue rays

Previous New York Session (6:30 AM – 1 PM PT) – brown rays

It also draws a thin dashed red line at 6:30 AM PT, marking the New York open.

The script dynamically updates each session’s range as price action unfolds, then locks it in when the session closes.
Lines extend to the right only (“rays”) so traders can easily identify liquidity zones, previous highs/lows, and intraday reaction points without cluttering the left side of the chart.

The logic uses TradingView’s session-time functions (time() windows) and resets automatically after each New York session ends, ensuring that only the current day’s structure is visible.

Unique features:

Works on any timeframe and any symbol (optimized for ES & NQ futures).

Separate colors for each session for clear visual distinction.

Session lines are “live” during the session and freeze once it closes.

Lightweight code with automatic cleanup — avoids line-count overflow.

Non-repainting and fully timezone-aware.

How to use:
Add the indicator to your chart and select your preferred timezone.
Watch how Asia and London session highs/lows guide liquidity during the New York session open (marked by the red dashed line).

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.