A Study on Stock Graph Recognition Based on Wavelet Denoising and DTW Algorithm
The “classical pattern” of stock price formation has long been widely used in the determination of future price trends of stocks, and the identification and analysis of classical price patterns have an important guiding role in investors’ decision-making and trading. The wavelet transform is a usefu...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi Limited
2021-01-01
|
Series: | Mathematical Problems in Engineering |
Online Access: | http://dx.doi.org/10.1155/2021/6641749 |
Summary: | The “classical pattern” of stock price formation has long been widely used in the determination of future price trends of stocks, and the identification and analysis of classical price patterns have an important guiding role in investors’ decision-making and trading. The wavelet transform is a useful tool to remove some of the noise of time series because it has the characteristic of multiresolution. In this study, we propose a method for stock price pattern recognition based on the wavelet transform and dynamic time warp (DTW). A pattern recognition method with similar quantified results is developed to obtain accurate pattern recognition results. That is, using the wavelet transform to smooth the original price graph, and then using the DTW algorithm improved in this study to find the graph with the smallest distance from the target graph under the sliding window method, the identification and analysis of the target graph can be realized. In order to improve the recognition rate of the target graph, we preprocessed the raw price sequence using the moving average convergence and divergence (MACD) algorithm based on the control experiments set up in this study. The pattern recognition method used in this study will identify the price patterns of a certain time window as a whole, thus avoiding the problem of how to objectively select the important points that constitute a price pattern and the mathematical definition of different price patterns in the previous traditional methods. |
---|---|
ISSN: | 1024-123X 1563-5147 |