LoginEnter the platform free
DOMINA › Technical analysis › The indicators › Heikin Ashi candles

Heikin Ashi candles: what they are, the formula and how to read them

InteractiveRead the Heikin Ashi candles yourselfA red HA candle on a green session, a green one with no shadow, the end of the longest run: one click on the real chart and the page tells you if you are right, with the numbers.Try it →

Heikin Ashi candles: what they are, on a real chart

Heikin Ashi candles are recalculated candles: the close is the average of the session’s four prices, the open is the midpoint of the previous Heikin Ashi body. You read them as a smoothed trend, with rows of green candles in rallies and red ones in declines. They are the calm mirror of candlestick charts: the same session, redrawn to show the direction rather than the single day. Their prices are not traded prices.

Chart type · candles rebuilt from averages · a fixed historical period
Heikin Ashi
Boeing: sessions from to · adjusted prices · Heikin Ashi candles
volumeperiod start 210.96263.93178.92260.78Jul 3, 2023Aug 16, 2023Oct 2, 2023Nov 14, 2023Dec 29, 2023
Sessions126Colour changes, regular51Colour changes, HA22Different colours38
InteractiveRead a session. Click a candle: below, the formula worked out with that day’s numbers; on the side, the real session next to its Heikin Ashi candle. “Real closes” lays the line of the prices actually traded at the close over the candles.

July 18, 2023. Real session, green: opens at $211.00, reaches $213.04 and $209.57, closes at $211.57. HA close = average of the four prices = $211.30. HA open = midpoint of $215.97 and $212.59, the previous day’s HA open and close = $214.28. HA candle: red. Red with no upper shadow: the HA high equals the HA open ($214.28): in the classic reading it is the clearest downward push. The HA open, $214.28, lies outside the session’s range ($209.57–$213.04): nothing traded at that price that day.

Real close$211.57the price traded at the close
HA close$211.30−0.13% vs the real close
HA open$214.28midpoint of yesterday’s HA candle
Colour real · HAgreen · redthe session and its HA candle

In the Heikin Ashi view the labels on the chart (period start, low, high, last value) are calculated values too, not prices.

How are Heikin Ashi candles calculated? The formula

Every Heikin Ashi candle comes from two ingredients: the session’s four prices (open, high, low, close) and the previous day’s Heikin Ashi candle. Four lines are enough.

HA close = (open + high + low + close) / 4
HA open = (yesterday’s HA open + yesterday’s HA close) / 2
HA high = the highest of high, HA open and HA close
HA low = the lowest of low, HA open and HA close

Fig. 1 · Where each part of the candle comes from

HA closeHA openbody midpointhighcloseopenlowaverage of the four pricesHA close = the averageHA open = yesterday’s midpointHA highHA lowyesterday’s HA candletoday’s real sessiontoday’s HA candle
  • The HA close is the average of the session’s four prices: the amber dot.
  • The HA open is the centre of yesterday’s HA body: the blue dot.
  • HA high and low are the extremes: of the session or of the HA body, whichever reaches further.
  • The first candle has no yesterday: it starts halfway between open and close. After twenty or so sessions that starting point no longer counts.
Boeing: five real sessions and their Heikin Ashi candles
SessionOpenHighLowCloseHA openHA closeHA colour
$217.00$217.02$212.81$213.12$216.96$214.99red
$212.50$214.23$211.74$211.87$215.97$212.59red
$211.00$213.04$209.57$211.57$214.28$211.30red
$211.12$211.87$208.24$208.60$212.79$209.96red
$208.83$215.10$208.80$213.61$211.37$211.59green

On : HA close = ($211.00 + $213.04 + $209.57 + $211.57) / 4 = $211.30; HA open = ($215.97 + $212.59) / 2 = $214.28. The session closed at $211.57: $211.30 is a calculated value.

Heikin Ashi calculator: work out one candle

four prices and yesterday’s candle: the sum updates with every digit
Open
$
High
$
Low
$
Close
$
Yesterday’s HA open
$
Yesterday’s HA close
$

It starts from the Boeing session of , the same as the example above. Change the numbers: plain arithmetic, no forecast.

HA open$214.28(yesterday’s HA open + HA close) / 2
HA high$214.28the highest of high, HA open, HA close
HA low$209.57the lowest of low, HA open, HA close
HA close$211.29(open + high + low + close) / 4
real close$211.57HA close$211.29real sessionHeikin Ashi
HA candle: red. The HA close is $211.29, the real close $211.57 (difference: −0.13%). $211.29 is a calculated value, not the price at which the session closed. The HA open, $214.28, lies outside the session’s range: nothing traded at that price that day.

Are Heikin Ashi prices real prices?

No. The HA close is an average and almost never equals the price at which the session closed; the HA open comes from yesterday’s candle and can even sit outside the day’s range. On Boeing, over 126 sessions, the HA candle has a different colour from the real session 38 times, and the HA open lies outside the session’s range 81 times. The widest gap between the two closes is on : real close $232.80, HA close $227.46 (−2.30%).

Fig. 2 · After a gap the HA candle starts where price never was

regular candlesHeikin AshigapHA open: midpoint of yesterday’s candle
  • On top, the fifth session opens much higher: a hole is left between the two candles, the gap.
  • Below, the HA open is the midpoint of yesterday’s candle: the hole disappears.
  • The lower part of that HA candle sits at levels nobody traded that day.

Fig. 3 · The lag: Heikin Ashi candles turn after price

regular candlesHeikin Ashiregular candles turn hereHA candles turn here
  • On top, the first red candle comes as soon as price turns: blue column.
  • Below, the first red HA candle comes a few sessions later, amber column: the open carries the past along.
  • It is the price of calm: like a moving average, Heikin Ashi candles smooth the noise and pay with delay.

Deeper dives: stop losses · backtesting.

How do you read Heikin Ashi candles?

the classic reading, with the first example of each shape on Boeing

Fig. 4 · A rise, a pause, a fall: how they look in Heikin Ashi

green with no lower shadowsmall body, shadows on both sidesred with no upper shadow
  • On the way up the candles are green in a row, often with no lower shadow.
  • In the pause bodies shrink and shadows appear on both sides.
  • On the way down the candles are red in a row, often with no upper shadow.
  • Heikin Ashi candles show the direction of a trend already under way, not how long it will last.

The five shapes of the classic reading, with the rules of this page: “no shadow” means a shadow of zero, to the cent; “small body” means a body within 25% of the HA range, with each shadow at least 15%.

1Green with no lower shadow

  • The HA low equals the HA open: the candle starts from its lowest point.
  • It is the shape of the clearest upward push.

Boeing, : HA open $211.63, HA close $213.13

2Green with a lower shadow

  • HA close above the open, but with a wick under the body.
  • An upward direction, with some hesitation.

Boeing, : HA open $212.43, HA close $215.50

3Small body, shadows on both sides

  • Body within 25% of the range, each shadow at least 15%.
  • Balance between buyers and sellers, like a doji on regular candles: it shows up where direction changes, but direction does not change every time.

Boeing, : HA open $211.03, HA close $210.96

4Red with an upper shadow

  • HA close below the open, with a wick above the body.
  • A downward direction, with some hesitation.

Boeing, : HA open $216.96, HA close $214.99

5Red with no upper shadow

  • The HA high equals the HA open: the candle starts from its highest point.
  • It is the shape of the clearest downward push.

Boeing, : HA open $215.97, HA close $212.59

Interactive exerciseTry it: read the Heikin Ashi candles on a real chart

Boeing, the same sessions as the chart at the top: the judge uses the rules of this page
  1. Choose what to look for, above the chart. The Regular/Heikin Ashi switch moves from one drawing to the other.
  2. Click the candle: the blue column follows the mouse and shows which one you are pointing at.
  3. Read the verdict: yes or no, with that session’s numbers; then try another task.
Click a candle here

Find a session where the Heikin Ashi candle is red but the real session is green, meaning it closed above its open. Compare the two drawings with the Regular/Heikin Ashi switch.

Heikin Ashi vs candlesticks: what is the difference?

Regular candlestick charts show each session as it went, with its four real prices. Heikin Ashi candles show the average, and tie each session to the one before. The first are for reading the day, the second for seeing the direction.

Fig. 5 · The same twenty-six sessions, drawn twice

regular candlesHeikin Ashi18 colour changes4 colour changes
  • On top, regular candles change colour often, even inside a rise.
  • Below, Heikin Ashi candles form long runs of the same colour.
  • The number at the top right counts the colour changes of each drawing.
Boeing, to : regular and Heikin Ashi candles compared
WhatRegular candlesHeikin Ashi
Colour changes in the window5122
Pricestraded: open, high, low, closecalculated: the session average and the candle before
Candlestick patterns (doji, hammer, engulfing)read herenot readable: the shapes are recalculated
Gapsvisiblegone

Deeper dives: candlestick charts · Renko charts · moving average.

Common mistakes with Heikin Ashi candles

real sessionHeikin Ashi

1Using HA prices for orders

  • The HA close is not the price at which the session closed.
  • Entries, stop losses and results are measured on real prices.

2Looking for candlestick patterns on HA candles

  • A hammer or an engulfing is read on regular candles: on Heikin Ashi the shape is recalculated and does not say the same thing.
  • One-, two- and three-candle patterns belong on the regular chart.

3Forgetting the lag

  • The HA open carries the past along: the colour change comes after price has turned.
  • It is a filter, like a moving average or Bollinger Bands: it smooths the noise and costs time.

Where to go from here

The indicators · Levels and chart shapes

The other indicators in the «Levels and chart shapes» family

Pivot points

  • The pivot is the average of the previous session's high, low and close.
  • From it come three resistances and three supports, built with the range of that session.
  • Three families side by side: classic, Fibonacci and Camarilla.

The other lessons in the guide

What is technical analysis

  • the study of price and volume to recognise the trend and the levels
  • three premises: price discounts everything, trends, history repeats
  • exercise: uptrend, downtrend or sideways on three real charts

Efficient market hypothesis

  • One chart is real, the other is the same deck shuffled.
  • The three forms of the hypothesis, from Fama to Malkiel.
  • The critics and how to measure the problem, with no verdicts.

Candlestick chart

  • the four prices of a session: body and shadows
  • green and red, long and short bodies, long shadows, the doji
  • find the candle on a real chart: the judge says yes or no with the numbers

Frequently asked questions

What are Heikin Ashi candles?

They are recalculated candles: the close is the average of the session’s four prices and the open is the midpoint of the previous Heikin Ashi candle. The chart they produce is smoother, with long runs of the same colour.

How are Heikin Ashi candles calculated?

HA close = (open + high + low + close) / 4. HA open = (HA open + HA close of the previous candle) / 2. HA high and low are the highest and lowest of the session’s extremes, the HA open and the HA close.

Are Heikin Ashi prices real prices?

No. They are calculated values: the HA close is an average and does not match the closing price, and the HA open can even sit outside the session’s range. Orders, stops and results are measured on real prices.

Are Heikin Ashi candles better than regular candlesticks?

They do different jobs. Regular candlesticks show each session as it went and let you read patterns; Heikin Ashi candles smooth the noise and show the direction, with some delay.

What does a green Heikin Ashi candle with no lower shadow mean?

In the classic reading it is the clearest upward push: the candle starts from its lowest point. Its mirror is the red candle with no upper shadow, the clearest downward push.

Method and sources

The sources of this page: the books are cited, the text is ours
Source
Dan Valcu, “Using the Heikin-Ashi Technique”, Technical Analysis of Stocks & Commodities, 2004: the article through which the technique spread among Western traders, with the formula.
Steve Nison, Japanese Candlestick Charting Techniques: the candlesticks Heikin Ashi candles are derived from.
John J. Murphy, Technical Analysis of the Financial Markets: chapter 12, Japanese candlesticks; chapter 9, moving averages and their lag.

The chart uses the daily sessions of Boeing from to in our EOD archive, adjusted for dividends and corporate actions: the proportions are true, the levels do not match the quotes read at the time. The Heikin Ashi candles are calculated with the classic formula starting 21 sessions before the window (the first candle starts halfway between open and close), on the prices as written on the page. Rules of this page: “no shadow” means a shadow of zero; “small body” means a body within 25% of the HA range, with each shadow at least 15%; colour runs are counted inside the window. The examples are found by these rules and the page checks them again every time it is built. The numbered figures are diagrams drawn to explain; their Heikin Ashi candles are calculated with the same formula. This guide explains how the tools work: it does not contain investment recommendations and promises no returns. Our method · license · report an error.

Cookie preferences