Prediksi IHSG Berbasis Web Menggunakan Metode Long Short-Term Memory (LSTM)
DOI:
https://doi.org/10.46880/jmika.Vol10No1.pp249-259Keywords:
LSTM, IHSG, Time Series Forecasting, Deep Learning, Web-based SystemAbstract
The Indonesia Composite Stock Price Index (IHSG) is one of the primary indicators used to measure the performance and stability of the capital market in Indonesia. The dynamic and non-linear characteristics of IHSG data make stock market prediction a challenging task when using conventional statistical methods. This study aims to develop a web-based IHSG prediction system using the Long Short-Term Memory (LSTM) method to improve prediction accuracy and provide an interactive forecasting platform for users. Historical IHSG data were collected from Yahoo Finance API using OHLCV (Open, High, Low, Close, Volume) variables. The data preprocessing stage included data cleaning, normalization using Min-Max Scaling, and sequence generation with the sliding window technique. Hyperparameter tuning was conducted by testing several configurations of window size, hidden units, learning rate, and epoch values. The best model configuration was obtained using a window size of 60, hidden units of 128, a learning rate of 0.01, and 74 epochs, resulting in RMSE of 51.9821, MAE of 39.8241, and MAPE of 0.559 %. Unlike previous studies that mainly focused on offline model evaluation, this research integrates the LSTM model into an interactive web-based prediction system equipped with visualization, AI forecasting, statistical evaluation, and batch prediction simulation features. The results indicate that the LSTM model is capable of producing accurate IHSG predictions and can be effectively implemented in a real-time web-based forecasting system.
References
Abdal, N. M., Mahande, R. D., Wahyuni, M. S., & Siddik, A. M. A. (2025). LSTM-Based Stock Price Forecasting Using RSI and MACD: A Case Study on BBRI. Journal of Embedded Systems, Security and Intelligent Systems, 6(2), 178–190. https://doi.org/10.59562/JESSI.V6I2.8518
Aryati, N. W. M., Wiguna, I. K. A. G., Putri, N. W. S., Widiartha, I. K. K., & Ginantra, N. L. W. S. R. (2024). Komparasi Metode LSTM dan GRU dalam Memprediksi Harga Saham. Jurnal Media Informatika Budidarma, 8(2), 1131–1140. https://doi.org/10.30865/MIB.V8I2.7342
Budiharto, W. (2021). Data science approach to stock price forecasting in Indonesia during Covid-19 using Long Short-Term Memory (LSTM). Journal of Big Data 2021 8:1, 8(1), 47-. https://doi.org/10.1186/S40537-021-00430-0
Chen, X., Cao, L., Cao, Z., & Zhang, H. W. (2024). A multi-feature stock price prediction model based on multi-feature calculation, LASSO feature selection, and a Ca-LSTM network. Connection Science, 36(1). https://doi.org/10.1080/09540091.2023.2286188
Crisnapati, P. N., Novayanti, P. D., & Pramana, D. (2025). LQ45 Index Stock Market Prediction: A Deep Learning Approach using LSTM with Bayesian Optimization. Jurnal Sistem Komputer Dan Informatika (JSON), 7(2), 239–248. https://doi.org/10.30865/JSON.V7I2.8925
Diqi, M., Diqi, M., & Hamzah, H. (2024). Improving Stock Price Prediction Accuracy with StacBi LSTM. JISKA (Jurnal Informatika Sunan Kalijaga), 9(1), 10–26. https://doi.org/10.14421/jiska.2024.9.1.10-26
Joddy, S. (2025). Comparative Analysis of CNN, LSTM, and CNN–LSTM for Indonesian Stock Prediction. Engineering, MAthematics and Computer Science Journal (EMACS), 7(3), 283–289. https://doi.org/10.21512/EMACSJOURNAL.V7I3.14326
Mahfud Al, A., Kurniasari, D., & Mustofa, U. (2020). Peramalan Data Time Series Seasonal Menggunakan Metode Analisis Spektral Berdasarkan data yang tersedia diperoleh model terbaik untuk peramalan penumpang pesawat di Bandar Udara Raden Intan II adalah Seasonal ARIMA (Jurnal Siger Matematika, 01(01).
Moghar, A., & Hamiche, M. (2020). Stock Market Prediction Using LSTM Recurrent Neural Network. Procedia Computer Science, 170, 1168–1173. https://doi.org/10.1016/j.procs.2020.03.049
Remetwa, D. P. A., Cahyadi, L., Ferdinand, F. V., Saputra, K. V. I., & Teja, K. (2025). Analysis of Long Short – Term Memory (LSTM) Parameters in Predicting IHSG. JOHME: Journal of Holistic Mathematics Education, 9(2), 213–224. https://doi.org/10.19166/JOHME.V9I2.10220
Saepulrohman, A., Chairunnas, A., Denih, A., & Yasibang, N. D. S. (2025). Optimization of Stock Price Prediction Using Long Short-Term Memory (LSTM) Algorithm and Cross-Industry Standard Process Approach for Data Mining (CRISP-DM). International Journal of Electronics and Communications Systems, 5(1), 19–30. https://doi.org/10.24042/IJECS.V5I1.26727
Downloads
Published
Issue
Section
License
Copyright (c) 2026 I Komang Agus Arta Cahyana, Ni Gusti Ayu Putu Harry Saptarini, Putu Desiana Wulaning Ayu

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.










