Learning objectives
- Measure signed distance from a price to a pivot interval.
- Normalize location without confusing zone width with distance.
Prerequisites: Understand sorted CPR intervals and a volatility scale known before the open.
Mechanism and interpretation
For a sorted zone[L, U] and opening pricex, define signed edge distance asx−U whenx>U, x−L whenx<L, and zero whenx lies inside. This measures separation from the nearest zone edge while retaining above/below direction. Distance to the central pivot answers a different question and is nonzero for many prices inside the zone.
Normalize the edge distance by a pre-session scale, such as an earlier average true range, to compare instruments or regimes. The scale must be positive and available before the decision. A large normalized distance describes an extended opening location relative to that map; it does not imply that price must revert. Keep zone width, center distance and edge distance as separate features.
Worked case · synthetic data
Synthetic CPR=[100,104], P=102 and earlierATR=8. Open 108 is 4 points above the upper edge, or 0.5 ATR; its center distance is 6, or 0.75 ATR. Open 102 has edge distance 0 despite being 2 points from each boundary. Open 98 has edge distance−2, or−0.25 ATR. These cases show why the distance definition changes the label.
Failure modes and context
A zero or tiny scale makes normalization unstable. An opening auction price and the first continuous trade can differ, so define which opening observation is used. A zone expanded after observing the open can artificially reduce distance. Do not interpret equal normalized distances as equal expected returns without testing comparable events.
Practice assignment
Use CPR=[200,206], P=203 and priorATR=10. Compute signed edge and center distances for opens 198,204 and 211. Normalize each byATR and identify which opening is inside the zone.
Worked answer
Edge distances are−2,0,+5, or−0.2,0,+0.5 ATR. Center distances are−5,+1,+8, or−0.5,+0.1,+0.8 ATR. Only 204 is inside. The inside observation still has a positive center distance, so a zero edge distance should not be confused with opening exactly atP.
Check your understanding
Question 1
What is edge distance for open 108 above zone[100,104]?
- 8
- 4
- 6
Reveal answer and reasoning
B. 4
Measure from the nearest upper edge 104, not the central pivot 102.
Question 2
What edge distance is assigned inside the zone?
- Zero
- Always the zone width
- Distance to the prior close
Reveal answer and reasoning
A. Zero
The piecewise definition sets inside-zone separation to zero.
Question 3
Which normalization input is valid for a pre-open feature?
- The final range of the coming session
- Tomorrow’sATR
- A positive volatility scale from earlier data
Reveal answer and reasoning
C. A positive volatility scale from earlier data
The scaling value must already be available at the decision.
