Free trial
Menu
Strategy guide

Trade Trends with Heikin Ashi Candles

A Heikin Ashi strategy uses averaged candles to make trends easier to see and follow. Heikin Ashi, Japanese for "average bar", recalculates each candle from the current and previous prices. In a strong trend the candles run in one colour with few wicks against the move, which helps traders stay in a trend and spot when it weakens.

QuantPower Research · Updated 6 Nov 2026 · 5 min read

This guide explains how Heikin Ashi candles are calculated, how to read them, rules you can test, a worked example and the backtesting mistake to avoid.

At a glance

Heikin Ashi trend strategy
TypeTrend following
ChartHeikin Ashi candles, with a trend filter
MarketsNifty and Bank Nifty futures, stock futures, MCX futures
Timeframes15-minute to daily
Long entryTwo green candles with no lower wick after a red run, price above the 50-period average
ExitThe first red candle, or a trailing stop
StopBelow the low of the signal candle

How Heikin Ashi candles are calculated

Formula
HA close = (open + high + low + close) ÷ 4
HA open = (previous HA open + previous HA close) ÷ 2
HA high = the highest of the high, HA open and HA close
HA low = the lowest of the low, HA open and HA close
Example
The previous Heikin Ashi candle opened at 24,980 and closed at 25,010. The current 15-minute Nifty candle has an open of 25,015, a high of 25,060, a low of 25,005 and a close of 25,050.
HA close = (25,015 + 25,060 + 25,005 + 25,050) ÷ 4 = 25,032.50
HA open = (24,980 + 25,010) ÷ 2 = 24,995
HA high = 25,060 and HA low = 24,995
The candle is green, and its low equals its open, so it has no lower wick: a sign of a strong upward move.

Because each candle blends in the previous one, Heikin Ashi charts react more slowly than ordinary candlestick patterns and show far fewer colour changes.

How to read Heikin Ashi candles

What you seeUsual reading
Green candles with no lower wicksA strong uptrend
Red candles with no upper wicksA strong downtrend
Small bodies with wicks on both sidesIndecision; the trend may be ending
A change of colour after a long runA possible reversal or pause

The rules

Long trades

  1. Trend filter: the real price is above its 50-period exponential moving average.
  2. Setup: at least three red Heikin Ashi candles, a pullback in the trend.
  3. Signal: two green Heikin Ashi candles in a row, the second with no lower wick.
  4. Entry: at the real market price after the second green candle closes.
  5. Stop: below the real low of the two signal candles.
  6. Exit: at the close of the first red Heikin Ashi candle, or on a trailing stop.

Short trades

The mirror image: price below the 50-period average, a run of green candles, then two red candles with no upper wick.

A worked example

Nifty futures on a 15-minute chart are above their 50-period average. After three red Heikin Ashi candles in a pullback, two green ones follow, the second with no lower wick. The real price at the close of the second is 25,050, and the real low of the two candles is 24,990.

  • Entry: 25,050
  • Stop: 24,985, a risk of 65 points, ₹4,225 per lot of 65
  • Exit: the first red Heikin Ashi candle

The exit has no fixed target. The rule lets a trend run and gives back part of the move when it ends. These numbers illustrate the rules, not a result.

Heikin Ashi rules: three red candles, then two green with no lower wick on the second; buy 25,050, stop 24,985, exit on the first red candle (illustration)

The backtesting mistake to avoid

Heikin Ashi prices are averages, not prices you can trade. A Heikin Ashi close of 25,032.50 may never have printed in the market. A backtest that fills orders at Heikin Ashi prices will look far better than live trading.

  • Use Heikin Ashi candles only for signals.
  • Fill entries and exits at real prices, such as the next real candle's open.
  • Set stops from real highs and lows.

See look-ahead bias and backtesting mistakes for other ways a test can mislead.

When the strategy works, and when it does not

Works best when:

  • The market trends for hours or days, such as after a breakout or a strong open.
  • You want a rule that keeps you in a trend through small pullbacks.

Struggles when:

  • The market moves sideways. Colours flip often, and each flip costs a small loss.
  • A sharp reversal happens. The averaging delays the exit signal.
  • Gaps at the open. The first Heikin Ashi candle of the day blends in the previous session.

Filters to test

  • A trend filter: the 50-period average, Supertrend or ADX above 25.
  • A minimum body size, to ignore weak signal candles.
  • A time filter for intraday trading, such as no entries after 14:30.

Automating a Heikin Ashi strategy

To automate it in QuantPower's strategy builder, set the signal and the trend filter as entry conditions, use the real candle low for the stop and add a time exit for intraday trades. Test the rules in paper trading and add an MTM stop loss.

Common mistakes

  • Trading Heikin Ashi prices. Orders fill at real prices.
  • Trading every colour change. In a range, most changes are noise.
  • No stop. The exit rule can lag in a fast reversal. A fixed stop caps the damage.

Frequently asked questions

Is Heikin Ashi better than normal candlesticks?

It is easier for spotting and following trends, but it hides the real open and close. Many traders use Heikin Ashi for direction and normal candles for entries and stops.

Which timeframe is best for Heikin Ashi?

15-minute and 1-hour charts are common for intraday futures, and daily charts for swing trades. Test on your own instruments.

Can Heikin Ashi be used for options?

Traders often read Heikin Ashi on the Nifty or Bank Nifty chart and trade options on that signal. The option's own chart moves with time decay and volatility, so signals on it are less reliable.

Why does the first Heikin Ashi candle of the day look odd?

Its open is the average of the previous session's last candle, so it does not reflect the overnight gap.

Sources

  • Valcu, D. (2004). Using the Heikin-Ashi Technique. Technical Analysis of Stocks & Commodities, 22(2)
  • Murphy, J. J. (1999). Technical Analysis of the Financial Markets. New York Institute of Finance
The example on this page is hypothetical and for illustration only. Backtested or simulated results do not guarantee future results. Trading involves substantial risk.