The Double-Layer Clustering Based on K-Line Pattern Recognition Based on Similarity Matching

Candlestick charts provide a visual representation of price trends and market sentiment, enabling investors to identify key trends, support, and resistance levels, thus improving the success rate of stock trading. The research presented in this paper aims to overcome the limitations of traditional candlestick pattern analysis, which is constrained by fixed pattern definitions, quantity limitations, and subjectivity in pattern recognition, thus improving its effectiveness in dynamic market environments. To address this, a two-layer clustering method based on a candlestick sequence simlarity matching model is proposed for identifying valid candlestick patterns and constructing a pattern library. First, the candlestick sequence similarity matching model is used to address the pattern matching issue; then, a two-layer clustering method based on the K-means algorithm is designed to identify valid candlestick patterns. Finally, a valid candlestick pattern library is built, and the predictive ability and profitability of some patterns in the library are evaluated. In this study, ten stocks from different industries and of various sizes listed on the Shanghai Stock Exchange were selected, using nearly 1000 days of their data as the test set. The predictive ability of some patterns in the library was evaluated using out-of-sample data from the same period. This selection method ensures the diversity of the dataset. The experimental results show that the proposed method can effectively distinguish between bullish and bearish patterns, breaking through the limitations of traditional candlestick pattern classification methods that rely on predefined patterns. By clearly distinguishing these two patterns, it provides clear buy and sell signals for investors, significantly improving the reliability and profitability of trading strategies.

Authors

Institutions

Publication Details

Journal
Information
Published
2024-12-23
DOI
https://doi.org/10.3390/info15120821
Primary Topic
Time Series Analysis and Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Double-Layer Clustering Based on K-Line Pattern Recognition Based on Similarity Matching

Yanrong Hu, Qingyang Liu, Xinglong Li, Hongjiu Liu
Information
Time Series Analysis and Forecasting
article

The Double-Layer Clustering Based on K-Line Pattern Recognition Based on Similarity Matching

Yanrong Hu, Qingyang Liu, Xinglong Li, Hongjiu Liu
article en

Abstract

Candlestick charts provide a visual representation of price trends and market sentiment, enabling investors to identify key trends, support, and resistance levels, thus improving the success rate of stock trading. The research presented in this paper aims to overcome the limitations of traditional candlestick pattern analysis, which is constrained by fixed pattern definitions, quantity limitations, and subjectivity in pattern recognition, thus improving its effectiveness in dynamic market environments. To address this, a two-layer clustering method based on a candlestick sequence simlarity matching model is proposed for identifying valid candlestick patterns and constructing a pattern library. First, the candlestick sequence similarity matching model is used to address the pattern matching issue; then, a two-layer clustering method based on the K-means algorithm is designed to identify valid candlestick patterns. Finally, a valid candlestick pattern library is built, and the predictive ability and profitability of some patterns in the library are evaluated. In this study, ten stocks from different industries and of various sizes listed on the Shanghai Stock Exchange were selected, using nearly 1000 days of their data as the test set. The predictive ability of some patterns in the library was evaluated using out-of-sample data from the same period. This selection method ensures the diversity of the dataset. The experimental results show that the proposed method can effectively distinguish between bullish and bearish patterns, breaking through the limitations of traditional candlestick pattern classification methods that rely on predefined patterns. By clearly distinguishing these two patterns, it provides clear buy and sell signals for investors, significantly improving the reliability and profitability of trading strategies.

InformationVol. 15(12)
Zhejiang A & F University (CN), University of Göttingen (DE)
Openalex Percentile: Top 74%
Time Series Analysis and Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.