Skip to content
All library documents

Tracking Higher-Timeframe Heikin Ashi Direction Changes Within Lower-Timeframe Bars

Article ProRealCode

Summary

The indicator maps the direction of Heikin Ashi candles from a chosen higher timeframe onto a lower-timeframe chart. It colors a histogram according to whether the higher-timeframe candle is rising or falling, marks new higher-timeframe bars, and emits a separate signal when the direction changes. This can expose changes inside a higher-timeframe candle rather than waiting for that candle to close, potentially informing an automated strategy.

The described implementation supports timeframes expressed in hours and gives examples spanning hourly, multi-hour, and daily intervals. Its calculations aggregate lower-timeframe price data to estimate the higher-timeframe Heikin Ashi values. The document provides no backtest or evidence that early direction changes predict profitable trades. Signals observed before a higher-timeframe candle closes may change as that candle develops, so users should account for that limitation and validate behavior on their chart and data.

Key ideas

  • The indicator displays higher-timeframe Heikin Ashi direction on a lower-timeframe chart.
  • A color change creates a separate signal that can be used as an input to an automated strategy.
  • The implementation is described for timeframes specified in hours, including daily intervals.
  • An intrabar direction signal can change before the higher-timeframe candle closes.
  • The document gives no performance testing or evidence of predictive value.

Tags

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