PulseHub
OPEN-SOURCE SCRIPT

GProf - Levels, RVOL, ATR

166
GProf - Levels, RVOL, ATR
═══════════════════════════════════════════

OVERVIEW

This indicator answers the three questions an intraday trader asks before and during every session, in one tool:

1. LOCATION — Where is price relative to the structure that matters?
2. PARTICIPATION — Who showed up today, compared to a normal day?
3. RANGE — How much movement is statistically normal, and how much has already been spent?

It combines key session levels, time-of-day Relative Volume (RVOL), and a 14-day ATR with a live Range/ATR reading, shown as clean level lines plus a compact on-chart dashboard. Built with index and commodity futures in mind (NQ, ES, YM, RTY, GC, CL and their micros), it works on any intraday symbol with volume data, and adapts its session logic automatically between futures and equities.

───────────────────────────────────────────
LAYER 1: LOCATION — SESSION LEVELS

• YH / YL — Yesterday's High and Low, RTH-only or full session day.
• PDC — Previous Day Close.
• PMH / PML — Premarket High and Low (4:00am–9:30am ET, or the full overnight session to capture the entire Globex range on futures). Live during the premarket, then frozen at the open.
• WH / WL — The current week's running High and Low, updating in real time.

Each level is a labeled horizontal line with a matching price-scale marker. Colors, width, and labels are configurable, and each group toggles independently.

WHEN "YESTERDAY" ROLLS: by default, Roll Mode is Auto — futures roll yesterday's levels at the 18:00 ET session open (the exchange's own trading-day boundary, so evening and overnight sessions reference the day that just completed), while equities and other symbols roll at the next regular-session open. A manual override is available. Session-day and week boundaries are read in exchange time, so they are correct year-round through daylight-saving changes and hold up across holiday-shortened weeks.

───────────────────────────────────────────
LAYER 2: PARTICIPATION — RVOL

Raw volume comparisons mislead: the first 30 minutes of a session always dwarf lunch hour. This RVOL is time-of-day aware. It records the cumulative session-volume profile for each of the last N sessions, then compares today's cumulative volume to the average at the same elapsed minute of the session.

A reading of 100% means participation is exactly normal for this time of day; 150% means today is running half again above normal. The dashboard colors the reading against a configurable threshold. RVOL is a regular-session metric and reads N/A outside those hours.

───────────────────────────────────────────
LAYER 3: RANGE — ATR(14) AND RANGE/ATR

The dashboard shows the daily ATR (default 14 days), calculated from completed daily bars only — stable all day, never repainting intraday.

More useful than the raw number is Range/ATR: today's range so far as a percentage of the ATR. Under 70% (green), a statistically normal amount of range remains. Between 70–100% (orange), the day is approaching its average. Over 100% (red), the day has already exceeded a normal range, so late continuation attempts are fighting a mostly-spent tape.

Optional ATR Projection Bands (off by default) draw Today's Low + ATR and Today's High − ATR as live exhaustion estimates; when they invert, the day has exceeded its average range — visible at a glance.

───────────────────────────────────────────
HOW TO USE IT

Before the open: note where price sits relative to PMH/PML, YH/YL, and PDC. Confluence between these marks the zones most likely to produce reactions.

At the open: watch RVOL. An opening drive on 130%+ participation behaves very differently from one on 60%.

During the session: use Range/ATR as context for continuation versus exhaustion. A breakout attempt at 95% of ATR deserves more skepticism than the same pattern at 40%.

This indicator draws context only. It does not generate signals, place trades, or replace your own analysis and risk management.

───────────────────────────────────────────
TECHNICAL NOTES

• Non-repainting by design: no lookahead requests, no lower-timeframe data. Levels are built from chart-bar session windows; ATR uses completed daily bars; RVOL uses only accumulated history.
• Best on standard intraday timeframes (1m, 3m, 5m, 15m, 30m). Not intended for daily or higher charts.
• RVOL needs its lookback period of visible chart history to build a full profile; readings in the first sessions after loading are based on fewer samples.
• Session times, timezone, and roll behavior are fully configurable; defaults follow US equities/futures conventions.

───────────────────────────────────────────
DISCLAIMER

This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. Past behavior of price, volume, or volatility does not guarantee future results. All trading decisions made using this tool are solely the responsibility of the user.

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 PulseWire. Read more in the Terms of Use.