Heiken-Ashi Candles (HA)
Heiken-Ashi Candlesticks are average candles. Heiken-Ashi Candles are very much like regular candles except the actual open, high, low, and close are not used.
Instead of using the actual current price or close, the HA Close is the average of the open, high, low, and close instead.
Instead of using the actual opening price, the HA Open is the 3 period exponential moving average of the Heiken-Ashi close calculated from the previous HA candle.
The HA High will use the higher of the actual high or the HA Open.
The HA Low will use the lower of the actual low or the HA Open.
HA Open |
XAVG(O1 + H1 + L1 + C1, 3) / 4 |
HA High |
GREATEST(H, XAVG(O1 + H1 + L1 + C1, 3) / 4) |
HA Low |
LEAST(L, XAVG(O1 + H1 + L1 + C1, 3) / 4) |
HA Close |
(O + H + L + C) / 4 |
Hollow HA Candle |
XAVG(O1 + H1 + L1 + C1, 3) < |
Solid HA Candle |
XAVG(O1 + H1 + L1 + C1, 3) >= |
No Lower Wick | XAVG(O1 + H1 + L1 + C1, 3) / 4 <= L |
No Upper Wick |
XAVG(O1 + H1 + L1 + C1, 3) / 4 >= H |
Both Lower and Upper Wicks |
ABS(XAVG(O1 + H1 + L1 + C1, 3) / 2 - H - L) < H - L |
No Wicks |
H = L |