Market structure compares selected local highs and lows. Specify the interval and point-selection rule before saying the market is rising. A point visible on a completed chart may have been confirmed several bars later; its plotted position and information time are different.

A higher High need not have a higher Close

The selected comparison peaks belong to candles A=(O105,H110,L104,C109) and B=(O107,H112,L106,C108). B's High is 2 higher but its Close is 1 lower. Replacing High with Close changes what you describe.

Scroll sideways to see the full diagram

Comparison of highs and closes of the same candlesTwo candles on one scale have Highs 110 and 112, Closes 109 and 108. The green high connection rises while the dashed close connection falls.Higher wick, lower closeHigh 110High 112Close 109Close 108High: 110 → 112 · risingClose: 109 → 108 · fallingSpecify which price field you compare.
Bodies and wicks satisfy the given OHLC. Connections show two different comparisons, not contradictory results of one measure.

If HH uses confirmed swing highs, do not substitute closes in a spreadsheet merely because they are easier to export. A Close-based structure needs a separate point-selection rule. Record price field, anchor and confirmation time in the journal.

Assumptions: Two fictional candles chosen as comparison anchors. Neighbouring candles are not shown, so no new pivot is confirmed by a 2/2 rule. Price units are arbitrary.

Define the point before comparing it

HH means a higher high relative to the preceding selected high; LH means a lower high. HL and LL compare lows with earlier selected lows. Compare like kinds, not a high with its neighbouring low. The first point of each kind is a reference, without a higher/lower label yet.

For this exercise, a strict high pivot at t must have High greater than the Highs at t−2,t−1,t+1,t+2. A low pivot must have Low below all four corresponding Lows. MetaTrader’s Fractals documentation describes a related five-bar pattern. Our explicit convention rejects equality and skips a candle satisfying both conditions; it is not a claim about every platform.

Recognise t only after t+2 closes and its data is known. An open right-hand bar can still invalidate the candidate. TradingView explains that later-confirmed pivots can be plotted on earlier bars. The arrow’s location does not show when a decision could first use it.

A checkable synthetic pivot sequence

These synthetic EUR/USD Bid values use one fixed interval. H6 means High at bar 6; L3 means Low at bar 3. Each row gives only the relevant pivot and four neighbours: two before, then two after. It is a set of specified comparison slices, not a complete 23-bar OHLC file or an observed trading sequence.

Compare High with High, Low with Low
PointPivot priceTwo prior neighboursTwo later neighboursKnown after bar
L31.08001.0820 / 1.08101.0815 / 1.08405
H61.09001.0840 / 1.08701.0890 / 1.08808
L91.08501.0870 / 1.08601.0865 / 1.090011
H121.09601.0890 / 1.09401.0945 / 1.093014
L151.08801.0920 / 1.09001.0890 / 1.090017
H181.09401.0910 / 1.09301.0920 / 1.089020
L211.08401.0900 / 1.08701.0850 / 1.086023

H12 exceeds all four listed neighbouring Highs but becomes known only after bar 14 closes. L15 is below its four neighbouring Lows while being above the preceding selected L9: a local low can also be a higher low. These descriptions answer different comparisons.

The specified points happen to alternate. A general algorithm need not force that order: separately compare its latest two confirmed highs and latest two confirmed lows. Label equal selected pivots equal rather than forcing HH/LH or HL/LL.

Separate point labels from structural state

Our state rule is explicit: both latest high and low pairs rise → upward; both fall → downward. Other combinations, including equality, are mixed. Without two confirmed points of each kind, the state is unclassified. This describes available observations, not the next price direction.

Use only points known by the stated close
After barLatest comparisonsState
11Lows HL; only one highInsufficient data
14Highs HH; lows HLUpward
17Highs HH; new lows HLUpward
20Highs LH; lows HLMixed
23Highs LH; lows LLDownward

H12 is 60 pips above H6, L9 is 50 above L3, and L15 is 30 above L9 with pip 0.0001. H18 is 20 below H12, but the confirmed lows still give HL after bar 20. L21 is 40 below L15 and confirms only after 23, giving LH/LL. Mixed does not automatically mean consolidation; defining a bounded range needs another rule.

Equal neighbouring highs change point selection

A separate complete hypothetical six-bar sequence, indexed from 0, has High 8,9,10,10,9,8; every Low is 7 and Open = Close = 8. The strict 2/2 rule selects neither high 10: each has an equal neighbour. Other specified tie policies produce different selections and recognition times.

Same prices, different explicit comparison rules
High ruleSelected indexesKnown after indexes
Strictly above all fourNoneNone
Not below any of four2 and 34 and 5
Strictly above left, not below right24
Not below left, strictly above right35

Accepting both candidates can add an equal high between other structural points. Decide ties and any merging policy before scanning; changing them after outcomes changes the sample. No policy is shown to be more profitable. Our original strict rule remains unchanged.

A breached reference is not a newly confirmed pivot

Assign bar 21 Close 1.0848. It is already 32 pips below the known L15 = 1.0880. That is a recorded close-based breach; it is not yet confirmation of L21, which still needs bars 22 and 23. Keep both times separately. BOS and CHoCH labels can describe different conventions; specify wick, Close, margin and reference rather than infer a compulsory reversal trade.

The support and resistance article develops level definitions. A few pips past a swing is not a universal stop buffer, and an execution trigger during a bar differs from an analytical condition waiting for Close. Structure alone does not set position size or a trade’s outcome.

A broader interval can contain an upward sequence while a shorter one has LH/LL. This need not be an error or a compulsory higher-interval trade direction. Multi-timeframe analysis addresses aggregation and information timing; the basics of technical analysis supplies related definitions. The April 2022 BIS FX survey is separate historical market context, not evidence that a pivot rule is cleaner or more reliable on one pair.

Keep ambiguous states in the journal

Reveal one bar at a time. Record the pivot bar, confirmation time, comparison with the preceding point of the same kind and current state. Retain unclassified and mixed periods as well as cases followed by unexpected prices. That tests consistency of labelling before evaluating a trading strategy.

In a separate variant, the confirmed low after L15 is 1.0885, with the latest high still LH. The new low is 5 pips higher, so HL; LH/HL is mixed. If it is at bar 21, it is usable only after 23 under the stated rule and if all confirmation conditions hold.

The diagram and quiz compare selected fictional anchors with High 110→112 and Close 109→108. The High-defined HH is valid as that comparison even while those closes fall. The diagram does not provide neighbouring bars to certify new 2/2 pivots. See the technical analysis section on ForexMechanics for related reading.