INVITE-ONLY SCRIPT

Universal Session Ranges [Pascal ⧋]

43
General Overview

Split your trading day into 4 custom sessions and auto-plot each session’s High/Low, EQ (50%), and fixed Average Session Range (ASR±).
Built for fast intraday reads with optional bar coloring, vertical session markers, lookback control, and smart alerts. Optimized for 1–60 minute charts across futures, FX, crypto, and stocks.

What it shows

Up to 4 Sessions (name + time window): e.g., Globex, Premarket, NY, PM. Works in any timezone you choose.

Session Levels

High / Low lines (optional labels)

EQ (50%) midpoint

ASR± (Average Session Range): Upper/Lower levels fixed once at session open, derived from the average of the last N completed session ranges (default 30).

Developing View: Clean H/L/EQ/ASR rendering for the current session with labels and optional slim ASR boxes.

Vertical Markers: Start/end lines at each session transition.

Bar Colors: Per-session bullish/bearish coloring to quickly see regime shifts.

Alerts: Session start, any session level “tap” (mitigation), and single-fire ASR tap per session.

Key Inputs

Timezone Settings

Custom Timezone: Use exchange default or pick from common zones (NY, London, Tokyo, etc.).

Session Times

Enable/disable each of the 4 sessions, set name and time window (e.g., 18:00–00:00, 00:00–08:30, 08:30–12:00, 12:00–18:00).

Only Show Sessions of the Current Day? toggle plus Historical Day Amount (lookback 0–30).

Display

Label Type: Price Only / Session Only / Both / None

H/L Lines: style + width

EQ Line: style (separate from H/L)

Extend Levels: optionally project unfinished levels

Hide on Mitigation: auto-remove once tapped (H/L/EQ only)

Average Range (ASR)

Sessions to Average: default 30 (1–50)

ASR Lines & Labels: style + width, label toggle

ASR Boxes: slim zones around ASR± (per-session color)

Verticals & Bars

Start/End Times: optional verticals with style/color

Bar Colors: per-session bull/bear; body override option

Alerts

Session Start

Session Level Mitigation (H/L/EQ/ASR±)

ASR Tap (once per session)

How ASR works

At each session open, the script computes the mean of the last N completed session ranges (High–Low). It then fixes ASR+ = open + (avg/2) and ASR− = open – (avg/2) for the entire session. You can show thin boxes around these levels for quick visual taps.

Tips

Start with ASR period = 30; tighten for more reactive markets, widen for slower ones.

Use Both (Price + Session) labels while learning; switch to minimal labels once levels are familiar.

If you only want “today,” set lookback to 0 and enable Only Show Sessions of the Current Day.

Requirements & Notes

Designed for intraday: will only render between 1m and 60m timeframes.

Some symbols/exchanges may require setting Custom Timezone for perfect alignment.

For equities, adjust session windows to match your venue’s pre/regular/post hours.

Disclaimer: For educational purposes only. This is not financial advice.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.