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 | |
|---|---|
| Type | Trend following |
| Chart | Heikin Ashi candles, with a trend filter |
| Markets | Nifty and Bank Nifty futures, stock futures, MCX futures |
| Timeframes | 15-minute to daily |
| Long entry | Two green candles with no lower wick after a red run, price above the 50-period average |
| Exit | The first red candle, or a trailing stop |
| Stop | Below the low of the signal candle |
How Heikin Ashi candles are calculated
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 see | Usual reading |
|---|---|
| Green candles with no lower wicks | A strong uptrend |
| Red candles with no upper wicks | A strong downtrend |
| Small bodies with wicks on both sides | Indecision; the trend may be ending |
| A change of colour after a long run | A possible reversal or pause |
The rules
Long trades
- Trend filter: the real price is above its 50-period exponential moving average.
- Setup: at least three red Heikin Ashi candles, a pullback in the trend.
- Signal: two green Heikin Ashi candles in a row, the second with no lower wick.
- Entry: at the real market price after the second green candle closes.
- Stop: below the real low of the two signal candles.
- 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.
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
