OPEN-SOURCE SCRIPT

Session Levels [odnac]

137
This indicator plots the high and low levels of the three main trading sessions—Asia, Europe, and New York—along with the previous day’s high, low, and open. Each session’s time range can be customized using a UTC offset, and the indicator automatically tracks session highs and lows as price develops.

Functions:
  • Plots session highs and lows for Asia, Europe, and New York.
  • Shows previous day’s high, low, and open as reference levels.
  • Session times are fully configurable with hour and minute precision, including UTC offset adjustment.
  • Each session level is marked with both a line and a label for clarity.
  • Color customization for each session and previous day levels.
  • Designed for intraday timeframes (1–60 minutes).


Filter Condition:
  • When the filter option is enabled, the indicator adjusts how levels are drawn:
  • A session high above the current close is displayed as a solid line with a visible label.
  • Once price closes above that high, the line becomes dotted and dimmed, and the label also becomes less emphasized.
  • Similarly, a session low below the current close is displayed as a solid line and label.
  • If price closes below that low, the line switches to dotted and dimmed, with the label adjusted accordingly.


This behavior highlights only the most relevant levels for the current market position while still keeping breached levels visible in a subdued style, making it easier to spot active breakout or liquidity zones.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน