The following Matlab project contains the source code and Matlab examples used for candlestick quantification. Code included will help you understand how to quantify candlestick patterns. createCandleStick.m quantifies candlestick bars to 6-digit binary codes. candleStickEvaluation.m demonstrates how you can evaluate multiple-day candlestick patterns. ref. http://computeraidedtrading.blogspot.com/2009/09/candlestick-charting-myth-debunked-12.html
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.