# Harami

Also known as: harami cross.
A Chart & Candlestick Patterns concept (Candlestick catalog) in the LuxAlgo Library, with 1 indicator implementation.

## What is a Harami?

A harami is a two-candle candlestick pattern in which the second candle's real body sits entirely inside the first candle's real body: a wide-range candle followed by a small one that fails to extend the move. The name is Japanese for pregnant, after the shape of a large body carrying a smaller one. After a decline, a large bearish body holding a small inside body is a bullish harami; after an advance, the mirror is a bearish harami. When the second candle is a [doji](https://www.luxalgo.com/library/concept/doji/), the pattern is a harami cross, conventionally the stronger hesitation signal.

The pattern arrived with the rest of the Japanese candlestick canon, which Steve Nison's work introduced to Western readers in the early 1990s. In that tradition the harami is filed among the hesitation signals rather than the strong reversals: the market that just committed to a wide-range move suddenly produces a candle whose entire body fits inside the previous one, participation shrinking exactly where follow-through was expected.

The harami is defined on real bodies, which distinguishes it from the [inside bar](https://www.luxalgo.com/library/concept/inside-bar/), defined on the full high-to-low range. It is also the mirror image of the [engulfing pattern](https://www.luxalgo.com/library/concept/bullish-bearish-engulfing/): engulfing is expansion against the prior candle, harami is contraction after it. A harami marks a loss of momentum, not a completed reversal, so most treatments wait for a later candle to break the small body's range before acting.

Grading the pattern is mostly grading the second candle. The smaller its body and the deeper it sits inside the first candle's body, the cleaner the contraction reads, with the harami cross as the limit case; a second candle closing near the first one's extreme instead is barely a pause. Location does the rest of the work: a harami at a tested level after an extended leg is a candidate turn, while the same shape mid-range is routine noise that scanners flag by the dozen.

## How to identify a harami on a chart

The bullish case after a decline is described; invert for the bearish case after an advance.

1. Require a directional leg into the pattern: without a preceding move, containment has nothing to reverse.
2. Find a wide-bodied candle in the leg's direction, ideally wider than recent bars, as the first candle.
3. Check containment on bodies: the second candle's open-to-close body must sit entirely within the first candle's body; wicks may protrude.
4. Grade the contraction: the smaller the second body and the nearer the pattern sits to a meaningful level, the stronger the hesitation read; a doji second candle upgrades it to a harami cross.
5. Wait for resolution: a following candle closing beyond the pattern's range in the reversal direction is the conventional trigger, and a close beyond the opposite side voids the read.
6. Manage expectations by context: haramis inside established ranges or against strong momentum resolve as continuation often enough that most traders demand the confirmation step.

## How traders use it

- As an early reversal warning after an extended move, acted on only when a following candle closes beyond the harami's range in the reversal direction.
- As a de-risking cue for existing positions: a harami or harami cross after a long run is a common prompt to tighten stops or take partial profits rather than to reverse outright.
- As part of pattern-scanning logic, where the body-inside-body definition is easy to compute and is then filtered by trend context and location before being treated as a signal.
- As a compression flag: a harami whose second candle is also a full [inside bar](https://www.luxalgo.com/library/concept/inside-bar/) marks two definitions of contraction agreeing, and the subsequent break of that bar's range is traded with inside-bar mechanics.
- As the opening act of larger turns: a bullish harami whose next candle closes strongly higher completes a three-candle sequence closely related to the [morning star](https://www.luxalgo.com/library/concept/morning-star/), which is why the two patterns often mark the same lows.

## Harami vs neighboring candle patterns

- **Engulfing Bar** (https://www.luxalgo.com/library/concept/engulfing-bar/): The engulfing pattern is the harami reversed in roles: the second candle swallows the first instead of hiding inside it. Engulfing shows aggression against the prior move; harami shows the prior move's own aggression failing to continue.
- **Inside Bar** (https://www.luxalgo.com/library/concept/inside-bar/): The inside bar demands full range containment, wicks included; the harami only contains bodies. Every body-contained inside bar is a harami, but many haramis poke wicks outside and would fail the inside-bar test.
- **Doji** (https://www.luxalgo.com/library/concept/doji/): A doji is one candle's statement that open and close finished nearly equal. The harami needs the two-candle context, a wide body first, and when its second candle is a doji the two vocabularies meet in the harami cross.

## FAQ

### What is the difference between a harami and an inside bar?

Containment is measured differently. A harami requires the second candle's real body (open to close) to sit inside the first candle's real body; the wicks may poke outside. An inside bar requires the entire range, high to low, to sit inside the prior bar's range. Every inside bar whose body is also contained qualifies as a harami, but many haramis are not inside bars.

### Is a harami bullish or bearish?

It depends on what it follows. A small body inside a large bearish candle after a decline is a bullish harami; a small body inside a large bullish candle after an advance is a bearish harami. In both cases the pattern only signals that momentum stalled. Most traders wait for a following candle to break the pattern's range before reading it as a reversal.

### What does a harami cross mean?

It is the harami whose second candle is a doji: the move's follow-through collapsed all the way to indecision, open and close finishing nearly equal inside the prior body. Candlestick convention grades it stronger than an ordinary harami because the contraction is total. The same rules still apply: it flags hesitation, and a confirming candle decides whether hesitation becomes reversal.

### How reliable is the harami pattern?

Weak as a standalone trigger, useful as a located warning. Body-inside-body prints constantly on every chart, and pattern studies consistently find raw candlestick signals near coin-flip without context filters. Reliability improves when the harami appears after an extended leg, at a meaningful level, and is confirmed by the next candle, which is how most practitioners actually deploy it.

### What confirms a harami?

The conventional trigger is a candle closing beyond the pattern's range in the reversal direction: above the first candle's body high for a bullish harami, below its body low for a bearish one. Stricter rule sets require the close to clear the full two-candle range. A close through the opposite side instead resolves the hesitation as continuation and cancels the pattern.

### How does a harami relate to the morning star?

They describe neighboring stages of the same turn. A bullish harami is a wide bear candle plus a small contained candle; if the third candle then closes strongly into the first one's body, the three together match the morning star's logic, with the star pattern additionally preferring a gap or clear separation around the middle candle. A confirmed harami frequently is a morning star by another counting.

## Implementations in the Library

- Harami (LuxAlgo): https://www.luxalgo.com/library/indicator/harami/

## Related concepts

- Hammer: https://www.luxalgo.com/library/concept/hammer/
- Bullish/bearish Engulfing: https://www.luxalgo.com/library/concept/bullish-bearish-engulfing/
- Shooting Star: https://www.luxalgo.com/library/concept/shooting-star/
- Doji: https://www.luxalgo.com/library/concept/doji/
- Gravestone Doji: https://www.luxalgo.com/library/concept/gravestone-doji/
- Dragonfly Doji: https://www.luxalgo.com/library/concept/dragonfly-doji/
- Spinning Top: https://www.luxalgo.com/library/concept/spinning-top/
- Marubozu: https://www.luxalgo.com/library/concept/marubozu/
- Hanging Man: https://www.luxalgo.com/library/concept/hanging-man/
- Inverted Hammer: https://www.luxalgo.com/library/concept/inverted-hammer/

---

Source: https://www.luxalgo.com/library/concept/harami/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/