Heikin Ashi

Smoothed candles: each one averages the candle with the one before it.

Heikin Ashi candles built from the regular ones: close = (open + high + low + close) ÷ 4, open = (previous HA open + previous HA close) ÷ 2 (the first: (open + close) ÷ 2), high / low = the extremes of the candle's high / low and the HA open and close. Orders, stops and targets always use real prices.

Settings

Heikin Ashi has no settings.

What it gives

OutputWhat it is
HA openThe Heikin Ashi open, in price.
HA highThe Heikin Ashi high, in price.
HA lowThe Heikin Ashi low, in price.
HA closeThe Heikin Ashi close, in price.

What it reads

It reads the whole candle (open, high, low, close and volume).

Warm-up

With its default settings, Heikin Ashi needs 1 closed candles before its first value. A backtest loads them before its start date, so the first trade can already use it.

Test it

Copy this sentence into the Algonney chat to backtest it:

Backtest a strategy on BTC that uses Heikin Ashi with its default settings