Image-based time series trend classification using deep learning: A candlestick chart approach
More details
Hide details
1
Lublin University of Technology
Politechnika Lubelska
ul. Nadbystrzycka 38
20-618 Lublin
2
Faculty of Economics, Maria Curie-Skłodowska University, Plac Marii Curie-Skłodowskiej 5, 20-031 Lublin, Poland
Publication date: 2025-07-21
Corresponding author
Jakub Pizoń
Lublin University of Technology
Politechnika Lubelska
ul. Nadbystrzycka 38
20-618 Lublin
Adv. Sci. Technol. Res. J. 2025;
KEYWORDS
TOPICS
ABSTRACT
This study proposes a novel approach to financial time series classification by transforming numerical stock market data into candlestick chart images and analyzing them using deep convolutional neural networks (CNNs). Unlike traditional methods that rely on raw numeric sequences, our technique leverages image-based representations enriched with technical indicators (e.g., RSI, MACD, trend channels) to detect visual patterns associated with future price movements. The method is applied to daily price data from ten major publicly traded companies. A custom CNN architecture is trained to classify short-term trends (uptrend vs. downtrend) based on 30-day image windows. The model achieves a test accuracy of 92.83%, with F1-scores exceeding 92% for both classes. These results suggest that visual representations can effectively encode temporal and structural information in price data. While promising, the method’s performance may be sensitive to image resolution and labeling heuristics, which are discussed as potential limitations. Overall, this research demonstrates the feasibility and effectiveness of image-based deep learning in financial market forecasting.