KB / signal
NR7 flag (narrowest range in 7 days)
Last verified
Auto-generated. This article is rebuilt from
app/signals/config/signal_definitions.jsonbyscripts/build_signals_kb.py. Edit the registry entry and re-run the script — do not edit this file directly.
NR7 flag (narrowest range in 7 days)
What it is
NR7 flag (narrowest range in 7 days) — registry key screener_nr7.
Per-ticker NR7 pattern flag (0 or 1). An NR7 occurs when today’s high-low range is the narrowest of the last 7 days — a volatility-compression signal that often precedes an expansion. Stored in screener_features_daily. Feeds archetype scorers (A4 coiling).
Source
Source module: screener
Data source: computed
Derived metric — produced inside the platform (app/sources/screener.py or equivalent) rather than fetched as a raw upstream value. See the How it's computed section below for the formula.
How it’s computed
1 if (today_high - today_low) < min(high - low for each of the prior 6 days), else 0. NULL when fewer than 7 rows or high/low data is missing.
Where it surfaces
- API field:
screener.features.nr7onGET /api/v1/signals/latest
Health-score / alignment role
Data carrier — no implication, no health-score contribution.
Persisted for downstream consumers (sparklines, base-rate matcher, calibration substrate) but does not classify into BULLISH / NEUTRAL / BEARISH and does not contribute to the 0-100 health score.
Release cadence
- Publishes:
daily