Skip to content
Strategy

Heikin Ashi Trend

A candle-reversal strategy built on Heikin Ashi - a synthetic candle series that smooths raw OHLC data by blending each candle with the one before it.

Trend following

A candle-reversal strategy built on Heikin Ashi - a synthetic candle series that smooths raw OHLC data by blending each candle with the one before it. Buy when the synthetic candle turns bullish (HEIKIN_CLOSE() > HEIKIN_OPEN()), exit when it turns bearish.

Objective

Ride a trend for as long as Heikin Ashi's smoothed candles stay bullish, using the smoothing itself to filter out some of the noise a raw-candle reversal rule would react to.

Entry

HEIKIN_CLOSE() > HEIKIN_OPEN()

The current synthetic candle is bullish (synthetic close above synthetic open).

Exit

HEIKIN_CLOSE() < HEIKIN_OPEN()

The synthetic candle has turned bearish.

When it works best

Only pays off with a genuine trend underneath the synthetic candles - in a sideways/choppy market the smoothed candles still flip color often, since there's no trend-strength or volume filter in the base rule.

Suitable instruments

Stocks, index futures, FX - any instrument with genuine trending behavior. Illiquid or highly choppy names will whipsaw the base rule heavily (see Performance Expectations).

Advantages

  • Smooths raw price noise into a color that changes less often than the raw open/close would
  • Two-line base statement, no tolerance bands or arithmetic needed
  • All four Heikin Ashi values (HEIKIN_OPEN/HIGH/LOW/CLOSE) are computed once per candle no matter how many of them a strategy references

Limitations

  • Delayed reversals: because each synthetic Open blends in the previous synthetic candle, a color flip lags the actual raw-price turn by roughly a candle (see Example Trade) - the exact tradeoff noted in the strategy catalog entry this doc is based on
  • No trend-strength or volume confirmation in the base rule - it reacts to every color flip, including ones inside a sideways range
  • Whipsaw-prone as a bare rule: a naive backtest without filters typically produces very high trade counts and win rates close to a coin flip (see Performance Expectations, base statement)

Best practices

  • Always pair the base color-flip rule with a trend filter (SMA/ADX) for live use, per the Advanced variant
  • Use a trailing stop rather than relying solely on the next opposite-color candle to exit
  • Expect a high trade count from the bare rule - it reacts to every single flip, not just meaningful ones

Common mistakes

  • Running the bare base statement live with no trend/strength filter - see Performance Expectations below for how poorly that performs even before costs
  • Expecting the exit to catch the exact top - Heikin Ashi's smoothing structurally lags by design
  • Applying it to illiquid/highly volatile small-caps expecting the smoothing to compensate for genuine noise in the underlying price series
All strategies

Backtest this strategy yourself

Build these rules on the Free plan, adjust them, and see how they would have traded.