Skip to main content
All posts

What is Heikin Ashi? Definition, Formula, and Example

Heikin Ashi is a Japanese candlestick variant that averages OHLC values across the current and prior bar to smooth price action and visualize trend direction more clearly than standard candles.

Definition

Heikin Ashi (Japanese for "average bar") is a modified candlestick chart that smooths price action by averaging open, high, low, and close values from the current and prior bar. The result is a chart where strong trends appear as long chains of same-color candles with no opposing wicks, while consolidation appears as small bodies with wicks on both sides. Heikin Ashi candles are derived values — they are not tradeable prices and should never be used to compute fills, stops, or P&L.

How Heikin Ashi Is Calculated

Each bar uses four formulas:

  • HA Close = (Open + High + Low + Close) / 4
  • HA Open = (Prior HA Open + Prior HA Close) / 2
  • HA High = max(High, HA Open, HA Close)
  • HA Low = min(Low, HA Open, HA Close)

The first bar of a series uses the standard open as the HA open since no prior HA values exist. Note that HA Open and HA Close use prior-bar information, so each candle encodes two bars of price history — this is the source of the smoothing effect and the lag.

Worked Example

AAPL on 2026-05-06:

  • Standard OHLC: Open $187.20, High $189.50, Low $186.80, Close $188.90
  • Prior session HA Open: $186.40, Prior HA Close: $187.80

Calculations:

  • HA Close = (187.20 + 189.50 + 186.80 + 188.90) / 4 = $188.10
  • HA Open = (186.40 + 187.80) / 2 = $187.10
  • HA High = max(189.50, 187.10, 188.10) = $189.50
  • HA Low = min(186.80, 187.10, 188.10) = $186.80

The HA candle is green (close > open), with a body from $187.10 to $188.10, an upper wick to $189.50, and a lower wick to $186.80. The standard candle's body was $187.20 → $188.90 — the HA version compresses the body and pulls the open down to reflect the prior day's close, encoding momentum continuity.

When Traders Use Heikin Ashi

  • Trend identification: A run of 5+ green HA candles with no lower wicks signals a strong, persistent uptrend. The corresponding pattern in red signals a strong downtrend. This visual filter cuts noise that distracts traders on standard charts.
  • Chop filtering: Small HA bodies with wicks on both sides flag consolidation — useful as a trade-or-fade decision aid before entering breakout setups.
  • Reducing intraday whipsaw: 5-minute and 15-minute HA charts smooth scalping noise and pair well with momentum confirmation from the MACD or moving averages.
  • Trend-following systems: A simple rule like "exit when HA color flips" produces fewer signals than a standard candle close-based exit, reducing trade count and slippage.

Limitations and Common Misconceptions

  • HA prices are not real: HA Open and HA Close are computed values. Never use HA close as a stop trigger, fill price, or P&L input. Real-world execution uses the underlying OHLC.
  • Built-in lag: The averaging adds 1–2 bars of lag relative to standard candles. The "no lower wick" pattern persists past the actual reversal — late exits cost performance.
  • No-wick patterns can mislead: An aggressive trend can produce HA bars with only upper wicks even after the underlying price has begun to roll over. Confirm with average true range or volume.
  • Position sizing still uses real OHLC: Stop placement, R-multiple sizing, and ATR-based exits all rely on standard candles, not HA values.
  • Not a substitute for volume analysis: HA encodes price only. Pair with VWAP or on-balance volume for confirmation.

Institutional-grade tools, browser-based.

Get every ticker in this post on a real terminal, scanner, charts, filings, insider trades, and 800K+ economic series in one tab. Free tier, no credit card.

Try Tapeboard free → 14-day Pro trial · no card