Learning objectives
- Construct a pivot-width classification using only past available widths.
- Separate a fixed physical width from its changing historical rank.
Prerequisites: Compute CPR width and understand a sample median.
Mechanism and interpretation
Calling a pivot range narrow requires a reference distribution. A physical width of 2 points may be unusual in one instrument or regime and ordinary in another. A rolling rule compares today's already computable width with a threshold estimated from prior completed observations. State the lookback, quantile definition, strict or inclusive boundary, and treatment of missing sessions.
The classification can change even when the current width is identical because the reference window changes. That is expected behavior of a relative rule, not necessarily a calculation error. Keep the threshold series alongside the classifications so reviewers can see whether the study is learning a changing volatility scale or exploiting future data. A threshold estimated from the full sample lets later regimes influence earlier decisions and is unavailable to the historical trader.
Worked case · synthetic data
A synthetic four-observation history contains widths 1,2,3,4. Its median is 2.5. Under a strict below-median rule, current width 2 is narrow. A later prior window 4,5,6,7 has median 5.5; the same 2-point width is also narrow but much farther below its reference. Conversely, with a prior window 0.5,1,1.5,2, its median 1.25 makes current width 2 non-narrow.
Failure modes and context
Small windows make cutoffs unstable, while long windows react slowly to regime changes. Missing widths must not become zeros. Comparing many lookbacks or percentiles creates a selection problem. Relative labels should not replace the actual width and its price or volatility normalization; two narrow categories can still have very different monetary risk.
Practice assignment
Use the prior six widths 1,1,2,3,5,8. Calculate the median and classify a current width 2.5 under strict-below and at-or-below rules. Explain whether adding the current observation to the reference window changes the stated policy.
Worked answer
The prior median is(2+3)/2=2.5. A width of 2.5 is not strictly below it, but is at or below it. Including today's width would create a different reference sample and potentially a different cutoff. The chosen policy should be specified before evaluation; use the same tie rule throughout the historical and live calculations.
Check your understanding
Question 1
May a historical threshold use future widths?
- No, if the study claims real-time availability
- Yes, if the final chart looks smoother
- Only on losing days
Reveal answer and reasoning
A. No, if the study claims real-time availability
Later observations were not available when the earlier classification would have been made.
Question 2
What is the median of 1,1,2,3,5,8?
- 3.3333
- 3
- 2.5
Reveal answer and reasoning
C. 2.5
With six sorted values, average the third and fourth observations.
Question 3
Can one physical width receive different relative labels?
- Only if prices are negative
- Yes, its reference distribution can change
- No, relative ranks are permanent
Reveal answer and reasoning
B. Yes, its reference distribution can change
A rolling benchmark changes as older observations leave and newer ones enter.
