# NR4/NR7 Narrow-range Bars

Also known as: ID/NR4.
A Volatility concept (Regime & compression) in the LuxAlgo Library, with 1 indicator implementation.

## What are NR4/NR7 Narrow-range Bars?

An NR4 bar is a bar whose high-to-low range is the narrowest of the most recent four bars; an NR7 is the narrowest of the most recent seven. The definitions come from Toby Crabel's short-term futures research and are deliberately mechanical: no pattern judgment, just a range comparison, which makes them easy to scan for and to test. The ID/NR4 variant adds the requirement that the bar also be an [inside bar](https://www.luxalgo.com/library/concept/inside-bar/), compressing both its range and its position within the prior bar.

The premise is that markets alternate between contraction and [range expansion](https://www.luxalgo.com/library/concept/range-expansion-contraction/): an unusually narrow bar marks a coiled session that frequently precedes a larger directional bar, so the classic treatment brackets it with entry stops on both sides. Frequently is not always; narrow bars also crowd into dead, choppy tape and ahead of holidays.

The source is one of trading's famous rare books: Crabel's Day Trading with Short Term Price Patterns and Opening Range Breakout, published in 1990, withdrawn by its author, and long traded second-hand at collector prices. Its method was ahead of its era, tabulated statistics for every pattern rather than anecdotes, and its core finding was the alternation principle: contraction begets expansion often enough to build systems on, with the narrow-range flags as the contraction detectors and opening-range breakout logic as the expansion harvester. NR4 and NR7 are the surviving vocabulary of that research program.

Modern practice keeps the flags and adds guards. An absolute-range or [ATR](https://www.luxalgo.com/library/concept/atr/) floor filters the false economy of dead tape, where every bar is narrow and the flag means nothing; trend filters supply the directional lean the pattern deliberately lacks; and the Library's NR4/NR7 breakout implementation wires the classic bracket automatically. In the volatility toolkit the flags are the single-bar members of a family that scales up through multi-bar squeezes to multi-week bases: same alternation premise, different compression clocks.

## How to identify NR4 and NR7 bars

The check is mechanical and works on any timeframe, though the pattern was developed on daily bars.

1. Measure each bar's full range, high minus low. Wicks count; this is not a body comparison.
2. Compare the current bar's range with the prior three bars for NR4, or the prior six for NR7. If it is the narrowest of the set, the flag fires.
3. For ID/NR4, also require an inside bar: the high below the prior bar's high and the low above the prior bar's low.
4. Mark the narrow bar's high and low. The classic play places entry stops just beyond both sides and exits or reverses at the opposite extreme.
5. Add an absolute floor: requiring the bar's range to also sit below a fraction of ATR keeps the flag meaningful in already-dead tape, where everything is narrow and nothing is coiled.

## How traders use it

- As a breakout trigger: entry stops beyond the narrow bar's high and low, taking whichever side fires first, with the opposite side as the stop or a stop-and-reverse point.
- As a compression gauge: clusters of NR7 flags inside a base signal the tightening that setups like the [volatility contraction pattern](https://www.luxalgo.com/library/concept/volatility-contraction-pattern/) formalize over longer horizons.
- As session context: day traders often treat an NR7 daily bar as a reason to expect a livelier next session and lean on opening-range logic to trade it.
- With direction borrowed from context: the flag is neutral, so systematic versions take only the bracket side that agrees with a higher-timeframe trend filter, converting a two-sided coin flip into a one-sided continuation entry.
- Screened at scale: because the definition is pure arithmetic, NR7 scans across whole watchlists surface the day's coiled candidates, with the ID/NR4 variant as the stricter cut when the list runs long.

## Narrow-range bars vs related compression reads

- **Volatility Contraction Pattern** (https://www.luxalgo.com/library/concept/volatility-contraction-pattern/): The VCP is compression at campaign scale: successively tighter pullbacks across weeks inside a base. NR4/NR7 is compression at bar scale, one session's coil. They nest naturally, with NR7 flags appearing in a VCP's final tightening, but they answer different-horizon questions.
- **Bollinger Squeeze** (https://www.luxalgo.com/library/concept/bollinger-squeeze/): The squeeze measures compression statistically, band width at a long-lookback low, a regime condition that can persist for weeks. The NR flags are events: this specific bar is the narrowest of its set. Regime tells you the market is coiling; the bar flag nominates tonight's bracket.
- **Inside Bar** (https://www.luxalgo.com/library/concept/inside-bar/): The inside bar compresses position, held within the prior bar's range; NR bars compress size, the narrowest range of the set. ID/NR4 demands both at once, which is why it is the rarest and, in Crabel's framing, the most loaded of the family.

## FAQ

### What is the difference between NR4 and NR7?

Only the lookback. NR4 is the narrowest range of the last four bars, NR7 of the last seven, so NR7 is rarer and marks deeper compression; it is the stricter screening choice. Both are binary flags that ignore how narrow the bar is relative to normal volatility, so many traders add an absolute-range or ATR check on top.

### Do narrow-range bars predict direction?

No. NR4/NR7 flags compression only. Direction comes from whichever side of the bar breaks first, and first breaks fail often enough that the classic treatment brackets both sides rather than picking one. Some traders lean on the close's position within the bar or the higher-timeframe trend for a directional bias, but the pattern itself is neutral.

### Who is Toby Crabel?

A futures trader and fund manager whose 1990 book, Day Trading with Short Term Price Patterns and Opening Range Breakout, systematized short-term patterns with tabulated statistics decades before that was standard. He later withdrew the book, making surviving copies collector items, and went on to run a large systematic fund. NR4, NR7 and the opening-range-breakout vocabulary are the research program's public legacy.

### How do NR flags relate to squeeze indicators?

Same premise, different instruments. Squeeze tools measure compression as a regime, band width or channel relationships persisting over many bars, while NR flags mark single-bar events inside whatever regime exists. They compose: an NR7 printing inside an active squeeze is compression agreeing with itself across scales, and the bracket trade inherits the bigger coil's energy if the squeeze resolves.

### How reliable is the follow-through after an NR7?

Crabel's own tables showed meaningful but modest edges for his markets and era, and the alternation tendency has been re-confirmed loosely rather than precisely since. The honest expectations: expansion follows compression more often than chance, direction is a coin flip the pattern does not call, and dead-tape flags fail the premise entirely, which is what ATR floors exist to filter. Test on your instrument; the arithmetic makes that easy.

### What timeframe do NR patterns suit?

Daily bars are native: the research was built on daily futures ranges, where a session's compression has behavioral meaning. The arithmetic ports to any timeframe, and intraday NR flags do mark local coils, but session structure adds noise, lunchtime bars are narrow by clock, not by coiling, so intraday use wants session-aware baselines. The daily flag feeding next-session opening-range tactics remains the classic deployment.

## Implementations in the Library

- NR4 & NR7 with Breakouts (LuxAlgo): https://www.luxalgo.com/library/indicator/nr4-nr7-with-breakouts/

## Related concepts

- Range Expansion/contraction: https://www.luxalgo.com/library/concept/range-expansion-contraction/
- Choppiness Index: https://www.luxalgo.com/library/concept/choppiness-index/
- Volatility Contraction Pattern: https://www.luxalgo.com/library/concept/volatility-contraction-pattern/
- Gap-volatility Relation: https://www.luxalgo.com/library/concept/gap-volatility-relation/
- Damiani Volatmeter: https://www.luxalgo.com/library/concept/damiani-volatmeter/
- Waddah Attar Explosion: https://www.luxalgo.com/library/concept/waddah-attar-explosion/
- Volatility Switch: https://www.luxalgo.com/library/concept/volatility-switch/
- Volatility Regime Classification: https://www.luxalgo.com/library/concept/volatility-regime-classification/
- Weekend/overnight Volatility Profile: https://www.luxalgo.com/library/concept/weekend-overnight-volatility-profile/
- Event-driven Volatility: https://www.luxalgo.com/library/concept/event-driven-volatility/

---

Source: https://www.luxalgo.com/library/concept/nr4-nr7-narrow-range-bars/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/