A Stock Pattern Recognition Algorithm Based on Neural Networks · Study