OPEN-SOURCE SCRIPT

Trding Session Levels + Pre-Market H/L

190
A clean, visual mapping tool for intraday session structure.

Marks pre-market, regular (RTH), and after-hours session boundaries
with vertical dashed dividers, then plots the pre-market High and
Low as horizontal reference lines that extend through the regular
session. Also draws an opening-range High/Low (first N minutes of
RTH · default 30 min) and yesterday's close as reference lines.

FEATURES
- Vertical dashed dividers at pre-market open, RTH open, RTH close,
and after-hours close (each independently toggleable)
- Pre-market High and Low lines · captured during pre-market,
frozen at RTH open, held through RTH close
- Opening-range High/Low · configurable window (1-120 minutes)
- Yesterday's close reference line
- Configurable timezone (America/New_York default · 6 zones supported)
- Full brand palette · matches the rest of the Trding.ai script family

HOW TO USE
1. Set your timezone (default America/New_York for US equities)
2. Toggle which session dividers and reference lines you want visible
3. Adjust the opening-range window if 30 min isn't your rhythm

Pairs naturally with any VWAP, ATR-based risk planner, or entry
system. Educational only · not financial advice · does not generate
buy/sell signals.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.