Indonesian Journal of Data and Science
Vol. 7 No. 2 (2026): Indonesian Journal of Data and Science

Hybrid Deep Learning Models For Gold Price Prediction: Enhancing Forecast In Volatile Financial Markets

Ni Luh Wiwik Sri Rahayu Ginantra (Institut Bisnis dan Teknologi Indonesia)
Ni Wayan Yeni Pratiwi (Institut Bisnis dan Teknologi Indonesia)
Christina Purnama Yanti (Institut Bisnis dan Teknologi Indonesia)
Wayan Gede Suka Parwita (Politeknik Negeri Bali)



Article Info

Publish Date
31 Jul 2026

Abstract

Introduction: Gold is widely regarded as a long-term store of value and a hedge against inflation, yet its short-term price volatility creates significant challenges for investment decision-making and requires accurate forecasting methods. This study evaluates a hybrid deep learning approach combining Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) to capture both short-term fluctuations and long-term temporal dependencies in gold price movements. Method: Historical daily gold closing-price data comprising 2,735 observations from 2015 to 2025 were collected and normalized using Min-Max Scaling. The data were divided chronologically into 80% training and 20% testing sets. A hybrid CNN–LSTM model was trained using the Adam optimizer with a learning rate of 0.0001, dropout of 0.2, a timestep of 30, and batch sizes of 16, 32, and 64. Model performance was evaluated using Root Mean Square Error (RMSE). Results and Discussion: The batch size of 16 achieved the best performance, producing the lowest validation RMSE of 0.0929 and an RMSE of 11.518535% after denormalization, outperforming batch sizes of 32 and 64. The model also followed actual gold-price trends more closely, while the inclusion of Dense and Dropout layers improved generalization. Conclusion: The CNN–LSTM hybrid model, particularly with a batch size of 16, provides an effective approach for forecasting volatile gold prices by integrating local pattern extraction with long-term temporal modeling.

Copyrights © 2026






Journal Info

Abbrev

ijodas

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Mathematics

Description

IJODAS provides online media to publish scientific articles from research in the field of Data Science, Data Mining, Data Communication, Data Security and Data ...