Building of Informatics, Technology and Science
Vol 8 No 1 (2026): June 2026

Perbandingan Kinerja Model ARIMA dan LSTM pada Multi-Horizon Forecasting Harga Emas dengan Evaluasi Mean Directional Accuracy

Muhamad Prasetyo Bayu Aji (Universitas Muhammadiyah Surakarta, Surakarta)
Aris Rakhmadi (Universitas Muhammadiyah Surakarta, Surakarta)



Article Info

Publish Date
30 Jun 2026

Abstract

Precious metals, particularly gold, represent one of the most sought-after value-preserving investment instruments, yet their dynamic price fluctuations present significant challenges, making gold a difficult-to-predict yet crucial asset for investment decision-making. This study aims to forecast gold prices by comparing the performance of Autoregressive Integrated Moving Average (ARIMA) and Long Short-Term Memory (LSTM) forecasting models through three testing scenarios: single-step, multi-step forecasting, and rolling forecasting. This study utilizes 40 years of historical gold price data obtained from the public source Kaggle. The ARIMA model was implemented on stationary data, while LSTM was optimized with additional lag, volatility, and momentum features. Experimental results indicate that in the single-step scenario, both models produced equivalent accuracy with a MAPE below 1%. In the multi-step scenario, LSTM significantly outperformed ARIMA with a MAPE of 1.89% compared to 3.54%. In the rolling scenario, LSTM again performed better with a MAPE of 1.83% versus 3.52% for ARIMA. Conversely, ARIMA consistently recorded higher Mean Directional Accuracy (MDA) values across all scenarios, reaching 57.30% in the rolling forecast compared to LSTM's 46.07%, indicating ARIMA's advantage in identifying trend direction. This study concludes that the LSTM approach is more optimal for achieving numerical prediction precision over medium-term horizons, while the statistical ARIMA method is more reliable for accurately projecting market movement direction.

Copyrights © 2026






Journal Info

Abbrev

bits

Publisher

Subject

Computer Science & IT

Description

Building of Informatics, Technology and Science (BITS) is an open access media in publishing scientific articles that contain the results of research in information technology and computers. Paper that enters this journal will be checked for plagiarism and peer-rewiew first to maintain its quality. ...