TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Bar overlap ratios and local price acceptance

Study bar overlap ratios and local price acceptance through mechanisms, a synthetic worked case, practice, and explained assessment.

Price Action Trading

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Know candle highs/lows, inside bars and range width.

Mechanism and interpretation

Overlap describes how much of two bars' price ranges is shared. For ranges[A_low, A_high] and[B_low, B_high], intersection width is max(0, min(A_high, B_high)−max(A_low, B_low)). One normalisation divides this by union length; another divides by the smaller range width. They answer different questions. Intersection-over-union measures overall similarity, while dividing by the smaller width measures how fully the smaller bar is contained. Declare the formula instead of calling both an overlap percentage.

Repeated high overlap can describe local rotation or acceptance, but it does not imply the market is directionless. A series of broad bars can overlap substantially while their centres rise. Combine overlap with a separate net-progress measure and a fixed lookback. A no-overlap event can arise from a session gap rather than an unusually directional intrabar auction, so retain session context. Zero-width ranges require a denominator policy and should not be forced into a finite ratio by arbitrary substitution.

Worked case — synthetic data

Synthetic bar A spans[100,110] and bar B[106,114]. Intersection is[106,110], width 4. Union spans[100,114], width 14, so intersection-over-union is 4/14=28.57%. The smaller bar width is 8, giving overlap coefficient 4/8=50%. The same geometry has two different legitimate percentages because the denominators differ.

Bar C spans[108,112], entirely insideB. Its intersection withB is 4 and union width 8, so intersection-over-union is 50%; the smaller-width coefficient is 100%. Calling C “fully overlapping” is correct under containment but does not mean its range equalsB's. A sequence of centres 105,110,110 also reveals that the first transition made upward progress while the second mainly compressed. The ratio alone omits that distinction.

Context and failure modes

Very large bars can make small following bars appear highly contained even when their absolute movement matters. A threshold chosen after seeing a breakout can turn ordinary overlap into a hindsight consolidation label. Preserve raw widths, chosen normalisation and event timestamps so the result can be reproduced and compared across volatility regimes.

Practice task

Compare ranges[50,56] and[54,60]. Calculate intersection, union length, intersection-over-union and smaller-width coefficient. Then state what additional information is needed to determine open-to-close direction.

Worked practice answer

Intersection is[54,56], width 2; union length is 10. Intersection-over-union is 20%, and smaller-width coefficient is 2/6=33.33%. Opens and closes are required for body direction; highs and lows alone do not provide it.

Topic assessment

Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.

1. Why do 28.57% and 50% both describe the main case?

  1. One calculation must be wrong
  2. The market changed between calculations
  3. They use different denominators
Reveal answer and explanation

C. The first compares shared width with the union; the second with the smaller bar.

2. Does high overlap rule out a trend?

  1. No
  2. Yes
  3. Only on weekly charts
Reveal answer and explanation

A. Overlapping ranges can still shift progressively in one direction.

3. What needs explicit handling for zero-width bars?

  1. Automatic double volume
  2. Division by a zero range or union width
  3. A guaranteed reversal
Reveal answer and explanation

B. Degenerate intervals require a declared numerical convention.

Primary references and scope

Original explanation and synthetic calculations. Chart thresholds are explicit research conventions, not exchange rules or proof of predictive ability.