There are millions of bar patterns and candles are just a very small special case. Mike Harris has developed the software Price Action Lab that can look for bar patterns in data. One problem with patterns in general is that you get them often and they can be false signals.