A formal approach to candlestick pattern classification in financial time series · Study