Data Mining Novel Chart Patterns With Python | Algorithmic Trading Strategy

neurotrader · Advanced ·📄 Research Papers Explained ·3y ago

About this lesson

Using perceptually important points combined with unsupervised learning to find unique chart patterns for trading using python. We cluster the price structure patterns and select the high performing patterns using the martin ratio as an objective function. We perform a monte carlo permutation test to verify the results. We also perform a walkforward test. This video has a detailed explanation of the perceptually important points algorithm. Chart Pattern Algorithms: https://www.youtube.com/watch?v=X31hyMhB-3s Links Full Code: https://github.com/neurotrader888/TechnicalAnalysisAutomation Martin Ratio: https://www.tangotools.com/ui/ui.htm K-Means: https://en.wikipedia.org/wiki/K-means_clustering Silhouette: https://en.wikipedia.org/wiki/Silhouette_(clustering) Citations Chung, F.L., Fu, T.C., Luk, R., Ng, V., Flexible Time Series Pattern Matching Based on Perceptually Important Points. In: Workshop on Learning from Temporal and Spatial Data at IJCAI (2001) 1-7 Keogh, E., Lin, J., Truppel, W.: Clustering of Time Series Subsequences is Meaningless: Implications for Previous and Future Research. Proc. of ICDM, (2003) 115-122 Fu, Tc., Chung, Fl., Luk, R., Ng, Cm. (2005). Preventing Meaningless Stock Time Series Pattern Discovery by Changing Perceptually Important Point Detection. In: Wang, L., Jin, Y. (eds) Fuzzy Systems and Knowledge Discovery. FSKD 2005. Lecture Notes in Computer Science(), vol 3613. Springer, Berlin, Heidelberg. Peter Rousseeuw. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math., 20(1):53–65, November 1987. The content covered on this channel is NOT to be considered as any financial or investment advice. Past results are not necessarily indicative of future results. This content is purely for education/entertainment.

Original Description

Using perceptually important points combined with unsupervised learning to find unique chart patterns for trading using python. We cluster the price structure patterns and select the high performing patterns using the martin ratio as an objective function. We perform a monte carlo permutation test to verify the results. We also perform a walkforward test. This video has a detailed explanation of the perceptually important points algorithm. Chart Pattern Algorithms: https://www.youtube.com/watch?v=X31hyMhB-3s Links Full Code: https://github.com/neurotrader888/TechnicalAnalysisAutomation Martin Ratio: https://www.tangotools.com/ui/ui.htm K-Means: https://en.wikipedia.org/wiki/K-means_clustering Silhouette: https://en.wikipedia.org/wiki/Silhouette_(clustering) Citations Chung, F.L., Fu, T.C., Luk, R., Ng, V., Flexible Time Series Pattern Matching Based on Perceptually Important Points. In: Workshop on Learning from Temporal and Spatial Data at IJCAI (2001) 1-7 Keogh, E., Lin, J., Truppel, W.: Clustering of Time Series Subsequences is Meaningless: Implications for Previous and Future Research. Proc. of ICDM, (2003) 115-122 Fu, Tc., Chung, Fl., Luk, R., Ng, Cm. (2005). Preventing Meaningless Stock Time Series Pattern Discovery by Changing Perceptually Important Point Detection. In: Wang, L., Jin, Y. (eds) Fuzzy Systems and Knowledge Discovery. FSKD 2005. Lecture Notes in Computer Science(), vol 3613. Springer, Berlin, Heidelberg. Peter Rousseeuw. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math., 20(1):53–65, November 1987. The content covered on this channel is NOT to be considered as any financial or investment advice. Past results are not necessarily indicative of future results. This content is purely for education/entertainment.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

I Spent Weeks Looking for a Research Gap Before I Realized I Was Searching the Wrong Way
Learn how to effectively find research gaps by changing your approach, a crucial skill for AI researchers and academics
Medium · AI
ICMI 2026 Reviews [D]
Learn how to interpret ICMI 2026 reviews and improve your paper's acceptance chances
Reddit r/MachineLearning
Workshop submission for main conference paper under review [D]
Learn how to navigate submitting a paper to a non-archival workshop before the final decision of a main conference like ECCV
Reddit r/MachineLearning
Kept context-switching between arxiv, OpenReview, GitHub, and HuggingFace for every paper, so I built this. Chrome extension + website with everything inline, plus citation graph + SPECTER2 neighbors. 3M papers, free, feedback welcome [P]
Streamline your research with a new Chrome extension and website that integrates 3M papers from arxiv, OpenReview, GitHub, and HuggingFace, including citation graphs and SPECTER2 neighbors, and provide feedback to improve it
Reddit r/MachineLearning
Up next
Beyond Big Vendors: ERP Systems Explained #shorts
Digital Transformation with Eric Kimberling
Watch →