PROTECTED SOURCE SCRIPT

Sessions High/Low with Break Logic

114
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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。