Aplikasi G-Trend Berbasis LSTM untuk Prediksi Trend Continuation dan Pengambilan Keputusan Investasi Emas
Gold is widely regarded as a safe-haven investment with high daily volatility, making it difficult for investors to time transactions without objective projection tools. This study develops G-Trend, a web-based system that projects gold prices in Rupiah per gram and derives a trend continuation signal at daily and weekly horizons, complemented by an interactive chatbot. The system uses a two-layer Long Short-Term Memory (LSTM) model and a Flask backend that retrieves data directly from financial APIs without a permanent database. The chatbot, built on the Gemini API, explains the model outputs to users. On the test data, the daily model achieved an RMSE of Rp 39,517, a MAPE of 1.26%, and an R2 of 0.9904, while the weekly model achieved an RMSE of Rp 73,353, a MAPE of 2.51%, and an R2 of 0.9636. However, these errors are comparable to naive and drift baselines, so no price accuracy advantage is claimed. In an out-of-sample test over 22 trading days, directional accuracy was 72.7%. The contribution of this study lies in integrating daily and weekly predictions, trend continuation signals, and an explanatory chatbot into a single web system that can serve as an informational aid for gold investors.
Authors
- Ledy Elsera Astrianty
- Alwi Syahri Arjuna
Institutions
- Universitas Teknologi Yogyakarta (ID)
Publication Details
- Journal
- JTIM Jurnal Teknologi Informasi dan Multimedia
- Published
- 2026-11-25
- DOI
- https://doi.org/10.35746/jtim.v8i4.1230
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00