Skip to content
All library documents

ATR-Smoothed Heiken Ashi Signals with EMA Trend and Entry Filters

Article MQL5 code base

Summary

This indicator description combines ATR-smoothed Heiken Ashi candles with fast and slow exponential moving averages to show directional bias and flag potential early entries. A signal appears when a smoothed candle changes direction in agreement with the EMA bias, provided the EMAs remain close relative to ATR. That distance filter is intended to focus signals on earlier moves and suppress entries after the averages have spread during an extended trend. Arrows are offset from candles using ATR, and alerts can be enabled.

The smoothing sensitivity, blend factor, EMA and ATR periods, minimum EMA separation, and arrow offset are configurable. The document cautions that Heiken Ashi values are calculated rather than traded prices, so execution and risk levels should use a standard price chart. It provides no historical testing or evidence that the filter improves returns, and its early-entry restriction means signals may be scarce in strongly developed trends.

Key ideas

  • ATR-based smoothing adjusts Heiken Ashi candle behavior to volatility.
  • Signals require a candle direction change aligned with the fast and slow EMA bias.
  • An ATR-scaled EMA distance filter suppresses signals after the averages have moved apart.
  • Heiken Ashi values are calculated prices and should not be treated as traded execution levels.
  • The description provides no backtest evidence for signal performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.