2008issue C121-12
Heikin-Ashi color-coded candles and smoothed trend filters
A hybrid construction maps Heikin-Ashi polarity onto ordinary candlesticks and uses exponential-style recursion so a trend-line exit can be stated as a rule rather than read as a visual impression.
- A Heikin-Ashi open can be built as the average of the prior Heikin-Ashi open and the prior four-price typical price, which is an exponential-style recursion on OHLC structure.
- Color-coding a conventional candlestick green when the Heikin-Ashi close is at or above its open, and red when the Heikin-Ashi close is below its open, transfers averaged polarity onto the raw price bars.
- In the illustrated construction, an uptrend-line break after a red Heikin-Ashi-coded candle is treated as a reason to close a long and consider a short.
- Software sketches treat such coded rules as starting models that a trader is expected to modify rather than as finished systems.
A hybrid overlay on the execution chart
Heikin-Ashi is an averaged OHLC transform that paints candles from a midpoint open and a four-price close so consecutive bars share a common color more often than raw candles.
Candlestick patterns remain the execution chart. Standard open-high-low-close bars keep their own highs, lows, and shadows, while Heikin-Ashi supplies only the overlay signal.
How the open is smoothed
A Heikin-Ashi open can be built as the average of the prior Heikin-Ashi open and the prior four-price typical price, which is an exponential-style recursion on OHLC structure.
Exponential smoothing is a recursive average that blends the latest observation with the prior smoothed value. In this workflow it is used to stabilize Heikin-Ashi opens and derived trend filters.
Color on the raw candle
Color-coding a conventional candlestick green when the Heikin-Ashi close is at or above its open, and red when the Heikin-Ashi close is below its open, transfers the averaged polarity onto the raw price bars.
Downtrend Heikin-Ashi sequences are described as mostly filled bars with little or no upper shadow, and uptrend sequences as mostly hollow bars with little or no lower shadow. The color map is trying to capture that visual pattern.
Confirming a chart-structure exit
In the illustrated construction, an uptrend-line break after a red Heikin-Ashi-coded candle is treated as a reason to close a long and consider a short, showing how the overlay is meant to confirm a chart-structure exit.
Editorial reading: once the coded color and the line break are both stated as conditions, the exit is a rule that can be kept or discarded. It is no longer only a visual impression on the chart.
Starting models, not finished systems
Software sketches in the same issue treat such coded rules as starting models that a trader is expected to modify rather than as finished systems.
All readings on this track · 16 readings
- 2004Reconstructing Heikin-Ashi bars from smoothed OHLC
- 2004Heikin-Ashi candle construction as an OHLC transform
- 2004Stacking heikin-ashi, swing charts, and a moving average in strong trends
- 2007Constructing a Heikin-Ashi volume-price oscillator
- 2007A volume-price oscillator is a timing trigger, not a standalone entry
- 2008Heikin-Ashi OHLC construction and simplification
- 2008How a Heikin-Ashi candlestick oscillator is built from color, lag, and hold rules
- 2008Heikin-Ashi color-coded candles and smoothed trend filters
- 2010Heikin-Ashi smoothed percent b for divergence timing
- 2011Constructing Heikin-Ashi, moving-average, and MACD filters
- 2011Constructing candlestick, Elliott-wave, and Heikin-Ashi hypotheses
- 2012Constructing a three-state Heikin-Ashi trend filter
- 2012Heikin-ashi as a trend-state signal without candlestick-patterns
- 2013Heikin-Ashi volume gates, smoothing, and denominator floors
- 2013How Heikin-Ashi close and typical-price form a two-average crossover
- 2013Walk-forward tests for color-coded Heikin-Ashi crosses