Studies · Statistical
Rolling Maximum
rollingMax · Rolling maximum over the last period bars
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 highest close of the last N bars.
How traders use it
- Breakout signals: a close at a new N-bar high.
- Trailing stops for a short position.
- Measuring drawdown: how far price is below its recent peak.
Parameters
| Name | Value | Default | Allowed | What it does |
|---|---|---|---|---|
| period | 20 | ≥ 1 usual 5–100 | Window length, in bars. |