TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Two-period pivot relationships

Classify two CPR intervals with an exhaustive boundary policy.

Learning objectives

  • Classify two CPR intervals with an exhaustive boundary policy.
  • Separate changes in location from changes in width.

Prerequisites: Work with sorted closed intervals and CPR definitions.

Mechanism and interpretation

Compare a new interval [a, b] with an earlier interval [c, d]. An explicit classifier avoids descriptive labels that overlap. First handle equality. Then classify disjoint-above if a>d, disjoint-below if b<c, contained if a≥c and b≤d, enclosing if a≤c and b≥d. Remaining cases overlap with either an upward or downward shift. Record touching boundaries separately if the intended study distinguishes a shared point from a positive-width overlap.

The order of tests matters: equal intervals satisfy both containment inequalities. A location shift describes transformed prior prices; it is not independent confirmation from a second data source. Width and location should be recorded separately because a narrower interval can shift higher or lower. A reproducible label makes later analysis possible without treating chart appearance as a prediction.

Worked case · synthetic data

Earlier CPR is [100,104]. New [103,107] overlaps with higher edges; the shared interval is [103,104] with width 1. New [105,109] is disjoint-above. New [101,103] is contained. New [98,106] encloses the earlier range. New [104,108] touches at 104, so a classifier that explicitly records touching must assign that label before calling it ordinary overlap.

Failure modes and context

Floating-point rounding can turn a touch into a tiny overlap. Compare prices at a documented precision or tolerance. Do not relabel a relationship after seeing whether the day trended. A gap between ranges does not mean price never traded there; ranges are summaries of earlier sessions, not continuous transaction histories.

Practice assignment

Against earlier [200,206], classify [201,205], [198,208], [206,210] and [200,206]. Use equality first and a separate touching label. For each, distinguish width change from location change rather than reporting only a bullish or bearish label.

Worked answer

[201,205] is contained and narrower; [198,208] encloses and is wider. [206,210] touches above, is narrower and has a higher midpoint. [200,206] is identical. No classification supplies a trade direction. The touch at 206 has zero overlap width, unlike a range sharing a nonzero interval.

Check your understanding

Question 1

Why test equality before containment?

  1. Equal intervals meet both containment inequalities
  2. Equality always implies a breakout
  3. Containment requires future prices
Reveal answer and reasoning

A. Equal intervals meet both containment inequalities

Ordering removes ambiguity in a deterministic classifier.

Question 2

Earlier [100,104], new [105,109]: which relationship?

  1. Contained
  2. Overlapping
  3. Disjoint-above
Reveal answer and reasoning

C. Disjoint-above

The new lower edge 105 exceeds the prior upper edge 104.

Question 3

Does a higher CPR provide independent evidence beyond its price inputs?

  1. Yes; it measures trader identity
  2. No; it is derived from those prices
  3. Yes; it directly measures orders
Reveal answer and reasoning

B. No; it is derived from those prices

A transformed price feature shares information with the prices that generated it.

Sources and further reading

The explanations, operational rules, numerical cases and questions on this page are original TradeViora Academy educational material. Source documents support definitions or conventions; they do not establish the profitability of an illustrated rule.

Third-party rights remain with their owners. TradeViora Academy is not affiliated with these organizations. Examples are hypothetical and exclude real orders. Source review: 26 November 2026.

Continue learning

Open related learning tools · Practice library · Learning downloads