Pengembangan Sistem Prediksi Saham Menggunakan Model Hybrid Gated Recurrent Unit–Long Short-Term Memory Berbasis Integrasi Indikator Teknikal Konvensional
Abstract
Stock price prediction is a crucial aspect of investment decision-making in the Indonesian capital market. This study aims to design a hybrid Gated Recurrent Unit–Long Short-Term Memory (GRU–LSTM) model architecture integrated with technical indicators such as Moving Average Convergence Divergence, Moving Average, Exponential Moving Average, and Relative Strength Index to improve the accuracy and objectivity of predictions. Additionally, this study aims to optimize model performance through grid search and implement it into a Flask-based web application as a decision support system for investors. The system was developed using a research and development approach at the Yogyakarta University of Technology. Historical data on PT Bank Rakyat Indonesia (Persero) Tbk. (BBRI.JK) shares for the period from January 2, 2020, to October 17, 2025, was obtained through the Yahoo Finance API as the main dataset. The model was optimized to determine the best combination of hyperparameters. Evaluation was performed using the Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE) metrics. The test results show that the model achieved MAE 0.0241, MSE 0.0012, RMSE 0.0346, and MAPE 2.7%, indicating a high level of accuracy. The web application provides interactive visualization dashboard features, model development, and educational documentation. These findings confirm that the integration of deep learning with technical indicators is an effective solution for more measurable and systematic stock analysis.
Downloads
References
Agustina, R. (2021). Analisis Fundamental, Acuan Investasi Saham Jangka Panjang. DINAMIS: Jurnal Pengabdian Kepada Masyarakat, 1(1), 14–25. https://doi.org/10.33752/dinamis.v1i1.360
Dandi, M. K., & Kurniawan, R. (2025). Sistem Rekomendasi Pemilihan Saham Blue-Chip di Bursa Efek Indonesia Menggunakan Fuzzy Mamdani. 6(5), 462–472. https://doi.org/10.47065/tin.v6i5.8465
Dewi, P. K., Hutagalung, M., Dwi Pratama, V., & Afifah, Z. ’. (2025). Analisis Teknikal Pergerakan Harga Saham Untuk Mengambil Keputusan Investasi pada Saham Sektor Telekomunikasi yang Terdaftar di Bursa Efek Indonesia: Studi Kasus Saham XL Axiata Tbk (EXCL).
Firdaus, R. G. (2021a). Analisis Teknikal Saham Menggunakan Indikator RSI dan Bollinger Bands pada Saham Konstruksi. Jurnal Pasar Modal Dan Bisnis, 3(1), 15–26. https://doi.org/10.37194/jpmb.v3i1.60
Ghudafa Taufik Akbar, M., Panggabean, S., & Noor, M. (2022). Perbandingan Prediksi Harga Saham Dengan Menggunakan LSTM GRU Dengan Transformer. 11(1).
Hariyanti, I., Hafizh, V., Putra, C., Raharja, A. R., & Kunci, K. (2025). Prediksi Harga Saham Bbca Menggunakan Metode Long Short-Term Memory Dan Gated Recurrent Unit. Jurnal Responsif: Riset Sains &, 7. https://ejurnal.ars.ac.id/index.php/jti
Hwang, J. S., Lee, S. S., Gil, J. W., & Lee, C. K. (2024). Determination of Optimal Batch Size of Deep Learning Models with Time Series Data. Sustainability (Switzerland), 16(14). https://doi.org/10.3390/su16145936
Hyndman, R. J. (2025). Moving Averages. In M. Lovric (Ed.), International Encyclopedia of Statistical Science (pp. 1559–1562). Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-662-69359-9_383
Joshi, D. L. (2022). Use of Moving Average Convergence Divergence for Predicting Price Movements. International Research Journal of MMC, 3(4), 21–25. https://doi.org/10.3126/irjmmc.v3i4.48859
Kwanda, K., Herwindiati, D. E., Lauro, M. D., & Id, K. K. C. (2024). Perbandingan LSTM dan Bidirectional LSTM pada Sistem Prediksi Harga Saham Berbasis Website. R2J, 7(1). https://doi.org/10.38035/rrj.v7i1
Lestari, Ari. (2025). Pengaruh Faktor-Faktor Fundamental terhadap Harga Saham (Penelitian Empiris Saham Sektor Manufaktur). Co-Value Jurnal Ekonomi Koperasi dan kewirausahaan. 15(9). doi: 10.59188/covalue.v15i9.5101.
Luthfiansyah, R., & Wasito, B. (2023). Penerapan Teknik Deep Learning (Long Short Term Memory) dan Pendekatan Klasik (Regresi Linier) dalam Prediksi Pergerakan Saham BRI. In Jurnal Informatika dan Bisnis (Vol. 12, Issue 2).
Morales-Brotons, D., Vogels, T., & Hendrikx, H. (2024). Exponential Moving Average of Weights in Deep Learning: Dynamics and Benefits. http://arxiv.org/abs/2411.18704
Pirani, M., Thakkar, P., Jivrani, P., Bohara, M. H., & Garg, D. (2022). A Comparative Analysis of ARIMA, GRU, LSTM and BiLSTM on Financial Time Series Forecasting. 2022 IEEE International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE), 1–6. https://doi.org/10.1109/ICDCECE53908.2022.9793213
Silalahi, R. N., & Muljono, M. (2024). Perbandingan Kinerja Metode Linear Regression, LSTM dan GRU Untuk Prediksi Harga Penutupan Saham Coco-Cola. Komputika : Jurnal Sistem Komputer, 13(2), 201–211. https://doi.org/10.34010/komputika.v13i2.12265
Supriatna, D., & Anggai, S. (2025a). Analisis Prediksi Curah Hujan di Kota Tangerang Menggunakan Metode LSTM dan GRU. https://doi.org/10.55382/jurnalpustakaai.v5i2.1068
Wang, H. (2025). Enhancing Stock Price Forecasting Accuracy Using LSTM and Bi-LSTM Models. ITM Web of Conferences, 70, 04008. https://doi.org/10.1051/itmconf/20257004008
Yu, Y. (2025a). LSTM-Based Time Series Prediction Model: A Case Study with YFinance Stock Data. ITM Web of Conferences, 70, 03015. https://doi.org/10.1051/itmconf/20257003015
Zhang, J., & Yan, L. (2025). GRU-Enhanced Attention Mechanism for LSTM in Hybrid CNN-LSTM Models for Stock Prediction. Journal of Global Trends in Social Science, 2(3). https://doi.org/10.70731/rzvs8j53
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Pengembangan Sistem Prediksi Saham Menggunakan Model Hybrid Gated Recurrent Unit–Long Short-Term Memory Berbasis Integrasi Indikator Teknikal Konvensional
Pages: 1296-1307
Copyright (c) 2026 Fajar Hanggoro Dwi Aryanto, Rr. Hajar Puji Sejati, Fadil Indra Sanjaya

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).













