Key Takeaways
Direct answer: Heikin-Ashi candles are constructed by replacing each period's raw open and close with averaged values: HA-Close is the average of the current period's open, high, low, and close, and HA-Open is the average of the prior period's HA-Open and HA-Close. That averaging smooths and lags the price series, producing visually cleaner trend runs at the cost of no longer plotting real, tradeable OHLC prices.
- HA-Close = (Open + High + Low + Close) / 4, using the current period's raw OHLC.
- HA-Open = (previous HA-Open + previous HA-Close) / 2 — this is what carries the smoothing forward from candle to candle.
- HA-High = the maximum of the current period's raw High, HA-Open, and HA-Close.
- HA-Low = the minimum of the current period's raw Low, HA-Open, and HA-Close.
- None of the four Heikin-Ashi values is a real traded price — they are all derived averages, and the HA-Close in particular is never a level the market actually printed.
How are Heikin-Ashi candles constructed?
Heikin-Ashi candles are built from a four-part formula applied every period, using both that period's raw OHLC data and the previous Heikin-Ashi candle's values. Unlike a standard candlestick — which plots the four raw prices the market actually produced — every Heikin-Ashi value is an average, and two of the four carry information forward from every prior candle in the series.
The formula
| Component | Formula |
|---|---|
| HA-Close | (Open + High + Low + Close) / 4, using the current period's raw OHLC |
| HA-Open | (previous HA-Open + previous HA-Close) / 2 |
| HA-High | max(current period's raw High, HA-Open, HA-Close) |
| HA-Low | min(current period's raw Low, HA-Open, HA-Close) |
HA-Close averages all four of the current period's raw prices into a single smoothed value — it moves less erratically than the raw close alone because a single wick-driven high or low can't dominate it the way it can dominate a raw close. HA-Open is where the lag comes from: it's the midpoint of the previous Heikin-Ashi candle's open and close, not the current period's actual opening print. That means every HA-Open carries a piece of every candle before it, smoothing the series but delaying it relative to the raw price. For the very first candle in a series, where no previous HA-Open exists, the standard convention is to set HA-Open equal to the average of that first period's own raw open and close.
Common mistake
The common mistake is treating the Heikin-Ashi close as if it were the actual closing price for that period. It isn't. HA-Close blends the period's open, high, low, and close into one averaged number, and HA-Open blends in the entire history of prior candles through the recursive formula above. A trader who places a real limit order or calculates a real profit/loss using a Heikin-Ashi level is referencing a number the market never actually traded at.
Worked Example: Three Sequential Heikin-Ashi Candles
Illustrative numbers — not live market data.
Start with three periods of raw, hypothetical OHLC data, then apply the formula period by period. Because HA-Open depends on the previous Heikin-Ashi candle, each row's calculation depends on the row before it.
| Period | Open | High | Low | Close |
|---|---|---|---|---|
| 1 | 100.00 | 108.00 | 98.00 | 105.00 |
| 2 | 105.00 | 112.00 | 104.00 | 110.00 |
| 3 | 110.00 | 111.00 | 103.00 | 104.00 |
Period 1 is the first candle in the series, so HA-Open uses the standard first-candle convention: the average of that period's own raw open and close. HA-Open = (100.00 + 105.00) / 2 = 102.50. HA-Close = (100.00 + 108.00 + 98.00 + 105.00) / 4 = 411.00 / 4 = 102.75. HA-High = max(108.00, 102.50, 102.75) = 108.00. HA-Low = min(98.00, 102.50, 102.75) = 98.00.
Period 2 now uses period 1's Heikin-Ashi values as inputs. HA-Open = (102.50 + 102.75) / 2 = 205.25 / 2 = 102.625. HA-Close = (105.00 + 112.00 + 104.00 + 110.00) / 4 = 431.00 / 4 = 107.75. HA-High = max(112.00, 102.625, 107.75) = 112.00. HA-Low = min(104.00, 102.625, 107.75) = 102.625.
Period 3 repeats the same recursive step using period 2's values. HA-Open = (102.625 + 107.75) / 2 = 210.375 / 2 = 105.1875. HA-Close = (110.00 + 111.00 + 103.00 + 104.00) / 4 = 428.00 / 4 = 107.00. HA-High = max(111.00, 105.1875, 107.00) = 111.00. HA-Low = min(103.00, 105.1875, 107.00) = 103.00.
| Period | HA-Open | HA-High | HA-Low | HA-Close |
|---|---|---|---|---|
| 1 | 102.50 | 108.00 | 98.00 | 102.75 |
| 2 | 102.625 | 112.00 | 102.625 | 107.75 |
| 3 | 105.1875 | 111.00 | 103.00 | 107.00 |
Notice period 3's raw close (104.00) actually fell from period 2's raw close (110.00) — the raw price series turned down. But period 3's HA-Close (107.00) is still well above period 2's HA-Open (102.625), and period 3's HA-Open (105.1875) sits between the two prior HA-Close values rather than jumping straight to the new, weaker raw close. This is the smoothing effect in action: a single down period doesn't immediately flip the Heikin-Ashi candle bearish the way it would on a raw candlestick chart, because the formula is still averaging in the stronger prior data.
Common mistake
The common mistake in a worked example like this is forgetting that HA-Open for period 2 and beyond never touches that period's own raw open at all — it is calculated entirely from the previous Heikin-Ashi candle. Confusing "period 2's raw open of 105.00" with "period 2's HA-Open of 102.625" is an easy arithmetic slip and a meaningful one, since it changes both HA-High and HA-Low.
Why Do Heikin-Ashi Charts Show Long Runs of Same-Colored Candles?
Because HA-Open is the midpoint of the prior candle's open and close, it sits inside the prior candle's body rather than gapping away from it the way a raw open sometimes does. During a sustained trend this keeps each new HA-Open close to the previous HA-Close, which produces small or entirely absent wicks and a long visual run of same-colored bodies. That clean appearance is the averaging formula suppressing the small counter-trend fluctuations a raw candlestick chart would still display individually — it makes a trend easier to see, not a different trend than the one the raw chart shows.
Is the Heikin-Ashi close a real, tradeable price?
No. The Heikin-Ashi close is an average of four values from the current period plus, indirectly through HA-Open, values carried forward from every prior period. It is not a price any exchange ever printed and not a level you could have gotten filled at. Placing a real order based on a Heikin-Ashi level is a common and costly mistake — always reference the underlying raw OHLC chart for actual entry, exit, and stop prices.
Misconceptions Versus Reality
| Misconception | Reality |
|---|---|
| The Heikin-Ashi close is the period's actual closing price | HA-Close is an average of the current period's open, high, low, and close — never a price the market actually printed for that period |
| You can place a stop-loss or limit order at a Heikin-Ashi level | Heikin-Ashi values are derived averages with no corresponding real order book price; real orders must reference the raw OHLC chart |
| A single reversal candle on a Heikin-Ashi chart means the raw price also just reversed sharply | Because HA-Open and HA-Close both smooth in prior data, Heikin-Ashi lags the raw price and can understate how fast the underlying move actually was, as the worked example's period 3 shows |
| Heikin-Ashi and standard candlesticks are two ways of showing the same prices | Standard candlesticks plot raw, tradeable OHLC prices; Heikin-Ashi plots a smoothed transformation of those prices — they are visually similar but numerically different series |
Risks, Limitations, and Exceptions
- None of the four Heikin-Ashi values is a real traded price — they are derived averages, so orders, stop-losses, and profit/loss calculations should always reference the raw OHLC chart, not the Heikin-Ashi chart.
- The smoothing that makes trends easier to read also introduces lag, since HA-Open recursively blends in every prior candle — a genuine reversal can take longer to show up clearly on a Heikin-Ashi chart than on a raw candlestick chart.
- Because HA-Open and HA-Close both average multiple values together, gap-driven information (an overnight gap up or down) is partially absorbed into the smoothing rather than shown as a distinct visual gap the way it would appear on a raw candlestick chart.
- Some charting platforms differ slightly on the first-candle convention for HA-Open (the average of the first period's own open and close is the most common approach used here), which means the very start of a Heikin-Ashi series can differ marginally between providers even from identical raw data.
- The worked example in this guide uses illustrative, deterministic numbers, not live market data.
Frequently Asked Questions
How are Heikin-Ashi candles constructed?
Each Heikin-Ashi candle is built from a four-part formula applied to the raw OHLC data: HA-Close averages the current period's open, high, low, and close; HA-Open averages the prior HA-Open and prior HA-Close; HA-High takes the highest of the period's raw high, HA-Open, and HA-Close; and HA-Low takes the lowest of the period's raw low, HA-Open, and HA-Close. Because HA-Open and HA-Close both carry forward a piece of the previous candle, the result is a smoothed, lagging series rather than a plot of the raw prices.
Is the Heikin-Ashi close a real, tradeable price?
No. The Heikin-Ashi close is an average of four values from the current period plus, indirectly through HA-Open, values carried forward from every prior period. It is not a price any exchange ever printed and not a level you could have gotten filled at. Placing a real order based on a Heikin-Ashi level is a common and costly mistake — always reference the underlying raw OHLC chart for actual entry, exit, and stop prices.
Why do Heikin-Ashi charts show long runs of same-colored candles?
Because HA-Open is the midpoint of the prior candle's open and close, it sits inside the prior candle's body rather than gapping away from it. During a sustained trend this keeps each new HA-Open close to the previous HA-Close, producing small or absent wicks and a long visual run of same-colored bodies. That smoothing is the averaging formula suppressing the small counter-trend fluctuations that a raw candlestick chart would still show individually.
Sources and Methodology
Heikin-Ashi construction follows the long-standing, publicly documented averaging formula used across technical-analysis literature and charting platforms. Key reference sources include:
- CME Group — Heikin-Ashi Charting Technique: cmegroup.com/education — exchange-published overview of the Heikin-Ashi calculation and its intended use.
- Nasdaq — Charting and Technical Analysis Resources: nasdaq.com/market-activity — reference for standard raw OHLC data conventions this transformation is built on.
The three-candle worked example in this guide uses a clearly labeled, deterministic illustrative dataset, not live market data. This content was reviewed by the Swoopr Editorial Team in August 2026.
Related Reading
- Alternative Chart Types — the parent hub for this content group, covering Heikin-Ashi, Renko, and other non-standard chart constructions.
- Renko Charts — another construction-based alternative chart type, this one built from fixed-size price bricks with no time axis at all.
- Candlestick Patterns — pattern-recognition reading of raw candlestick shapes, a different discipline from Heikin-Ashi's construction transformation; Heikin-Ashi changes how a candle is calculated, while pattern recognition interprets the shape of a candle (raw or transformed) once it exists.