APPLIED STUDY · ORIGINAL LESSON
Learning plan and prerequisites
Before you begin: Understand local pivots, look-ahead windows and price-distance measurements.
- Compute a fixed-window prominence score
- Separate local height from confirmation timing
- Apply a filter without extending its window after the fact
Mechanism and interpretation
A local maximum can be higher than neighbouring observations yet barely stand above its surroundings. Prominence filters add a measure of separation. This lesson defines a simple original local score, not a universal topographic or platform formula. For a candidate high, take a fixed number of observations on each side. Require the candidate to be strictly higher than every observation in that combined window. Calculate the lowest price on each side, then define prominence as the smaller of candidate minus left minimum and candidate minus right minimum.
Using the smaller side requires the peak to stand above both surroundings. The fixed right window makes the score unavailable until its final observation arrives. Do not extend that window later to find a deeper trough and retroactively improve the candidate's score. Define a minimum score and, if desired, a separate normalisation by a previously available volatility scale. A height filter and an alternation rule are distinct: two qualifying highs may still need a deterministic method for constructing an alternating swing sequence.
Worked case — synthetic data
Synthetic prices in a two-observation window are 100,107,110,108,104. The candidate 110 is strictly above all four neighbours. Left minimum is 100 and right minimum 104. The two distances are 10 and 6, so prominence is 6. Under a minimum prominence of 7, this local maximum is rejected from the filtered map even though it remains a valid raw local high.
A second window is 105,111,115,112,106. Candidate 115 has distances 10 and 9, giving prominence 9 and passing the 7 threshold. If the first window later extends to a price 90, that later price is outside its fixed two-observation right window. Replacing 104 with 90 would change the specification after observing the outcome. The score measures local separation under the declared window; it does not measure eventual reversal size or the profitability of selling the peak.
Context and failure modes
Price-unit thresholds are not comparable across assets with different price scales. A relative or volatility-normalised score may help comparison but introduces its own timing and denominator choices. Missing observations change what a window of two bars represents in elapsed time. Equal highs fail this lesson's strict-maximum test; a tie-retaining alternative must specify which timestamp survives. Filtering away small pivots can simplify a chart while concealing genuine short-term movement.
Practice task
For prices 80,84,90,87,83, use the middle 90 as a candidate with two observations on each side. Compute prominence and apply a minimum 8 threshold. Explain when the score becomes available.
Worked practice answer
Left minimum 80 gives distance 10; right minimum 83 gives 7. Prominence is 7, so the candidate fails the minimum 8 filter. The result becomes available only after 83, the second right-hand observation, is complete. It cannot be assigned to an actionable decision at the 90 observation itself.