OPEN-SOURCE SCRIPT

NOA Levels

263
snapshot

NOA Levels — Structural Levels, Volume Profiles & Gap Analytics

OVERVIEW
NOA Levels combines three institutional reference frameworks into a single
overlay: prior-period structural levels, volume-derived value zones, and a
statistical session-gap engine. It is built for traders who anchor decisions to
where price has previously transacted and how the current session opens relative
to that history.

Everything plots on intraday timeframes and reads off higher-timeframe data, so
the levels stay consistent regardless of the chart resolution you trade on.

WHAT IT PLOTS

1. Prior-Period Levels (Day / Week / Month)
Previous high, low, and midpoint for each period, drawn as horizontal
references that extend across the active period. High/low use dashed lines;
midpoints use dotted lines to keep them visually subordinate. Compact labels
(pdH/pdM/pdL, pwH/pwM/pwL, pmH/pmM/pmL) keep the chart readable.

2. Volume Profiles (Daily & Weekly)
Point of Control (POC) plus Value Area High/Low for the prior day and prior
week, computed from an intrabar volume distribution. Value Area % is
adjustable (40% for a tight zone around the POC, ~70% for the standard Market
Profile convention). Resolution controls the number of price rows used to
build each profile.

3. Session Gap Engine
On each new session, the open is measured against the prior close. Every gap
is boxed and classified into one of six behavioural profiles based purely on
where the session ultimately closes relative to the gap zone:
• GapUp & Go / Hold / Reverse
• GapDn & Go / Hold / Reverse
The on-chart label shows the gap size and the developing profile in real time;
the tooltip carries the full statistical breakdown.


GAP STATISTICS (the core differentiator)
Rather than judging gaps with arbitrary thresholds, NOA Levels builds a running
distribution from your own chart's history (lookback is adjustable). For each new
gap it reports:
• Magnitude in % and price, normalized as a z-score (σ) and percentile rank
against prior gaps — so a "big" gap is defined by this symbol's own behaviour
• A Common vs. Breakaway tag (whether the open clears the prior day's range)
• Historical Go / Hold / Reverse percentages, split by gap direction
• Live fill tracking (whether the prior close has been retested)

Magnitude is normalized by absolute gap %, which is always available — so gaps
plot and compute statistics even on freshly listed symbols where ATR has not yet
warmed up. The ATR multiple is shown as an optional reference field once enough
daily history exists.


REPAINTING
Higher-timeframe levels use confirmed prior-period values (lookahead with a
one-bar offset), so historical levels do not repaint. The developing gap profile
and fill status update intrabar by design, as they describe the session in
progress; the profile is finalized and recorded into the distribution once the
session closes.


HOW TO USE
- Treat prior highs/lows and POC/Value Area as decision zones — areas where
reaction is more likely, not automatic buy/sell signals.
- Use the gap percentile and σ to gauge whether an open is routine or unusual
for this instrument before sizing or fading it.
- Read the Go/Hold/Reverse distribution as context for the current gap's most
common historical resolution — it is descriptive, not predictive.
- Midpoints often act as intraday pivots; the gap mid frequently marks the
fill objective.


SETTINGS
Inputs are grouped by period (Day / Week / Month) and function (Levels / Volume /
Gaps), with colors, line widths, label toggles, Value Area %, profile resolution,
gap lookback, and ATR length all configurable. Session and week separators are
optional.

ALERTS
New Session, New Week, New Month, and Session Gap Detected.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.