A HYBRID FORECASTING MODEL FOR GOLD PRICE PREDICTION

Authors

  • Dr. Pooja PhD Senior Lecturer in Computing Department Westminster International University in Tashkent Author
  • Shakhzod Tulkinov MSc Associate Lecturer in Finance and Accounting Department Westminster International University in Tashkent Research area: Machine Learning, Financial Forecasting, Data Mining, Business Analytics Author

Abstract

Gold price forecasting remains a challenging task due to the nonlinear and dynamic nature of financial markets. While technical indicators are widely used to support investment decisions, their predictive performance is often limited when applied individually. This study proposes a hybrid forecasting framework that integrates traditional technical indicators with ensemble machine learning algorithms to improve the prediction of XAU/USD price movements. Historical daily gold price data spanning from July 2023 to March 2026 were collected, and a set of technical features, including the Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), MACD Signal, Bollinger Bands, and calendar-based variables, were engineered. Standalone technical indicator models were first evaluated as baseline benchmarks, followed by the implementation of Random Forest, XGBoost, and Gradient Boosting models. A 5-fold time series cross-validation strategy was employed to ensure robust model evaluation while preserving the chronological order of the data. The results show that ensemble machine learning models generally outperformed traditional technical indicator approaches. Among the baseline models, Bollinger Bands achieved the highest classification accuracy of 57.53%, while the proposed hybrid model combining Random Forest and Gradient Boosting achieved the best overall performance with an accuracy of 60.14%. Feature importance and SHAP analyses identified Bollinger Band variables, particularly the lower band (BB_Low), as the most influential predictors, emphasizing the importance of volatility-related information in gold price forecasting. The proposed framework demonstrates that combining technical indicators with ensemble machine learning techniques can improve directional prediction accuracy and provide a practical decision-support tool for financial market participants.

References

Amini, M. and Kalantari, M. (2024) ‘Gold price prediction using deep learning models: A hybrid CNN–BiLSTM approach’, Expert Systems with Applications, 237, 121615.

Baur, D.G. and Lucey, B.M. (2010) ‘Is gold a hedge or a safe haven? An analysis of stocks, bonds and gold’, Financial Review, 45(2), pp. 217–229.

Baur, D.G. and McDermott, T.K. (2010) ‘Is gold a safe haven? International evidence’, Journal of Banking and Finance, 34(8), pp. 1886–1898.

Beckmann, J., Berger, T. and Czudaj, R. (2015) ‘Does gold act as a hedge or a safe haven? New evidence from time-varying coefficient models’, Economic Modelling, 48, pp. 16–24

Bollinger, J. (2001) Bollinger on Bollinger Bands. New York: McGraw-Hill.

Breiman, L. (2001) ‘Random forests’, Machine Learning, 45(1), pp. 5–32.

Brock, W., Lakonishok, J. and LeBaron, B. (1992) ‘Simple technical trading rules and the stochastic properties of stock returns’, Journal of Finance, 47(5), pp. 1731–1764.

Chen, T. and Guestrin, C. (2016) ‘XGBoost: A scalable tree boosting system’, Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–794.

Chong, T.T.L. and Ng, W.K. (2008) ‘Technical analysis and the London Stock Exchange’, Applied Economics Letters, 15(14), pp. 1111–1114.

Fernando, J. (2025) ‘Relative Strength Index (RSI): What it is, how it works, and formula’. Investopedia. Available at: https://www.investopedia.com/terms/r/rsi.asp

Fidelity Investments (2026) ‘Bollinger Bands’. Available at: https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/bollinger-bands

Fidelity Investments (2026) ‘Relative Strength Index (RSI)’. Available at: https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/rsi

Fidelity Investments (2026) ‘The Moving Average Convergence/Divergence indicator’. Available at: https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/macd

Fischer, T. and Krauss, C. (2018) ‘Deep learning with long short-term memory networks for financial market predictions’, European Journal of Operational Research, 270(2), pp. 654–669.

Friedman, J.H. (2001) ‘Greedy function approximation: A gradient boosting machine’, Annals of Statistics, 29(5), pp. 1189–1232.

Ghosh, D., Levin, E.J., Macmillan, P. and Wright, R.E. (2004) ‘Gold as an inflation hedge?’, Studies in Economics and Finance, 22(1), pp. 1–25.

Gu, S., Kelly, B. and Xiu, D. (2020) ‘Empirical asset pricing via machine learning’, Review of Financial Studies, 33(5), pp. 2223–2273.

Gupta, R. (2025) ‘Disadvantages of limitations of technical analysis’. Available at: https://www.stockgro.club/blogs/trading/limitations-of-technical-analysis

Hoseinzade, E. and Haratizadeh, S. (2019) ‘CNN-based stock market prediction using technical indicators’, Expert Systems with Applications, 136, pp. 46–57.

Jiang, W. (2021) ‘Applications of machine learning in stock market prediction: A survey’, Journal of Physics: Conference Series, 1861(1), pp. 1–8.

Kim, K.J. (2003) ‘Financial time series forecasting using support vector machines’, Neurocomputing, 55(1–2), pp. 307–319.

Konur, O., Göçken, M. and Dosdoğru, A.T. (2024) ‘The role of technical indicators in machine learning-based financial forecasting’, Journal of Open Innovation: Technology, Market, and Complexity, 10(2), 100215.

Krauss, C., Do, X.A. and Huck, N. (2017) ‘Deep neural networks, gradient-boosted trees, random forests: Statistical arbitrage on the S&P 500’, European Journal of Operational Research, 259(2), pp. 689–702.

Krollner, B., Vanstone, B. and Finnie, G. (2010) ‘Financial time series forecasting with machine learning techniques: A survey’, European Symposium on Artificial Neural Networks, pp. 389–394.

Lo, A.W., Mamaysky, H. and Wang, J. (2000) ‘Foundations of technical analysis: Computational algorithms, statistical inference, and empirical implementation’, Journal of Finance, 55(4), pp. 1705–1765.

Ma, Z., Wang, X. and Hao, Y. (2023) ‘Development and application of a hybrid forecasting framework based on improved extreme learning machine for enterprise financing risk’, Expert Systems with Applications, 215, 119373.

Natekin, A. and Knoll, A. (2013) ‘Gradient boosting machines, a tutorial’, Frontiers in Neurorobotics, 7(21), pp. 1–21.

Neely, C.J., Rapach, D.E., Tu, J. and Zhou, G. (2014) ‘Forecasting the equity risk premium: The role of technical indicators’, Management Science, 60(7), pp. 1772–1791.

Nguyen, T.H. (2024) ‘Forecasting gold price using technical analysis indicators’, International Journal of Financial Studies, 12(1), 15.

Patel, J., Shah, S., Thakkar, P. and Kotecha, K. (2015) ‘Predicting stock and stock price index movement using trend deterministic data preparation and machine learning techniques’, Expert Systems with Applications, 42(1), pp. 259–268.

Sezer, O.B., Gudelek, M.U. and Ozbayoglu, A.M. (2020) ‘Financial time series forecasting with deep learning: A systematic literature review’, Applied Soft Computing, 90, 106181.

Vrtagic, S. and Mourched, M. (2025) ‘Hybrid machine learning models for commodity price forecasting: Evidence from gold markets’, International Journal of Computational Methods and Experimental Measurements, 13(1), pp. 45–60.

Zhang, X., Aggarwal, V. and Qi, G. (2017) ‘Stock price prediction via discovering multi-frequency trading patterns’, Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 2141–2149.

Downloads

Published

2026-07-05