Chart pattern recognition scanner