Statistics

Rolling Maximum & Minimum

The rolling maximum is the highest value over a recent stretch of bars; the rolling minimum is the lowest. "Volume at its 250-bar maximum" simply means today's volume is the highest it's been in the last 250 bars. They're the most direct way to ask "is this the most extreme reading lately?" — and in HIE there's one honest detail about price highs and lows that's worth understanding. This page explains what rolling max and min are, how HIE computes them, and where a subtle routing choice keeps one concept to one computation.

Key takeaway

The rolling maximum is the highest value over a trailing window; the rolling minimum is the lowest. They answer "is this the most extreme reading lately?" for any feature. In HIE, MAX and MIN run on non-price features like volume, RSI, and ATR. Price highs and lows are handled by HIE's dedicated level machinery instead — a deliberate choice so that "the 250-bar high" always means one thing, computed one way, whatever words you use.

Published
Jul 1, 2026
Last reviewed
Jul 1, 2026
Research through
July 2026
Reading time
6 min
Difficulty
intro
Markets
General
Author
Dhaval Barot, MPM Markets
Publisher
MPM Markets
Version
v1.0

The rolling maximum is the highest value over a recent stretch of bars; the rolling minimum is the lowest. "Volume at its 250-bar maximum" simply means today's volume is the highest it's been in the last 250 bars. They're the most direct way to ask "is this the most extreme reading lately?" — and in HIE there's one honest detail about price highs and lows that's worth understanding. This page explains what rolling max and min are, how HIE computes them, and where a subtle routing choice keeps one concept to one computation.

In 30 Seconds

  • Rolling maximum — the highest value over the last N bars; rolling minimum — the lowest.
  • The simplest "recent extreme" — is this reading the highest/lowest it's been lately?
  • Great for non-price features — volume, RSI, or ATR at a trailing high or low.
  • Price highs/lows are special — "at its 250-bar high" routes to HIE's level machinery, not to MAX, on purpose.
  • HIE discloses exactly how it's computed — the window and method, printed every time.

Definition

The rolling maximum over a window of N bars is simply the largest value in that window; the rolling minimum is the smallest. As each new bar arrives, the window moves forward, so the rolling max and min update over time — hence "rolling."

"Rolling maximum = the highest value in the last N bars. Rolling minimum = the lowest."

They're the most direct way to express "an extreme relative to recent history." "Volume at its 250-bar maximum" is true when today's volume is the highest reading across the last 250 bars. There's no averaging or ranking involved — just the single highest or lowest value in the window.

Why It Matters

Extremes matter because they mark unusual conditions cleanly and unambiguously. A rolling maximum in volume flags the single busiest bar in recent history; a rolling minimum in ATR flags the calmest. Unlike an average (which blends everything) or a percentile (which ranks), a rolling max or min isolates the one most extreme reading — which is exactly what you want when the *extreme itself* is the condition you're studying.

This is most useful on non-price features — volume, RSI, ATR — where "at its recent maximum" or "at its recent minimum" is a natural, precise way to define an unusual state. "Volume at a 250-bar high" is a clean, reproducible condition; so is "ATR at a 250-bar low" (an unusually calm market).

To ground it with no math: picture volume over the last 250 bars. Most bars sit in an ordinary range, but today's is higher than every one of them. That's a rolling maximum — today is, by this measure, the busiest bar in nearly a year of history. It's a simple, honest way to define "exceptionally high" without choosing an arbitrary threshold.

How HIE Computes It

HIE computes rolling maximum and minimum as live functions, and every answer prints the window it used. The computation is exactly what it sounds like — the highest (or lowest) value in a strictly-trailing window, using nothing from after the current bar (no look-ahead).

In HIE's disclosure, a rolling-maximum condition on a non-price feature appears in this form:

VOLUME > MAX(VOLUME, window=250, method=rolling maximum, strictly-trailing, v1)

So "NQ volume at its 250-bar max" resolves to exactly that. Rolling minimum works identically with `MIN(...)`.

The important nuance: price highs and lows

Here's a deliberate honesty choice worth understanding. When you ask about a price extreme — "GC at its 250-bar high," "highest in 250 bars" — HIE does not run MAX on the price. Instead it routes your question to the engine's dedicated rolling-high/low level machinery — the same machinery that has always powered "previous day high," "20-session high," and similar level questions, which uses the true HIGH and LOW arrays (wicks included), not just closing values.

Why does this matter? Because a price "high" should mean the same thing no matter which words you use to ask for it — whether you say "250-bar high," "highest in 250 bars," or "at its rolling maximum." Rather than have two slightly different computations behind similar-sounding questions, HIE's validation confirmed that the rolling maximum of the HIGH series matches the dedicated rolling-high level computation for every window tested — and then routed all of them to the single level computation.

"One concept, one computation — whichever words reach it."

So a question like "GC at its 250-bar high" resolves to the near-the-250-bar-high level filter, not a MAX on closing price. The result is that price highs and lows are always consistent, however you phrase the question — and the "what ran" line discloses which computation handled it.

Each feature carries a disclosed default window from HIE's registry (100 bars for price and RSI, 20 for volume and ATR); you can specify your own, and the window used is always printed.

Try These HIE Questions

Each of these runs in HIE today and returns a certified answer:

  • "NQ volume at its 250-bar max" — resolves to `VOLUME > MAX(VOLUME, window=250, method=rolling maximum, strictly-trailing, v1)`.
  • "GC at its 250-bar high" — resolves to the "near the 250-bar high" *level* filter (routed to the rolling-high machinery, not MAX — as described above).

*(Real answers generated on 16 July 2026, research through that date; counts can change after a future data refresh.)*

Rolling max and min work naturally on volume, RSI, and ATR; for price highs and lows, your question is handled by HIE's level machinery so that every phrasing of "the high" means the same thing. Alongside max and min, HIE also computes the mean, median, and standard deviation over a trailing window — the center and spread to go with the extremes.

Common Mistakes

"A new high means price will keep rising" / "a new low means it will keep falling."
No. A rolling maximum or minimum describes a current extreme relative to recent history — it says nothing about what happens next. Whether new highs tend to continue or reverse is exactly the kind of question you'd *research* with HIE, not assume.
"'At its 250-bar high' runs the MAX function on price."
Not quite — and this is the honest nuance. Price highs and lows route to HIE's dedicated level machinery (using true highs and lows), not to MAX on closing price. It's a deliberate choice so "the high" is always one consistent computation. The "what ran" line shows you which ran.
"Rolling max is the same as a high percentile."
No. A rolling maximum is the single highest value in the window; a high percentile (say the 99th) is a *rank* that many readings could approach. The max is one specific extreme; a percentile is a position in the ordering. They're related but distinct.
"There's one true 250-bar high."
The window matters: a 250-bar high and a 100-bar high are different values, both correct for their window. HIE discloses the window used every time.

Limitations

A rolling maximum or minimum is, by design, driven by a *single* value — the one most extreme reading in the window. That makes it clean but fragile: it tells you the extreme was reached, not how typical or sustained that condition is. One freak bar can set a rolling maximum that the rest of the window comes nowhere near.

Like every statistic here, it depends on its window and sample, and it describes the past window only. A rolling maximum tells you today matched or exceeded a recent extreme — it does not tell you whether that extreme means anything for what follows. That, again, is a question to research rather than assume.

How This Fits Into MPM

Rolling maximum and minimum are HIE's aggregation functions for extremes — the simplest way to define "at a recent high or low" for a feature, with a deliberate routing choice that keeps price highs and lows consistent.

You'll encounter them in:

  • HIE (Historical Intelligence Engine), where MAX and MIN run on non-price features, and price highs/lows route to the dedicated level machinery — one concept, one computation, disclosed in the "what ran" line.
  • Research Papers, where "at a recent extreme" is expressed as a disclosed rolling max/min or level condition rather than a vague description.
  • Intelligence Circle — a member-only research environment containing advanced market research, historical investigations, and trading strategies developed using the MPM research framework.

MPM's broader stance is that similar-sounding questions should never quietly run different computations — which is why "the 250-bar high," however you phrase it, resolves to one consistent answer, and HIE tells you which computation produced it.

Frequently asked questions

The highest value over the last N bars, updated as each new bar arrives. "Volume at its 250-bar maximum" means today's volume is the highest it's been in 250 bars. The rolling minimum is the lowest.

For price, no — it routes to HIE's dedicated level machinery (using true highs and lows), not MAX on closing price. This is deliberate, so that "the high" always means one consistent thing however you phrase it. For non-price features like volume, MAX runs directly. The "what ran" line shows which.

A rolling maximum is the single highest value in the window. A high percentile is a rank — a position in the ordering that many readings can sit near. The max is one specific extreme; the percentile is where a value ranks.

No. A rolling max or min marks a recent extreme; it says nothing about direction next. Whether extremes tend to continue or reverse is a question to research with HIE, not an assumption.

As the highest (or lowest) value in a disclosed, strictly-trailing window, using nothing from after the current bar. On non-price features it runs as MAX/MIN; for price highs and lows it routes to the level machinery. The window is always printed.

Supporting evidence

Research, methodology and datasets supporting this page.

Where you'll encounter this

Continue your research journey

Statistics
Mean (Average)

The mean is the plain average — add up a set of numbers and divide by how many there are. It's the single most familiar statistic in the world, and in markets it's the backbone of the "moving average": the average price over the last N bars, recalculated as each new bar arrives. This page explains what the mean is, why "compared to its own average" is such a useful question, how HIE computes it, and the mistakes people make reading it.

Statistics
Median

The median is the middle value — line your numbers up from smallest to largest, and the median is the one in the middle. It answers "what's normal?" better than the average often can, because it isn't thrown off by a few unusually big or small values. It just reports the middle of the pack. This page explains what the median is, why it's often more honest than the mean, how HIE computes it, and the mistakes people make reading it.

Statistics
Percentile

Is today's trading volume high? A percentile answers that in plain terms: it tells you what share of recent readings were lower than today's. If volume is in the 95th percentile, today was higher than 95% of recent sessions — genuinely elevated. If it's in the 40th percentile, it was fairly ordinary. This page explains what a percentile is, why it's often more honest than an average, how HIE computes it, and the mistakes people make reading it.

Statistics
Standard Deviation

Standard deviation measures how spread out a set of numbers is — how far, on average, readings tend to sit from the middle. When it's small, the values stay close together (a calm, steady market). When it's large, they're all over the place (a volatile, jumpy market). It's one of the most widely used measures of "how spread out" anything is — and it's the building block a z-score is made from. This page explains what standard deviation is, why it matters, how HIE computes it, and the mistakes people make reading it.

Market Structure
Support and Resistance in Trading

Support and resistance are price areas where the market has reacted again and again in the past — support below, where falling prices have tended to slow or stop, and resistance above, where rising prices have tended to stall. This page explains what they are, why they form, the mistakes people make with them, and how MPM measures what actually happens around them.

Citations

  1. MPM Markets (2026). Rolling Maximum & Minimum. MPM Learning Center.Suggested citation: MPM Markets (2026). Rolling Maximum & Minimum. MPM Learning Center. mpmmarkets.com/glossary/rolling-maximum-minimum

Suggested citation

Dhaval Barot, MPM Markets (2026). Rolling Maximum & Minimum. MPM Markets Retrieved from https://mpmmarkets.com/glossary/rolling-maximum-minimum

Reviewed Jul 1, 2026 · Research current through July 2026 · v1.0