TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Order-block origin selection algorithms

Study order-block origin selection algorithms through mechanisms, a synthetic worked case, practice, and explained assessment.

Smart Money Concepts

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Complete general order blocks, displacement and zone-boundary lessons.

Mechanism and interpretation

Several candles can precede the same displacement, so an order-block label needs an origin-selection algorithm. One convention chooses the last opposite-direction body before the qualifying move. Another selects the entire contiguous base; another uses a fixed lookback's extreme. These algorithms can create different widths, detection times and revisit counts from the same prices. None demonstrates where institutional orders actually reside.

Write eligibility first: what constitutes an opposite body, whether doji bars are allowed, how far back the search may reach and whether intervening same-direction bars end the base. Then specify the selected boundaries and the event that confirms detection. If a later stronger move produces another eligible origin, retain the earlier record and apply an explicit supersession rule. Do not replace the first zone only after discovering which candle later receives the cleanest response.

Worked case — synthetic data

Synthetic pre-move sequence contains bearish candle A with range[98,103], small bullish B[99,102], and bearish C[100,102]. The next displacement closes 108 beyond a confirmed high 105. A last-bearish-candle rule selects C=[100,102], width 2. A contiguous-three-bar-base rule selects[98,103], width 5. Both become detected at the 108 close under the same break requirement. A return low 99 traverses below C's lower edge but remains within the broader base.

The two algorithms therefore generate different failure labels under intrabar distal-edge invalidation. If the researcher picks C for the initial narrow-risk illustration but switches to the broader base after price reaches 99, the reported result combines incompatible rules. A fair comparison keeps both records, uses each rule's own entry and invalidation distances, and measures outcomes over the same universe of qualifying departures, including those without revisits.

Context and failure modes

An origin can be visually plausible without satisfying the declared body or lookback condition. Searching farther back after a failure increases discretion. Group multiple zones from one departure when assessing statistical independence, while preserving their separate geometries for implementation comparisons. Zone selection should never be described as direct reconstruction of a participant's inventory.

Practice task

Pre-move candles are bearish X[50,55], bullish Y[52,56], bearish Z[53,54]. A qualifying rally follows. Derive the last-bearish range and full-three-bar-base range, then classify a return to 52.5 under each.

Worked practice answer

Last-bearish zone is[53,54], width 1; combined base is[50,56], width 6. A return to 52.5 has crossed below the narrow zone but remains inside the broad one. The difference is produced by origin selection and boundaries, not by a contradictory price record.

Topic assessment

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

1. What must be declared before choosing an origin candle?

  1. Eligibility and lookback rules
  2. The later most profitable bounce
  3. A presumed institution's name
Reveal answer and explanation

A. A deterministic selection process makes the zone reproducible.

2. Why is switching from C to the broad base after low 99 biased?

  1. The low 99 never occurred
  2. It changes the rule after observing failure
  3. Broad bases are prohibited
Reveal answer and explanation

B. The original narrow-zone hypothesis must retain its own outcome.

3. How should competing origin algorithms be compared?

  1. Using only each one's best examples
  2. By rectangle colour
  3. On the same departure population with their own execution assumptions
Reveal answer and explanation

C. Consistent populations separate algorithm differences from sample selection.

Primary references and scope

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