Skip to content
TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu
All courses
Candlestick Analysis / Lesson 12

Harami

A small real body lies inside the previous large real body.

Free lesson · Module 02 · 12/31
01 / Core concept

Core concept: Harami

A small real body lies inside the previous large real body.

How it works

Harami measures containment of bodies, so a child's wick may extend outside the parent's body without violating that definition. This is different from an inside bar, which compares full ranges. Use separate fields for body containment and range containment.

02 / Worked example

Worked example: Harami

First O=110 C=100, next O=103 C=106.

97.0101.0105.0109.0113.0Bar 1Bar 2
Harami: smaller body contained within prior body · synthetic candles, not historical prices.
Try it yourself: Must the child candle’s entire high–low range be contained in the previous high–low range for this body-based harami definition?

Explanation: No. The child’s real body must be contained in the previous real body. Its wicks may extend outside the previous candle’s high–low range; whole-range containment is a separate inside-bar condition.

03 / Risk and limitations

Limitations and common mistakes

A contraction is not proof of reversal.

Separate the observation from the trading decision. Test the rule with realistic execution and costs; a hypothetical example is not evidence of a profitable strategy.

Explore interactive trading tools
04 / Knowledge check

Which statement is accurate?

Choose an answer.

APPLIED STUDY · ORIGINAL LESSON

Learning plan and prerequisites

Before you begin: Know the difference between candle bodies and entire ranges.

  • Test nested real bodies
  • Distinguish containment from reversal
  • Evaluate compression after expansion

Mechanism and interpretation

A harami describes a small second real body inside the preceding larger body. Some definitions require opposite body colours; others allow either colour or a doji. State the convention. Body containment indicates reduced endpoint displacement, but the second candle's wicks may extend outside the first body. Harami and inside bar therefore measure different relationships. Neither one alone establishes a direction for the eventual escape from compression.

Worked case — synthetic data

Synthetic first O=100, H=102, L=88, C=90. Second O=93, H=103, L=89, C=96. The second body [93,96] lies within [90,100] and its colour is opposite, so this lesson's harami rule passes. But high 103 exceeds the first high 102; it is not an inside bar. A bullish context hypothesis after a decline still needs a defined subsequent trigger, such as a close above a selected boundary.

Context and failure modes

Do not compare only body sizes: a small body located outside the prior body is not contained. A sequence of nested bodies can persist without a decisive reversal. Tiny bodies also become sensitive to data rounding.

Practice task

With the same first candle, test second O=99, C=101. Explain why a two-point body does or does not qualify.

Worked practice answer

It fails because 101 exceeds the first body’s upper endpoint 100. Small size alone does not satisfy containment.

Topic assessment

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

1. What is the key harami relationship?

  1. The second body is nested in the first body
  2. The second volume must be zero
  3. Both entire ranges must be equal
Reveal answer and explanation

A. The body interval, not just its size, must lie within the earlier body.

2. Can a harami fail an inside-bar rule?

  1. Only if the chart is monthly
  2. Yes, if its wick exceeds the prior range
  3. No, the labels are identical
Reveal answer and explanation

B. Inside bars test high and low; harami tests open and close boundaries.

3. What must be declared when definitions differ?

  1. The expected profit before testing
  2. A fixed number of future winning trades
  3. Whether opposite body colours are required
Reveal answer and explanation

C. Declared conventions prevent changing labels after outcomes are observed.

Further reading

Original TradeViora Academy explanation and hypothetical example. See the primary-reference scope below. External resources do not endorse or independently verify this lesson.

Continue learning

Updated 26 November 2026 · Educational edition · Independent editorial review pending.

Explore market charts

Inspect actual provider-hosted market prices or load your own historical OHLCV in the Market Chart Lab. For volume-at-price and bid/ask analysis, use the profile workbench with appropriate data. These are exploration tools, not verified historical examples of this specific lesson.

Source scope

The explanations, definitions used for chart labels, synthetic cases, and exercises above are original. Exchange documentation is a reference for order mechanics; it does not validate a chart strategy or identify trader intent. Indicator documentation provides formula context where applicable.