Before you begin: Understand candle anatomy, gaps and the difference between body and close-to-close direction.
Measure endpoints within each bar
Aggregate a sequence without confusing it with returns
Test persistence using a declared horizon
Mechanism and interpretation
Close location is(close−low)/(high−low) for a nonzero-range bar. It is 0 at the low and 1 at the high. A sequence of high close locations records repeated finishes toward the upper portions of their own ranges. That is different from a sequence of positive close-to-close returns: bars can gap downward and then recover toward their highs while still closing below the previous period. Keep the geometry and the return series side by side.
Define persistence as a reproducible sequence rule, such as at least three of the last four completed bars closing in their upper quarter. An average location answers a different question, because one very high reading can offset a low one. Weighting by range or volume creates yet another statistic. Begin with an unweighted rule, disclose zero-range handling and preserve all observations. A persistent closing-location state is not automatically an entry event on every qualifying bar; specify whether only the initial transition activates a signal.
Worked case — synthetic data
Synthetic three bars have(H, L, C) values(110,100,108),(109,99,108),(108,98,105). Locations are 0.8,0.9 and 0.7; average is 0.8. Only two of three exceed or equal 0.75, so an “all three in upper quarter” rule fails despite the high average. If the close before this sequence was 112, the first bar's 108 close still represents a negative close-to-close return even though it finishes 80% up its own range.
Consider a fourth bar with location 0.85. The four-bar count of upper-quarter closes is now three, so a three-of-four persistence rule qualifies at the fourth close. At the third close it had not yet met that specified four-bar condition. A later test might measure five-bar returns from the first qualification, while grouping overlapping qualifying windows to avoid counting one episode repeatedly.
Context and failure modes
Closing auctions can influence final prices, and bar aggregation changes the high-low denominator. A tiny-range bar's location can move sharply on one tick. Report range context and do not convert a location of 0.8 into an 80% probability of continuation. It measures an endpoint position, not participant agreement or future success.
Practice task
Locations over four bars are 0.95,0.60,0.80,0.75. Calculate their average and test an inclusive three-of-four upper-quarter rule. State whether the mean alone reproduces the count rule.
Worked practice answer
Average is 3.10/4=0.775. Three readings are at least 0.75, so the count rule passes. The mean does not generally reproduce that rule: different distributions can have the same average but different counts above the threshold.
Topic assessment
Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.
1. Can a high close location accompany a negative close-to-close return?
No
Only if high is below low
Yes, after a sufficiently large downward gap
Reveal answer and explanation
C. Within-bar position and previous-close return use different references.
2. Why distinguish an average from a threshold count?
They summarise different features of the sequence
They always give identical signals
Counts require no threshold
Reveal answer and explanation
A. A mean can be high even when several individual bars fail the chosen condition.
3. When does the case's three-of-four rule become available?
Before the sequence begins
At the fourth completed close
At the first high-location bar
Reveal answer and explanation
B. The full required observation window must exist.
Primary references and scope
Original explanation and synthetic calculations. Chart thresholds are explicit research conventions, not exchange rules or proof of predictive ability.
This separate synthetic case illustrates the arithmetic behind the topic. Its invented inputs are independent of the worked example above.
Close location within a bar · Low 180; high 206; vary close location. A close at 193 is halfway through the range: 50%. The calculation describes this bar only.