Skip to content
All library documents

Smoothed Heikin-Ashi Candles with a Rolling High-Low Channel

Article ProRealCode

Summary

This indicator constructs Heikin-Ashi values from open, high, low, and close prices, then smooths each component using a configurable average type and period. It draws candles using the smoothed open and close, while the channel boundaries come from the rolling highest smoothed high and lowest smoothed low over a chosen channel period. Candle color varies with the change in smoothed close, and transparency is configurable.

The author presents the indicator for moving-average, range-area, or filtered-market-movement views. The code exposes parameters for smoothing length, average type, channel length, and display transparency. No trading rules, backtest, or performance evidence are included, so the indicator should be understood as a charting tool rather than a validated standalone strategy. Smoothing can also delay changes in price direction, and the document does not assess parameter sensitivity or instrument-specific behavior.

Key ideas

  • The indicator first calculates Heikin-Ashi candle components from market OHLC data.
  • A selected averaging method smooths each candle component over a configurable period.
  • The displayed channel uses rolling highs and lows of the smoothed candle values.
  • Candle color reflects the change in smoothed close, with transparency adjustable.
  • The document offers no strategy evaluation or evidence of predictive performance.

Tags

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