Candlesticks are just a very special case of price bar patterns. There is no reason for anyone to restrict analysis to candlesticks. There is a program called Price Action Lab that will find price bar patterns spanning maximum 9 bars with criteria decided by user. It also has several tools for validation and robustness analysis. You can use it in strategy design mode or in scan mode. It generates strategy code and price bar pattern code for Tradestation, NinjaTrader and Amibroker. Very fancy tool but a bit expensive. Worth trying a demo to get the general idea.