Hi all,
I have an Indicator created on MT4 using DTW and correlation to classify the time series data. There is an issue I found related to the DTW algorithm.
When the pattern is long, the DTW score will become bigger and bigger. Also, the distance metric I am using is Euclidean Distance, when I am measuring the distance between 2 chart bar, (Open High Low Close), that is a 4 dimension space. It turns out that it is harder to distinguish the similarity between different patterns since a small change of the value can represent a big different.
I would like to see if there is a better way to implement the DTW algorithm for similar pattern finding purpose. Or even there is another algorithm other than DTW.
Here are some screen shot to show how my indicator works:
Step 1 - Build the database for pattern recognition
I have an Indicator created on MT4 using DTW and correlation to classify the time series data. There is an issue I found related to the DTW algorithm.
When the pattern is long, the DTW score will become bigger and bigger. Also, the distance metric I am using is Euclidean Distance, when I am measuring the distance between 2 chart bar, (Open High Low Close), that is a 4 dimension space. It turns out that it is harder to distinguish the similarity between different patterns since a small change of the value can represent a big different.
I would like to see if there is a better way to implement the DTW algorithm for similar pattern finding purpose. Or even there is another algorithm other than DTW.
Here are some screen shot to show how my indicator works:
Step 1 - Build the database for pattern recognition
- Select the indicator mode
-
- Select the pattern
- Database created
- Change Indicator mode
- User can check the pattern
- Change Indicator mode
- Live classifying