PROTECTED SOURCE SCRIPT

Sessions High/Low with Break Logic

188
Sessions High/Low with Break Logic

Description (Bullet Points)
Calculates the session high and session low for three defined trading sessions: Tokyo, London, and New York.

Draws corresponding lines and labels on the chart to visually represent each session’s high and low levels.

Automatically detects if a session high or low has been broken and updates the label text accordingly (“Break”).

Session times are configurable via input fields.

Each session uses distinct colors for high and low lines to improve visual separation.

Labels optionally display the price value alongside the session name.

The horizontal position of labels can be adjusted using an offset setting.

The time zone is handled via a UTC input to ensure correct session timing.

Includes a default session for periods outside the three main sessions (not visually displayed).

All lines and labels are reset and redrawn at the start of each new session.

Display updates also occur on the last bar of the chart to keep the latest levels visible

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.