Posts

About Security Trading Analytics Blog

One or Two Daily Bars: Testing Confirmation in a Heikin Ashi Follow-the-Trend Model

Image
Heikin Ashi candles (sometimes called bars) are a graphical technical analysis tool for identifying the onset and discontinuation of price uptrends for a stock ticker.  This blog started what will be a continuing post series on modeling trade entry and exit dates and prices with Heikin Ashi bar colors.  Consecutive green bars indicate a ticker’s prices are growing over those bars.  When the green bars transition from green to red, it indicates the rising price trend ceased.  Because there are expressions for denoting bar colors, standard backtesting techniques can be employed for evaluating different model designs. The first post ( Backtesting Heikin Ashi Candle Colors to Buy Dips and Exit When Runs End ) examined a very simple buy-the-dip model based on Heikin Ashi candles.  The second post ( A Modeling Framework for Evaluating Multiple Ticker Sets with Heikin Ashi Candle Colors ) included a systematic dive into two different models for identifying trade entry ...
Image
 A Modeling Framework for Evaluating Multiple Ticker Sets with Heikin Ashi Candle Colors Heikin Ashi candles were initially examined within this blog in an earlier post (Backtesting Heikin Ashi Candle Colors to Buy Dips and Exit When Runs End).  They are sometimes featured in stock charts because they can visually convey by Heikin Ashi candle colors whether prices are in a rising or declining trend better than OHLC candles for historical prices.  Two or more consecutive green candles mean prices are rising over that period.  Likewise, two or more red candles mean that prices are declining during that interval.  The original Heikin Ashi candle post in this blog presents, describes, and backtests a very simple buy-the-dip model for entering and exiting trades based on Heikin Ashi candle colors via T-SQL scripts. This post presents a framework for creating multiple ticker sets, retrieving OHLC candles for those tickers, computing Heikin Ashi candles, and backtesti...