結果 : python code to detect chart patterns