Why a Heikin Ashi fill can differ from a market price
Heikin Ashi candles transform OHLC data. A synthetic open is the midpoint of the previous HA body, so it can lie outside the current market bar. A backtest that fills a market entry at that synthetic open can therefore assign a price unavailable at that time. The size and direction of the performance error depend on the strategy and dataset; there is no universal inflated win rate.
- HA close = (current open + high + low + close) / 4.
- HA open = (previous HA open + previous HA close) / 2.
- HA high = max(current high, HA open, HA close).
- HA low = min(current low, HA open, HA close).
| Illustrative calculation | Value | Implication |
|---|---|---|
| Previous HA open / close | 100 / 102 | Next HA open is 101. |
| Current standard OHLC | 110 / 114 / 108 / 112 | The market bar spans 108 to 114. |
| Current HA OHLC | 101 / 114 / 101 / 111 | A synthetic open fill at 101 is outside that market range. |