OPEN-SOURCE SCRIPT

Session Range Map [ATC] v3.1

506
Session Range Map [ATC] is an intraday reference-level overlay that combines prior-day structure, pre-market structure, and opening-range structure into one organized chart view.

The goal of the script is simple: keep the most commonly watched session-based levels visible in a clean format so traders can quickly see where price is trading relative to important references throughout the day.

What this script plots

• Prior High
• Prior Low
• Pre-Market High
• Pre-Market Low
• Opening Range High
• Opening Range Low

The opening range can be configured to 5, 15, or 30 minutes.

Visual structure

• Prior High is drawn as a solid red line
• Prior Low is drawn as a solid green line
• Pre-Market High and Pre-Market Low are drawn as dashed white lines
• ORB High and ORB Low are drawn as blue lines
• ORB lines are thinner while the opening range is building and become thicker once the opening range is locked

HUD

The script includes an on-chart HUD that displays:

• Prior High
• Prior Low
• Pre-Market High
• Pre-Market Low
• ORB High
• ORB Low
• ORB Status
• ORB Range

For each level, the HUD also shows the live distance from price in ticks. This helps reduce manual chart estimation and makes it easier to judge whether price is trading directly into a nearby level or still has room before reaching it.

How to use it

This script is intended as a session-structure and chart-context tool rather than a standalone signal generator.

A practical workflow:

1. Start with the prior-day and pre-market levels

These levels provide an initial framework for likely reaction areas, acceptance zones, and rejection points before the regular session develops further.

2. Let the opening range form

As the market opens, the ORB High and ORB Low build automatically. Once the selected ORB window is complete, the range locks and remains on the chart.

3. Watch how price behaves around key levels

Price interaction with prior-day, pre-market, and ORB levels can help frame intraday structure and location.

4. Pay attention to level clustering

When multiple session levels are close together, that area can become a more important decision zone.

5. Use the HUD to judge proximity

The live tick-distance readout can help distinguish between price trading in open space and price trading close to an important level.

ORB behavior

The opening range starts at the regular-session open and builds for the selected 5-minute, 15-minute, or 30-minute window. After that window completes, the ORB locks.

The HUD reports whether the ORB is:

• Building
• Inside Range
• Breakout Up
• Breakout Down

Alerts included

• Close through Prior High
• Close through Prior Low
• Close through Pre-Market High
• Close through Pre-Market Low
• ORB Locked
• ORB Breakout Up
• ORB Breakout Down

Inputs

Main settings include:

• Regular Session
• Pre-Market Session
• Timezone
• Level visibility toggles
• Neutral band in ticks
• Label offset
• ORB visibility
• ORB window selection
• HUD position
• HUD theme
• Color settings

Best fit

This script is intended for intraday charts and is especially suited to liquid stocks, ETFs, and futures where prior-day, pre-market, and opening-range levels are commonly used as reference points.

Notes

• Session times and timezone can be adjusted in the settings
• The script is a chart-context tool and does not place trades or manage risk automatically
• It is intended to help organize session structure on the chart and improve level awareness during the trading day

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.