/triangle-pattern-detection

Triangular pattern detection using machine learning algorithm.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

triangle-pattern-detection vs Flag-pattern-detection

Triangular pattern detection using machine learning algorithm. Flag pattern detection using machine learning algorithm.

Concept

  1. First, we filter the data and the highest and lowest values.
  2. Then use a linear model with sklearn and draw the line.

Result for Triangular pattern

res

Result for Flag pattern

Simple_Save_1

Install The requirements file

pip3 install -r requirements.txt

Download Data

Download the data in the link below: https://forexsb.com/historical-forex-data