BITCOIN PRICE PREDICTION WITH TECHNICAL INDICATORS: A HYBRID TRANSFORMER-RIDGE REGRESSION APPROACH
DOI:
https://doi.org/10.33480/jitk.v12i1.7789Keywords:
Bitcoin, Ridge Regression, Technical Indicators, Time Series Forecasting, TransformerAbstract
Bitcoin has emerged as the dominant cryptocurrency, exhibiting rapid adoption alongside extreme price volatility that complicates investment strategies, risk management, and regulatory decision-making. While prior hybrid studies have predominantly combined multiple deep learning components such as CNN–LSTM or Transformer–GRU architectures, the integration of a deep neural architecture with a regularized linear model remains underexplored in Bitcoin price forecasting. To address this gap, this study proposes a hybrid framework combining a Transformer neural network with Ridge Regression, wherein the Transformer captures nonlinear temporal dependencies while Ridge Regression introduces L2 regularization to mitigate overfitting and enhance interpretability—an integration explicitly motivated by the bias–variance trade-off. The model is trained on technical indicators including MACD, Bollinger Bands, and RSI, and an ensemble weighting parameter α is systematically optimized via grid search. Empirical evaluation demonstrates that the hybrid model consistently outperforms standalone baselines, achieving an MAE of 1,251.572, RMSE of 1,623.004, R² of 0.991, and MAPE of 1.701%, with performance differences confirmed statistically via the Diebold–Mariano test. Economic validation reveals that the hybrid model is the only strategy to demonstrate statistically significant directional accuracy, although absolute trading returns remain below passive benchmarks under trending market conditions—a dissociation consistent with established findings in financial forecasting research. These results indicate that the model's primary contribution lies in forecast reliability and directional signal quality rather than return maximization under simple trading rules. Sensitivity to macroeconomic shocks and computational demands remain limitations for real-time deployment, suggesting directions for future research.
Downloads
References
[1] O. Omole and D. Enke, “Deep learning for Bitcoin price direction prediction: models and trading strategies empirically compared,” Financ. Innov., vol. 10, no. 1, pp. 1–26, 2024, doi: 10.1186/s40854-024-00643-1.
[2] Y. Wang, G. Andreeva, and B. Martin-Barragan, “Machine learning approaches to forecasting cryptocurrency volatility: Considering internal and external determinants,” Int. Rev. Financ. Anal., vol. 90, no. August, p. 102914, 2023, doi: 10.1016/j.irfa.2023.102914.
[3] Z. C. Huang, I. Sangiorgi, and A. Urquhart, “Forecasting Bitcoin volatility using machine learning techniques,” J. Int. Financ. Mark. Institutions Money, vol. 97, 2024, doi: 10.1016/j.intfin.2024.102064.
[4] M. Lin, Y. Liu, and V. N. K. Sheng, “Analysis of the impact of macroeconomic factors on cryptocurrency returns - Based on quantile regression study,” Int. Rev. Econ. Financ., vol. 97, no. October 2024, p. 103757, 2025, doi: 10.1016/j.iref.2024.103757.
[5] A. Bouteska, M. Z. Abedin, P. Hajek, and K. Yuan, “Cryptocurrency price forecasting – A comparative analysis of ensemble learning and deep learning methods,” Int. Rev. Financ. Anal., vol. 92, no. November 2023, 2024, doi: 10.1016/j.irfa.2023.103055.
[6] L. Ø. Bergsli, A. F. Lind, P. Molnár, and M. Polasik, “Forecasting volatility of Bitcoin,” Res. Int. Bus. Financ., vol. 59, no. September 2021, 2022, doi: 10.1016/j.ribaf.2021.101540.
[7] C. Jin and Y. Li, “Cryptocurrency Price Prediction Using Frequency Decomposition and Deep Learning,” Fractal Fract., vol. 7, no. 10, pp. 1–29, 2023, doi: 10.3390/fractalfract7100708.
[8] E. Mahdi, C. Martin-Barreiro, and X. Cabezas, “A Novel Hybrid Approach Using an Attention-Based Transformer + GRU Model for Predicting Cryptocurrency Prices,” Mathematics, vol. 13, no. 9, pp. 1–19, 2025, doi: 10.3390/math13091484.
[9] R. Bourday, I. Aatouchi, M. A. Kerroum, and A. Zaaouat, “Cryptocurrency Forecasting Using Deep Learning Models: A Comparative Analysis,” HighTech Innov. J., vol. 5, no. 4, pp. 1055–1067, 2024, doi: 10.28991/HIJ-2024-05-04-013.
[10] A. Jenefa, M. Mugilarasan, T. M. Thiyagu, R. Catherine Joy, P. Santhiya, and K. Vidhya, “DL-Crypto: Deep Learning Techniques for Cryptocurrency Price Prediction,” 2025 8th Int. Conf. Circuit, Power Comput. Technol. ICCPCT 2025, pp. 1763–1768, 2025, doi: 10.1109/ICCPCT65132.2025.11176771.
[11] A. Tanwar and V. Kumar, “Prediction of Cryptocurrency prices using Transformers and Long Short term Neural Networks,” 2022 Int. Conf. Intell. Controll. Comput. Smart Power, ICICCSP 2022, pp. 1–4, 2022, doi: 10.1109/ICICCSP53532.2022.9862436.
[12] P. K. Nagula and C. Alexakis, “A new hybrid machine learning model for predicting the bitcoin (BTC-USD) price,” J. Behav. Exp. Financ., vol. 36, p. 100741, 2022, doi: 10.1016/j.jbef.2022.100741.
[13] O. Omole and D. Enke, “Using machine and deep learning models, on-chain data, and technical analysis for predicting bitcoin price direction and magnitude,” Eng. Appl. Artif. Intell., vol. 154, no. November 2024, p. 111086, 2025, doi: 10.1016/j.engappai.2025.111086.
[14] A. Golnari, M. H. Komeili, and Z. Azizi, “Probabilistic deep learning and transfer learning for robust cryptocurrency price prediction,” Expert Syst. Appl., vol. 255, no. March, 2024, doi: 10.1016/j.eswa.2024.124404.
[15] D. L. John, S. Binnewies, and B. Stantic, “Cryptocurrency Price Prediction Algorithms: A Survey and Future Directions,” Forecasting, vol. 6, no. 3, pp. 637–671, 2024, doi: 10.3390/forecast6030034.
[16] D. Lapitskaya, M. H. Eratalay, and R. Sharma, “Prediction of Cryptocurrency Prices with the Momentum Indicators and Machine Learning,” Comput. Econ., vol. 66, no. 3, pp. 2483–2501, 2025, doi: 10.1007/s10614-024-10784-1.
[17] M. Shahhosseini, G. Hu, and H. Pham, “Optimizing ensemble weights and hyperparameters of machine learning models for regression problems,” Mach. Learn. with Appl., vol. 7, no. January, p. 100251, 2022, doi: 10.1016/j.mlwa.2022.100251.
[18] M. Zatwarnicki and K. Zatwarnicki, “Timing Usage of Technical Analysis in the Cryptocurrency Market,” Appl. Sci., vol. 15, no. 23, p. 12802, Dec. 2025, doi: 10.3390/app152312802.
[19] A. Kumar, N. Sharma, R. Chauhan, and M. Sharma, “Predicting Cryptocurrency Prices: An Exploration of Blockchain’s Impact on Traditional Currency,” 2023 3rd Int. Conf. Smart Gener. Comput. Commun. Networking, SMART GENCON 2023, pp. 1–6, 2023, doi: 10.1109/SMARTGENCON60755.2023.10442230.
[20] J. Jacob and R. Varadharajan, “Robust Variance Inflation Factor: A Promising Approach for Collinearity Diagnostics in the Presence of Outliers,” Sankhya B, vol. 86, no. 2, pp. 845–871, Nov. 2024, doi: 10.1007/s13571-024-00342-y.
[21] I. Akouaouch and A. Bouayad, “A new deep learning approach for predicting high-frequency short-term cryptocurrency price,” Bull. Electr. Eng. Informatics, vol. 14, no. 1, pp. 513–523, 2025, doi: 10.11591/eei.v14i1.7377.
[22] D. L. John, S. Binnewies, and B. Stantic, “Identifying Optimal Window Size Configurations for Big Data Time Series Forecasting,” Proc. - 2024 IEEE Int. Conf. Big Data, BigData 2024, pp. 5138–5146, 2024, doi: 10.1109/BigData62323.2024.10825222.
[23] G. Dudek, P. Fiszeder, and W. Orzeszko, “Forecasting cryptocurrencies volatility using statistical and machine learning methods : A comparative study,” vol. 151, no. March 2023, 2024, doi: 10.1016/j.asoc.2023.111132.
[24] K. Murray, A. Rossi, D. Carraro, and A. Visentin, “On Forecasting Cryptocurrency Prices: A Comparison of Machine Learning, Deep Learning, and Ensembles,” Forecasting, vol. 5, no. 1, pp. 196–209, 2023, doi: 10.3390/forecast5010010.
[25] A. P. Pratiwi, R. V. H. Ginardi, and A. Saikhu, “Enhancing Electricity Consumption Prediction with Deep Learning through Advanced Data Splitting Techniques,” Int. J. Artif. Intell. Res., vol. 8, no. 2, p. 180, 2024, doi: 10.29099/ijair.v8i2.1204.
[26] M. Yousaf, M. Tariq, A. Jabbar, and S. Q. Jalil, “A Comprehensive Survey of Cryptocurrency Forecasting: Methods, Trends, and Challenges,” Dec. 03, 2024. doi: 10.20944/preprints202411.2330.v2.
[27] P. Giudici, A. Piergallini, M. C. Recchioni, and E. Raffinetti, “Explainable Artificial Intelligence methods for financial time series,” Phys. A Stat. Mech. its Appl., vol. 655, no. October, p. 130176, 2024, doi: 10.1016/j.physa.2024.130176.
[28] M. Sasikumar and E. D. Raj, “Investigating explainability of deep learning models for sequential data on stock price prediction,” Procedia Comput. Sci., vol. 258, pp. 4190–4201, 2025, doi: 10.1016/j.procs.2025.04.669.
[29] H. S. Htay, M. Ghahremani, and S. Shiaeles, “Enhancing Bitcoin Price Prediction with Deep Learning: Integrating Social Media Sentiment and Historical Data,” Appl. Sci., vol. 15, no. 3, 2025, doi: 10.3390/app15031554.
[30] M. N. Tahmid Akhand, M. Ahsan Habib, and K. M. Rokibul Alam, “Analyzing Cryptocurrency Price Trends for Real-Time Price Predictions,” 2023 26th Int. Conf. Comput. Inf. Technol. ICCIT 2023, pp. 1–6, 2023, doi: 10.1109/ICCIT60459.2023.10441450.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Dio Richard Prastiyo, Muhammad Zaky Darajat, Christian Sri Kusuma Aditya

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






-a.jpg)
-b.jpg)











