Integrating Moving Average Indicators with Long Short-Term Memory Model in Bitcoin Price Forecasting
Abstract
Bitcoin price forecasting remains a challenging task due to the market's high volatility and complex nonlinear dynamics. This study proposes a novel forecasting framework by integrating Long Short-Term Memory (LSTM) networks with Moving Average (MA) indicators—specifically Simple Moving Average (SMA), Exponential Moving Average (EMA), and Weighted Moving Average (WMA)—as auxiliary input features to enhance model accuracy. The objective is to examine the frequency-specific effectiveness of these hybrid models across daily and high-frequency datasets. Using historical Bitcoin data from Bitstamp between January 2021 and December 2024, we conducted experiments at four epoch levels (50, 100, 150, 200) to determine optimal model configurations. Empirical results reveal that, on daily data, LSTM combined with a 10-period WMA achieves the lowest Mean Absolute Percentage Error (MAPE) of 2.1661% at 150 epochs, while for high-frequency data, the combination with a 10-period SMA yields superior performance with a MAPE of 0.4895%. Furthermore, increasing epochs beyond the optimal point led to performance degradation, indicating overfitting. Compared to the standalone LSTM model, our integrated approach demonstrates significantly improved adaptability to short-term fluctuations and heightened forecasting precision. This research contributes a comprehensive comparative analysis of MA-enhanced deep learning models for cryptocurrency price prediction, and offers practical insights for algorithmic traders, financial analysts, and decision-support systems in volatile digital asset markets.
Keywords
Full Text:
PDFReferences
Bakar, N.A., Rosbi, S., 2018. Weighted Moving Average of Forecasting Method for Predicting Bitcoin Share Price using High Frequency Data: A Statistical Method in Financial Cryptocurrency Technology. Int. J. Adv. Eng. Res. Sci. 5, 64–69. https://doi.org/10.22161/ijaers.5.1.11
Boongasame, L., Songram, P., 2023. Cryptocurrency price forecasting method using long short-term memory with time-varying parameters. Indones. J. Electr. Eng. Comput. Sci. 30, 435. https://doi.org/10.11591/ijeecs.v30.i1.pp435-443
Burzykowski, T., Geubbelmans, M., Rousseau, A.-J., Valkenborg, D., 2023. Validation of machine learning algorithms. Am. J. Orthod. Dentofacial Orthop. 164, 295–297. https://doi.org/10.1016/j.ajodo.2023.05.007
Chen, Z., Li, C., Sun, W., 2020. Bitcoin price prediction using machine learning: An approach to sample dimension engineering. J. Comput. Appl. Math. 365, 112395. https://doi.org/10.1016/j.cam.2019.112395
García-Medina, A., Aguayo-Moreno, E., 2024. LSTM–GARCH Hybrid Model for the Prediction of Volatility in Cryptocurrency Portfolios. Comput. Econ. 63, 1511–1542. https://doi.org/10.1007/s10614-023-10373-8
Jain, S., Choudhary, N., Jain, K., 2024. Outlier detection and imputation of missing data in stock related time series mulitivariate data using LSTM autoencoder. J. Integr. Sci. Technol. 12. https://doi.org/10.62110/sciencein.jist.2024.v12.761
Jerez, T., Kristjanpoller, W., 2020. Effects of the validation set on stock returns forecasting. Expert Syst. Appl. 150, 113271. https://doi.org/10.1016/j.eswa.2020.113271
Khumaidi, A., Kusmanto, P., Hikmah, N., 2024. Optimizing Bitcoin Price Predictions Using Long Short-Term Memory Algorithm: A Deep Learning Approach. Ilk. J. Ilm. 16, 38–45. https://doi.org/10.33096/ilkom.v16i1.1831.38-45
Latif, N., Selvam, J.D., Kapse, M., Sharma, V., Mahajan, V., 2023. Comparative Performance of LSTM and ARIMA for the Short-Term Prediction of Bitcoin Prices. Australas. Account. Bus. Finance J. 17, 256–276. https://doi.org/10.14453/aabfj.v17i1.15
Lee, M.-C., 2024. Bitcoin Trend Prediction with Attention-Based Deep Learning Models and Technical Indicators. Systems 12, 498. https://doi.org/10.3390/systems12110498
Murphy, J.J., 1999. Moving Averages, in: Technical Analysis of the Financial Markets: A Comprehensive Guide to Trading Methods and Applications. New York Institute of Finance, New York, pp. 195–196.
Nakamoto, S., 2008. Bitcoin: A Peer-to-Peer Electronic Cash System.
Pai, N., Ilango, V., 2020. LSTM Neural Network Model with Feature selection for Financial Time series Prediction, in: 2020 Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC). Presented at the 2020 Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), IEEE, Palladam, India, pp. 672–677. https://doi.org/10.1109/I-SMAC49090.2020.9243376
Rizvi, M.F., 2024. ARIMA Model Time Series Forecasting. Int. J. Res. Appl. Sci. Eng. Technol. 12, 3782–3785. https://doi.org/10.22214/ijraset.2024.62416
Sakariyahu, R., Lawal, R., Adigun, R., Paterson, A., Johan, S., 2024. One crash, too many: Global uncertainty, sentiment factors and cryptocurrency market. J. Int. Financ. Mark. Inst. Money 94, 102028. https://doi.org/10.1016/j.intfin.2024.102028
Souza, S.S.D., Silva, J.E., 2024. Application of LSTM recurrent neural networks for bitcoin price prediction. Rev. DELOS 17, e2602. https://doi.org/10.55905/rdelosv17.n61-062
Tripathy, N., Hota, S., Mishra, D., Satapathy, P., Nayak, S.K., 2024. Empirical Forecasting Analysis of Bitcoin Prices: A Comparison of Machine Learning, Deep Learning, and Ensemble Learning Models. Int. J. Electr. Comput. Eng. Syst., Volume 15, Number 1, 2024 15, 21–29.
Vakil, A., Jain, M., Joshi, S., Raghtate, Prof.A., 2024. Bitcoin Sentiment Analysis using Machine Learning Algorithms. INTERANTIONAL J. Sci. Res. Eng. Manag. 08, 1–14. https://doi.org/10.55041/IJSREM37305
Yang, R., 2023. Bitcoin price and return prediction based on LSTM. Theor. Nat. Sci. 26, 74–80. https://doi.org/10.54254/2753-8818/26/20241021
DOI: https://doi.org/10.47738/jads.v6i3.766
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)