Skip to main content
Studies · Statistical

Rolling Percentile

rollingPercentile · Rolling q-th percentile, linearly interpolated

Drawn over priceReads one column (close here)
Hover the chart to read values · practice data: a seeded random walk with no overnight gaps

What it measures

The q-th percentile of the last N closes. At q = 90, 90% of recent closes were at or below this line.

How traders use it

  • Robust channel lines: a 90th and a 10th percentile make a band that one extreme bar cannot stretch.
  • Regime levels: is price trading in the top or bottom of its recent distribution?

Parameters

NameValueDefaultAllowedWhat it does
period20≥ 1
usual 5–100
Window length, in bars.
q900 … 100
usual 5–95
Which percentile, 0 to 100. 50 is the rolling median.