Skip to main content
Trading

Heikin Ashi Candles: Formulas, Signals and Trading Limits

Heikin Ashi explained with formulas, trend and wick signals, backtest pitfalls, and why HA prices cannot set your entries or stops.

•
18 min
Heikin Ashi Candles cover showing the Thrive performance view with win rate, profit factor and equity curve

From Thrive on YouTube

Watch the matching lesson

Watch the series
Trading Indicators, Honestly: What They Can and Cannot Do

Trading Indicators, Honestly: What They Can and Cannot Do

Part of Trading Journal and Performance Review. Education only. Not financial advice.

The most repeated piece of Heikin Ashi advice is that a green candle with no lower wick is a buy signal. That advice is incomplete in a way that costs money. The candle is a calculated object. Its close is the average of four prices from the same bar, and its open is the midpoint of the previous synthetic body. Neither value is a price anyone traded.

Treating that candle as a signal and its levels as order prices is how traders end up with stops sitting far from the structure they meant to use, and with backtests reporting profits no live account could reproduce. Heikin Ashi is a filter. Filters are useful. The work is in separating what the smoothed series says about trend from the prices a trader can fill, stop and get liquidated at.

Table of Contents

The Market Is the Test. This Is the Prep.

Walk into every trade with the confidence that comes from real preparation.

Heikin Ashi Formulas Compared With Raw Candles

Heikin Ashi is a transformation applied to ordinary open, high, low, close data. It is not a separate price feed, and it doesn't record anything the raw chart misses. The English-language entry point was Dan Valcu's article, "Using the Heikin-Ashi Technique," published in Technical Analysis of Stocks & Commodities in February 2004. The earlier Japanese origin is not securely documented, as the Heikin-Ashi chart overview sets out. What matters for trading is that every value on the chart is arithmetic performed on the raw bar plus the previous synthetic bar.

Value Raw candle Heikin Ashi formula
Open Raw open of the period (previous HA open + previous HA close) / 2 = (63,800 + 64,100) / 2 = 63,950
Close Raw close of the period (open + high + low + close) / 4 = (64,000 + 64,800 + 63,600 + 64,500) / 4 = 64,225
High Raw high of the period Greatest of raw high, HA open and HA close = 64,800
Low Raw low of the period Smallest of raw low, HA open and HA close = 63,600
First bar open Raw open of the first bar (open + close) / 2 of the first raw bar = (64,000 + 64,500) / 2 = 64,250

The worked bar, line by line

Take a hypothetical $BTC bar with raw open 64,000, high 64,800, low 63,600 and close 64,500. The previous synthetic bar had an open of 63,800 and a close of 64,100.

HA open is (63,800 + 64,100) / 2 = 63,950. HA close is (64,000 + 64,800 + 63,600 + 64,500) / 4 = 64,225. HA high is the greatest of 64,800, 63,950 and 64,225, which is 64,800. HA low is the smallest of 63,600, 63,950 and 64,225, which is 63,600.

Four numbers in, four numbers out. The synthetic close lands 275 below the raw close on a bar that closed in the upper half of its range.

Why the recursion matters

The open depends on the previous synthetic open and close, not on where price opened. That gives the series memory. A new bar is partly determined by earlier bars rather than only by current-period trading, which is why runs of one color persist longer than they do on raw candles. It is also why the first bars of any chart window are shaped by the seed value and should be excluded from signal checks. When a platform shows a Heikin Ashi history, the earliest candles are artifacts of where the data window starts.

To verify a platform, feed it that hypothetical $BTC bar and check the four outputs. If the synthetic close isn't 64,225, the platform is using a different close definition, and every backtest run on it needs re-checking before it means anything.

How Heikin Ashi Candles Look Different on a Chart

Raw candles work like a thermometer reading taken once a day. Each one records what happened in that period, including the messy parts. Heikin Ashi blends every bar with the previous synthetic bar, so the chart shows the shape of the move more than the noise inside it. That difference produces three visible effects, and all three change how a trader should read the chart.

A comparison chart showing the difference between traditional raw Japanese candlesticks and smoothed Heikin Ashi price

Wicks disappear on the leading side. A bullish synthetic candle often has no lower wick, because the synthetic open has been pushed up to the low of the body. A bearish candle often has no upper wick for the same reason in reverse. The absence of a wick is arithmetic, not a statement that buyers never let price dip.

Bodies run steadier. Because small pullbacks get absorbed into the average, a run of same-color candles can continue several bars longer than the raw sequence would suggest. This is the feature that makes trend identification easier and exit timing slower.

Color changes arrive late. A 2024 MT5 analysis by MasQuant counted 163 bars and found 34 Heikin Ashi color changes versus 86 for real candles. That is one symbol on one period, so treat the ratio as an illustration rather than a universal constant. Fewer flips is not the same as a measured delay in bars.

The delay shows up in sequence. Say a hypothetical eight-bar $ETH run turns red on raw candles at bar four while the synthetic color holds green until bar six. A trend-follower using the color as an exit signal gives back two bars of the move before the chart agrees the trend has changed. On a fast asset that gap is the difference between exiting near the high and exiting after the retracement. If pattern reading is part of the process, do it on the raw chart, using the candlestick pattern guide, because classic pattern definitions assume real open, high, low and close values.

Reading Trend Strength and Wicks Candle by Candle

A strong bullish synthetic candle has a full body and no lower wick. Read the arithmetic and the meaning is obvious. The synthetic open sat at the low of the bar, which means the previous synthetic body's midpoint was already at the bottom of the current range. Buyers never let the average slip.

An educational illustration explaining how to read Heikin Ashi candlesticks for trading trend analysis.

Candle shape Reading Confirm on raw candles
Green body, no lower wick Strong bullish trend with buyers controlling the synthetic open Raw candle closes near its high and holds the prior swing low
Green body, small lower wick Uptrend holding with some pullback pressure Raw pullback stays above the last higher low
Small body with wicks on both sides Indecision or chop, flips are unreliable Stay out until a run of same-color bars forms
Red body, no upper wick Strong bearish trend Raw candles close near their lows and break the prior swing low
First bar of a color change Possible trend change, usually needs a few bars to confirm Raw structure breaks and volume expands on the change

Counting beats guessing

Trend strength is measurable in two ways on this chart. Count consecutive same-color bars, and track whether the wicks on the trailing side are shrinking or growing across the run. A run of six green bars with no lower wick is a different object from six green bars where the last three each carry a growing lower wick. The first says the trend is intact. The second says the average is being dragged up by history while current price stalls.

Practical rule: a color flip after a long run is a prompt to investigate, not an entry. Check the raw bar that caused it, the level it broke and whether the move came on expanding volume.

Chop produces its own signature. Small bodies with wicks on both sides, flipping every two or three bars, mean the synthetic open and close are converging on each other. Every flip in that condition is a false start, and a strategy that trades flips will pay spread on each one. That's a chart-level fact, visible before any backtest.

Why Heikin Ashi Prices Cannot Set Entries and Stops

Run the numbers on the hypothetical $BTC bar before anything else. The synthetic close is 64,225 and the raw close is 64,500, a gap of 275 per coin. On a 0.5 $BTC position, a limit order placed at the synthetic close sits 137.50 away from the price that printed, before fees. That order may never fill in a fast market, or may fill at a worse level once the move continues.

The gap exists because the synthetic open and close are calculated values, and no order has ever filled at one. The StockCharts chart school entry on Heikin-Ashi candlesticks describes the series as a synthetic OHLC transformation rather than a record of executable market prices, and notes that because the open uses the prior synthetic state, a new bar is partly determined by earlier bars rather than only by current-period trading. The gap changes the fill price, so it changes the trade.

A diagram explaining why traders should not use Heikin Ashi candle prices for setting orders and stops.

Stops carry the same problem with worse consequences. A stop placed below a synthetic low sits at a level no seller defended, while the actual swing low that other participants are watching may be somewhere else entirely. The position gets shaken out on noise that never touched the raw structure, or the stop sits inside the level and dies on the first retest.

Liquidation distance and realized P&L share this constraint. Both are calculated by the exchange from real prices and real fills, so both must be modeled from raw OHLC and execution data. A drawdown figure computed from synthetic closes survives right up until the account breaches a limit, and then the fiction ends in a liquidation notice.

The chart tells you which regime you're in. The order book tells you what the trade costs. Never let the first answer the second question.

Six steps from signal to order

  1. Classify the regime on the smoothed chart. Uptrend, downtrend or chop, based on consecutive same-color bars and wick behavior.
  2. Switch to raw candles for the trigger. The bar that confirms the entry must be a real bar with a close.
  3. Place the entry at a price you can fill, including the spread and the depth available at that level.
  4. Put the stop beyond the raw swing point, not beyond the synthetic low. The stop-loss placement guide covers how to pick that level when structure is messy.
  5. Size the position and check liquidation distance from raw prices. Use the entry, the stop and the exchange's maintenance margin.
  6. Log realized P&L from exchange fills. Not from chart values, not from an assumed exit at the synthetic close.

Step two is where most workflows break, because it requires two chart types at once. Thrive's charting engine includes Heikin-Ashi as one of eight chart types: Candlestick, Heikin-Ashi, Line, Area, Bar (OHLC), Hollow Candles, Baseline, and Renko. Both views sit in the same workspace, so the switch from smoothed regime read to raw trigger is a click, and the entry, stop and liquidation math all run on prices the exchange printed.

Backtest Pitfalls That Inflate Heikin Ashi Results

Most inflated Heikin Ashi results come from six errors, roughly in order of how much damage they do.

Executing on synthetic prices. If the engine fills at the Heikin Ashi close, the strategy trades levels that never existed. This single error can turn a losing system into a spectacular one, because entries and exits both get the benefit of a smoothed price that lags the actual one.

Look-ahead bias. A strategy that reads the synthetic close of a bar still forming is reading the future. The value isn't final until the bar closes, and on a 4-hour chart that distinction is worth hours of information.

Understated costs. A hypothetical 0.05% fee per side across 40 round trips is 80 fee payments on the same notional. A trend filter with a small per-trade edge can lose most of it to fees alone, and slippage during fast candles often exceeds the fee itself.

Survivorship bias. A universe containing only assets that still trade today omits the ones that collapsed. Trend filters look better on a graveyard-free dataset.

Variant selection. Try enough synthetic settings, thresholds and confirmation rules and one will look excellent by chance. Reporting only that one is how a curve fit becomes a published result.

One regime. A test window covering a single trending period flatters any trend filter. Ranges and liquidation cascades are where the same rules fail, and they need their own line in the results.

The test that exposes each one

The fixes are mechanical. Use walk-forward testing with an untouched holdout period. Charge realistic fees and slippage on every fill. Report results separately for trending, ranging and high-volatility liquidation conditions. And for anyone trading funded capital, make daily loss and drawdown survival the primary metrics, because a smoother equity curve can still breach a limit inside a single sharp move. The guide to backtesting a trading strategy walks through the sequencing.

Anchor the drawdown test to real program limits. On Thrive's funded program the daily loss limit is 3% of the daily balance and resets at 00:30 UTC, and static max drawdown is 6% on Classic, 5% on Pro and 3% on Turbo. A backtest that reports a healthy final equity curve but breaches 3% intraday on its worst sequence is not a viable strategy for that account, whatever the summary line says.

What Published Heikin Ashi Studies Show

Published results point in different directions. A 2016 to 2025 study by Tickfloor tested Heikin Ashi strategies across 18 cryptocurrency pairs and 40 U.S. stocks and found that after costs, results lagged benchmarks by 18.1 to 47.4 percentage points per year. A 2025 USD/JPY backtest by Formiq reported +1,153.3 pips for an hourly color-flip strategy when trades were filled at real candle closes.

Study Market and period Reported result Limit to check
Tickfloor research 18 cryptocurrency pairs and 40 U.S. stocks, 2016 to 2025 After costs, results lagged benchmarks by 18.1 to 47.4 percentage points per year Cost and benchmark assumptions set the size of the gap
Multi-asset empirical study Equities and liquid crypto, concentrated in $BTC and $ETH Median Sharpe 0.51 versus 0.34 in liquid crypto, nearly unchanged in equities, roughly half the drawdown of buy-and-hold Lower returns in exchange for a defensive profile; confirm on your own assets
Formiq USD/JPY backtest, 2025 USD/JPY, hourly +1,153.3 pips for an hourly Heikin Ashi color-flip strategy with fills at real candle closes One pair and one timeframe; check fills, costs and whether the publisher has a commercial interest
Separate backtest of 91 assets in the multi-asset empirical study 91 assets 21 of 91 (23%) beat buy-and-hold Survivorship and variant selection can inflate apparent success

Replacing Heikin Ashi with an EMA crossover left equity-market Sharpe nearly unchanged. The smoothing did the work. The candle formula did not. Liquid crypto showed a wider gap, and that gap sits mainly in $BTC and $ETH. Drawdown versus buy-and-hold was roughly cut in half, paid for with lower returns. On the 91-asset backtest, 21 divided by 91 is about 0.23, so the typical asset did not beat holding. The study flags survivorship and variant selection as inflators of that hit rate.

Read together, the studies support using Heikin Ashi as a defensive filter, not as a standalone edge. The Formiq pip total is one pair on one hourly window, and those fills were real candle closes, so it does not carry over to $BTC on a 15-minute chart. The Heikin Ashi print is a smoothed filter. The price you can fill, stop, or be liquidated at is still the raw print. Before running the test, settle how many trades the sample needs, using the sample size guide for crypto trading, or the win rate will be noise wearing a number.

Tag Heikin Ashi Setups and Judge Them on Closed Trades

A smoothed candle either earns its place in your P&L or it doesn't, and the only way to know is to tag every trade before you take it. Build the tag set first, one tag per rule variant, and file every closed trade under exactly one of them. A workable set is synthetic trend with raw confirmation (long), synthetic trend with raw confirmation (short), raw candles only on the same setups as a control, and color flip without confirmation.

An infographic titled Heikin Ashi Tagging Workflow showing trade setups, examples, and a checklist for traders.

Log three prices on every trade: the raw-candle entry signal, the raw-candle stop, and the actual exchange fill. R comes from real prices, never from Heikin Ashi prints. Define R as the trade result divided by the initial risk in currency. If the stop sat 400 away on 0.5 $BTC, initial risk is 200. A 500 gain is then +2.5R, and a stopped-out loss is -1R by construction, whatever the smoothed chart showed at the time.

Tag Closed trades Win rate Average R Expectancy per trade (R)
HA trend with raw confirmation, long 50 40% 2.0R win, 1.0R loss 0.4 x 2.0 minus 0.6 x 1.0 = +0.20R
HA trend with raw confirmation, short Your count Your win rate Your average win and loss in R Win rate x average win R minus loss rate x average loss R
Raw candles only, same setups Your count Your win rate Your average win and loss in R Win rate x average win R minus loss rate x average loss R
HA color flip without confirmation Your count Your win rate Your average win and loss in R Win rate x average win R minus loss rate x average loss R

The first row is a hypothetical worked example, not measured performance. The arithmetic is the part to copy: expectancy per trade equals win rate times average win R, minus loss rate times average loss R. Run that formula on each tag separately once the sample fills in.

Two rows do the diagnostic work. The flip-without-confirmation row is the one that usually disappoints, because color changes late in a move hand back the exact slippage the smoothing introduced. The control row exists for a colder reason: a synthetic tag that can't beat the raw-candle version of the same setups after costs isn't adding value, whatever its absolute expectancy. If both rows land near zero, the filter is decoration.

Judge each tag against its control rather than against zero, and keep adding trades before ruling a variant in or out. Assign tags before the outcome is known, since a label applied after the fact tends to migrate toward whichever variant won. The guide to keeping a trading journal walks through the record structure, the per-trade fields worth capturing, and how to review expectancy by tag once the sample is large enough to read.

For education only, not financial or investment advice. Crypto and trading can cause substantial losses; examples do not predict future results.

Thrive's Pro journal fits this workflow directly, with CSV import, read-only account auto-sync, emotion and psychology tags per trade, a performance dashboard with equity curve and R-multiples, and AI review of your trades on the top 20 assets as one input rather than a basis for any decision, while the funded program offers funded accounts up to $500K combined with evaluations opening soon and the Thrive Discord is open now for traders working through the same tag definitions.