TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Bar aggregation and pattern instability

Reconstruct higher-timeframe OHLC from ordered lower-timeframe bars.

Learning objectives

  • Reconstruct higher-timeframe OHLC from ordered lower-timeframe bars.
  • Explain why pattern labels can disappear under a different aggregation boundary.

Prerequisites: Read open, high, low and close and preserve chronological ordering.

Mechanism and interpretation

A higher-timeframe bar takes its open from the first included observation, high as the maximum, low as the minimum and close from the last. Its body and wicks are not averages of the lower bars. Aggregating changes which internal reversals remain visible. A sequence that contains a bearish reversal on a small timeframe can become one bullish higher-timeframe candle.

The start boundary matters as much as the duration. Five-minute bars beginning at 09:15 and 09:17 group different observations. Specify timezone, session alignment and whether empty intervals are inserted. A higher-timeframe signal is available only when its included interval is complete. Using the final aggregated high or close before that boundary leaks later observations into an earlier decision.

Worked case · synthetic data

Two synthetic bars are O100, H106, L99, C105 and O105, H107, L101, C102. Their aggregate is O100, H107, L99, C102. The first lower bar has a 5-point bullish body and the second a 3-point bearish body, but the combined body is a 2-point rise. Averaging their highs would produce 106.5, which is not the actual maximum 107.

Failure modes and context

A coarse candle loses intrabar order and can hide a stop-before-target sequence. Adjustments and missing lower bars must be reconciled before aggregation. Pattern stability across timeframes is an empirical question, not a requirement that every chart tell the same story. Testing many alignments and selecting the most attractive adds research-selection risk.

Practice assignment

Aggregate three bars:O50, H54, L49, C53; O53, H55, L51, C52; O52, H56, L50, C55. Calculate OHLC, body size and full range. At the end of bar 2, which eventual aggregate values are still unknown?

Worked answer

Aggregate O50, H56, L49, C55; body 5 and range 7. After bar 2, the eventual high 56 and final close 55 are not yet known; the eventual low also could still be revised downward by bar 3. The first open is fixed. A developing aggregate can be calculated, but it must remain distinct from the final three-bar result.

Check your understanding

Question 1

How is an aggregate high calculated?

  1. Maximum of included highs
  2. Average of highs
  3. Last bar high only
Reveal answer and reasoning

A. Maximum of included highs

The high records the largest observed price in the complete interval.

Question 2

What is the practice final close?

  1. 52
  2. 53.3333
  3. 55
Reveal answer and reasoning

C. 55

Use the close of the last included bar, not an average.

Question 3

Can final aggregate OHLC be used before interval completion?

  1. Only for profitable signals
  2. No, the unfinished components are not yet known
  3. Yes, if the chart later displays them
Reveal answer and reasoning

B. No, the unfinished components are not yet known

Higher-timeframe final values include observations that occur later in the interval.

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