Stacking Hybrid Framework Using Random Forest, Gradient Boosting, and Ridge Regression for Bitcoin Price Forecasting

Authors

  • Akhlis Munazilin Doctoral Program of Information Systems, Universitas Diponegoro, Indonesia
  • Mochamad Agung Wibowo Doctoral Program of Information Systems, Universitas Diponegoro, Indonesia
  • Rizky Parlika Department of Informatics, University of Pembangunan Nasional “Veteran” Jawa Timur, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.5.5745

Keywords:

Bitcoin, Data Mining, Hybrid Stacking, Machine Learning, Time Series Forecasting

Abstract

This research addresses a significant technical gap in Bitcoin price forecasting, specifically the extrapolation failure encountered by Deep Learning and tree-based models when prices reach unprecedented record highs (All-Time Highs). Conventional models often struggle to predict values outside their historical training range, leading to significant inaccuracies during price discovery phases. To solve this issue, a Stacking Hybrid framework is proposed, integrating non-linear components (Random Forest and Gradient Boosting) to capture volatility with a linear component (Ridge Regression) to maintain growth trends. The study utilizes 5,406 daily Bitcoin price observations from 2010 to 2025 and extracts seven key technical features, including the Relative Strength Index (RSI) and Simple Moving Averages (SMA), using the Patterned Dataset technique. Experimental results demonstrate that while single tree-based models fail during the aggressive market phases of 2025 due to their rigid data partitioning, the proposed Stacking Hybrid model achieves superior performance with a Mean Absolute Error (MAE) of $936 and a correlation coefficient ( ) of 0.99. The integration of Ridge Regression as a meta-learner successfully enables price extrapolation beyond historical limits. This framework contributes a robust methodology to the field of Computer Science for handling highly volatile time-series data in digital asset markets.

Downloads

Download data is not yet available.

References

E. Millikan, P. Subramanian, and M. H. Joseph, “Bitcoin Vision: Using Machine Learning and Data Mining to Predict the Short-Term and Long-Term Price of Bitcoin,” Webology, vol. 18, no. Special Issue, pp. 751–760, 2021, doi: 10.14704/WEB/V18SI05/WEB18259.

A. Munazilin, M. A. Wibowo, and R. Parlika, “Bitcoin Price Prediction : A Systematic Literature Review and Bibliometric Analysis,” 2025 9th Int. Conf. Inf. Technol. Inf. Syst. Electr. Eng., pp. 277–282, 2025, doi: 10.1109/ICITISEE68184.2025.11355086.

P. K. Narayan, S. Narayan, R. Eki Rahman, and I. Setiawan, “Bitcoin price growth and Indonesia’s monetary system,” Emerg. Mark. Rev., vol. 38, no. November 2018, pp. 364–376, 2019, doi: 10.1016/j.ememar.2018.11.005.

S. Mulyani, S. Mariyam, and H. H. T. Le, “Legal Construction of Crypto Assets as Objects of Fiduciary Collateral,” Law Reform J. Pembaharuan Huk., vol. 19, no. 1, pp. 25–39, 2023, doi: 10.14710/lr.v19i1.52697.

R. I. Gunawan, A. Wahana, D. S. A. Maylawati, C. Slamet, C. N. Alam, and N. D. Arianti, “Sentiment Analysis on the Pros and Cons of Cryptocurrencies using the Multinomial Naïve Bayes Algorithm,” 2023 IEEE 9th Int. Conf. Comput. Eng. Des. ICCED 2023, pp. 1–6, 2023, doi: 10.1109/ICCED60214.2023.10425409.

J. Lee, C. A. Parlour, and U. Rajan, “An Introduction to Cryptocurrencies,” in The Palgrave Handbook of Technological Finance, Palgrave Macmillan, 2021, pp. 1–22. doi: 10.1007/978-3-030-61558-1_1.

G. Wang and K. Hausken, “A Bitcoin price prediction model assuming oscillatory growth and lengthening cycles,” Cogent Econ. Financ., vol. 10, no. 1, 2022, doi: 10.1080/23322039.2022.2087287.

B. B. Biki, M. Sakamoto, A. Takei, M. J. Alam, M. Riajuliislam, and S. Showaibuzzaman, “Analysis and Forecasting of Cryptocurrency Markets Using Bayesian and LSTM-Based Deep Learning Models,” Informatics, vol. 12, no. 3, 2025, doi: 10.3390/informatics12030087.

M. J. Hamayel and A. Y. Owda, “A Novel Cryptocurrency Price Prediction Model Using GRU, LSTM and bi-LSTM Machine Learning Algorithms,” AI, vol. 2, no. 4, pp. 477–496, 2021, doi: 10.3390/ai2040030.

N. Latif, J. J. D. Selvam, M. Kapse, V. Sharma, and V. C. Mahajan, “Comparative Performance of LSTM and ARIMA for the Short-Term Prediction of Bitcoin Prices,” Australas. Accounting, Bus. Financ. J., vol. 17, no. 1, pp. 256–276, 2023, doi: 10.14453/aabfj.v17i1.15.

K. Ateeq, A. A. Al Zarooni, A. Rehman, and M. A. Khan, “A Mechanism for Bitcoin Price Forecasting using Deep Learning,” Int. J. Adv. Comput. Sci. Appl., vol. 14, no. 8, pp. 441–448, 2023, doi: 10.14569/IJACSA.2023.0140849.

I. M. Nur, R. Nugrahanto, and F. Fauzi, “Cryptocurrency Price Prediction: A Hybrid Long Short-Term Memory Model With Generalized Autoregressive Conditional Heteroscedasticity,” Barekeng, vol. 17, no. 3, pp. 1575–1584, 2023, doi: 10.30598/barekengvol17iss3pp1575-1584.

K. N. Myint and M. S. Khaing, “Predictive Analytics System for Time Series Stock Data Using LSTM with Residual Unit and Attention Mechanism,” Int. J. Intell. Eng. Syst., vol. 18, no. 1, pp. 1137–1150, 2025, doi: 10.22266/ijies2025.0229.82.

I. E. Livieris, N. Kiriakidou, S. Stavroyiannis, and P. Pintelas, “An advanced CNN-LSTM model for cryptocurrency forecasting,” Electron., vol. 10, no. 3, pp. 1 – 16, 2021, doi: 10.3390/electronics10030287.

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.

M. Jiménez-Carrión and G. A. Flores-Fernandez, “Machine Learning Algorithms in Predicting Prices in Volatile Cryptocurrency Markets,” HighTech Innov. J., vol. 6, no. 1, pp. 257 – 272, 2025, doi: 10.28991/HIJ-2025-06-01-017.

K. Astudillo, M. A. Flores, M. Soliz, G. P. Ferreira, and J. L. Varela-Aldas, “A Hybrid GAS-ATT-LSTM Architecture for Predicting Non-Stationary Financial Time Series,” Mathematics, vol. 13, no. 14, 2025, doi: 10.3390/math13142300.

S. Karam, “On Integrating Technical Analysis with Machine Learning for Cryptocurrency Price Forecasting,” Contemp. Math., vol. 6, no. 1, pp. 1168–1178, 2025, doi: 10.37256/cm.6120256080.

E. Koosha, M. Seighaly, and E. Abbasi, “Measuring the Accuracy and Precision of Random Forest, Long Short-Term Memory, and Recurrent Neural Network Models in Predicting the Top and Bottom of Bitcoin price,” J. Math. Model. Financ., vol. 2, no. 2, pp. 107 – 128, 2022, doi: 10.22054/jmmf.2023.15183.

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.

R. Parlika, R. R. Isnanto, and B. Rahmat, “Patterned Dataset Model Optimization to Predict Bitcoin IDR Price Using Long Short-Term Memory,” Int. J. Informatics Vis., vol. 9, no. 6, pp. 2722–2733, 2025, doi: 10.62527/joiv.9.6.4036.

M. Wei, G. Sermpinis, and C. Stasinakis, “Forecasting and trading Bitcoin with machine learning techniques and a hybrid volatility/sentiment leverage,” J. Forecast., vol. 42, no. 4, pp. 852 – 871, 2023, doi: 10.1002/for.2922.

R. Parlika, Mustafid, and B. Rahmat, “Minimum, Maximum, and Average Implementation of Patterned Datasets in Mapping Cryptocurrency Fluctuation Patterns,” Int. J. Informatics Vis., vol. 8, no. 1, pp. 378–386, 2024, doi: 10.62527/joiv.8.1.1543.

R. Hasanli and M. Dursun, “Integrating High-Dimensional Technical Indicators into Machine Learning Models for Predicting Cryptocurrency Price Movements and Trading Performance: Evidence from Bitcoin, Ethereum, and Ripple,” FinTech, vol. 4, no. 4, 2025, doi: 10.3390/fintech4040077.

Y. Chen, J. Polpinij, G. Somprasertsri, and T. Khamket, “Unified Predictive Model for Predicting the Closing Price of Various Cryptocurrencies,” ICIC Express Lett. Part B Appl., vol. 16, no. 6, pp. 589–598, 2025, doi: 10.24507/icicelb.16.06.589.

M. Azamjon, O. Sattarov, and J. Cho, “Forecasting Bitcoin Volatility Through on-Chain and Whale-Alert Tweet Analysis Using the Q-Learning Algorithm,” IEEE Access, vol. 11, pp. 108092–108103, 2023, doi: 10.1109/ACCESS.2023.3317899.

Z. Z. Lua, C. K. Seow, R. C. B. Chan, Y. Cai, and Q. Cao, “Automated Bitcoin Trading dApp Using Price Prediction from a Deep Learning Model,” Risks, vol. 13, no. 1, 2025, doi: 10.3390/risks13010017.

A. Rahaman, A. K. Bitto, K. B. M. B. Biplob, M. H. I. Bijoy, N. Jahan, and I. Mahmud, “Bitcoin trading indicator: a machine learning driven real time bitcoin trading indicator for the crypto market,” Bull. Electr. Eng. Informatics, vol. 12, no. 3, pp. 1762–1772, 2023, doi: 10.11591/eei.v12i3.4486.

N. Tripathy et al., “Bitcoin volatility forecasting: a comparative analysis of conventional econometric models with deep learning models,” Int. J. Electr. Comput. Eng., vol. 15, no. 1, pp. 614–623, 2025, doi: 10.11591/ijece.v15i1.pp614-623.

G. Kim, D. Shin, J. G. Choi, and S. Lim, “A Deep Learning-Based Cryptocurrency Price Prediction Model That Uses On-Chain Data,” IEEE Access, vol. 10, pp. 56232–56248, 2022, doi: 10.1109/ACCESS.2022.3177888.

K. Pakizeh, A. Malek, M. Karimzadeh, and H. H. Razi, “Assessing machine learning performance in cryptocurrency market price prediction,” J. Math. Model. Financ., vol. 2, no. 1, pp. 1 – 25, 2022, doi: 10.22054/jmmf.2022.14563.

S. Arslan, “Bitcoin Price Prediction Using Sentiment Analysis and Empirical Mode Decomposition,” Comput. Econ., no. 0123456789, 2024, doi: 10.1007/s10614-024-10588-3.

H. Alnami, M. Mohzary, B. Assiri, and H. Zangoti, “An Integrated Framework for Cryptocurrency Price Forecasting and Anomaly Detection Using Machine Learning,” Appl. Sci., vol. 15, no. 4, 2025, doi: 10.3390/app15041864.

A. M. Sharifi, K. Khalili Damghani, F. Abdi, and S. Sardar, “A Hybrid Model for Predicting Bitcoin Price Using Machine Learning and Metaheuristic Algorithms,” J. Appl. Res. Ind. Eng., vol. 9, no. 1, pp. 134–150, 2022, doi: 10.22105/jarie.2021.291175.1343.

E. Nithya, B. Sunil Raj, K. Akilan, and M. Sakthivel, “Cryptocurrency Price Prediction Using Machine Learning,” in 2025 International Conference on Computing and Communication Technologies, ICCCT 2025, Institute of Electrical and Electronics Engineers Inc., 2025. doi: 10.1109/ICCCT63501.2025.11019719.

A. K. Wijaya, A. F. Gaib, I. G. Ngurah, and B. Ferry, “Optimising Bitcoin Price Forecasting Using Lstm , Gru , Prophet , Var , And Es Multi-Model Approaches,” vol. 6, no. 3, pp. 1095–1112, 2025.

H. Jung, H. Lee, and J. H. Kim, “Detecting Bitcoin Sentiment: Leveraging Language Model Applications in Sentiment Analysis for Bitcoin Price Prediction,” Neural Process. Lett., vol. 57, no. 5, 2025, doi: 10.1007/s11063-025-11787-1.

F. Feizian and B. Amiri, “Cryptocurrency Price Prediction Model Based on Sentiment Analysis and Social Influence,” IEEE Access, vol. 11, pp. 142177–142195, 2023, doi: 10.1109/ACCESS.2023.3342688.

M. El Abaji and R. A. Haraty, “Enhancing Bitcoin Forecast Accuracy by Integrating AI, Sentiment Analysis, and Financial Models,” Int. J. Comput. Digit. Syst., vol. 17, no. 1, 2025, doi: 10.12785/ijcds/1571026011.

N. P. Patel et al., “Fusion in Cryptocurrency Price Prediction: A Decade Survey on Recent Advancements, Architecture, and Potential Future Directions,” IEEE Access, vol. 10, pp. 34511–34538, 2022, doi: 10.1109/ACCESS.2022.3163023.

H. S. Htay, M. Ghahremani, and S. N. 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.

Additional Files

Published

2026-10-10

How to Cite

[1]
A. Munazilin, M. A. . Wibowo, and R. . Parlika, “Stacking Hybrid Framework Using Random Forest, Gradient Boosting, and Ridge Regression for Bitcoin Price Forecasting”, J. Tek. Inform. (JUTIF), vol. 7, no. 5, pp. 4368–4380, Oct. 2026.