Peramalan Harga Saham BBCA Menggunakan Bidirectional Long Short-Term Memory Berdasarkan Data Historis Open, High, Low, dan Close
DOI:
https://doi.org/10.54065/artificial.1993Keywords:
BBCA, Bi-LSTM, Deep Learning, OHLC, Peramalan Harga SahamAbstract
Pergerakan harga saham yang dinamis, berfluktuasi, dan mengalami perubahan tren menjadi tantangan dalam menghasilkan peramalan yang akurat. Penelitian ini bertujuan membangun dan mengevaluasi model Bidirectional Long Short-Term Memory (Bi-LSTM) untuk meramalkan harga saham PT Bank Central Asia Tbk (BBCA.JK) berdasarkan data historis Open, High, Low, dan Close (OHLC). Penelitian menggunakan pendekatan kuantitatif dengan desain pemodelan prediktif berbasis deep learning. Data historis periode Januari 2019 hingga Juni 2026 diperoleh dari Yahoo Finance. Tahapan penelitian meliputi pembersihan data, pengurutan berdasarkan waktu, normalisasi menggunakan Min-Max Scaling, pembentukan sequence melalui teknik sliding window, serta pembagian dataset menjadi 80% data latih, 10% validasi, dan 10% data uji. Model Bi-LSTM dilatih menggunakan optimizer Adam dengan fungsi kerugian Mean Squared Error (MSE), sedangkan kinerjanya dievaluasi menggunakan Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), dan Mean Absolute Percentage Error (MAPE). Hasil evaluasi yang dilaporkan menunjukkan nilai MAPE sebesar 1,82%, yang mengindikasikan tingkat kesalahan relatif rendah pada data pengujian. Hasil prediksi juga menunjukkan kemampuan model mengikuti kecenderungan umum pergerakan harga aktual, sedangkan proyeksi Juli 2026 hingga Juni 2027 memperlihatkan kecenderungan peningkatan harga. Dengan demikian, Bi-LSTM berpotensi digunakan sebagai pendekatan peramalan berbasis pola historis, tetapi hasil proyeksinya perlu diinterpretasikan secara hati-hati dengan mempertimbangkan faktor fundamental, sentimen pasar, dan kondisi ekonomi.
References
Azzurananda, R. F., Gusti, S. K., Haerani, E., & Cynthia, E. P. (2026). Prediksi harga saham BBCA menggunakan metode CNN, LSTM dan CNN-LSTM berbasis variasi timestep dan rasio split pada data OHLCV time series. Bulletin of Data Science, 5(3), 209–222. https://doi.org/10.47065/bulletinds.v5i3.10262
Babu, D. R., & Sathyanarayana, B. (2023). Design and implementation of technical analysis based LSTM model for stock price prediction. International Journal on Recent and Innovation Trends in Computing and Communication, 11(4s), 1–7. https://doi.org/10.17762/ijritcc.v11i4s.6301
Bendre, V., Khurge, D., Rajani, P. K., Katti, J., Kolte, M. T., & Nemade, S. (2024). Estimation of stock price using LSTM algorithm and sentiment analysis. Communications in Mathematics and Applications, 15(2), 679–695. https://doi.org/10.26713/cma.v15i2.2595
Buczynski, W., Cuzzolin, F., & Sahakian, B. (2021). A review of machine learning experiments in equity investment decision-making: Why most published research findings do not live up to their promise in real life. International Journal of Data Science and Analytics, 11(3), 221–242. https://doi.org/10.1007/s41060-021-00245-5
Budiharto, W. (2021). Data science approach to stock prices forecasting in Indonesia during Covid-19 using Long Short-Term Memory (LSTM). Journal of Big Data, 8, Article 47. https://doi.org/10.1186/s40537-021-00430-0
Chopra, R., & Sharma, G. D. (2021). Application of artificial intelligence in stock market forecasting: A critique, review, and research agenda. Journal of Risk and Financial Management, 14(11), Article 526. https://doi.org/10.3390/jrfm14110526
Dhokane, R. M., & Agarwal, S. (2024). LSTM deep learning based stock price prediction with Bollinger Band, RSI, MACD, and OHLC features. International Journal of Intelligent Systems and Applications in Engineering, 12(3), 1169–1176. https://www.ijisae.org/index.php/IJISAE/article/view/5396
Jiang, W. (2021). Applications of deep learning in stock market prediction: Recent progress. Expert Systems with Applications, 184, Article 115537. https://doi.org/10.1016/j.eswa.2021.115537
Josey, A., & Amrutha, N. (2024). Stock market prediction. Indian Journal of Data Mining, 4(1), 34–37. https://doi.org/10.54105/ijdm.A1641.04010524
Khasanah, A. U., Sulistiyasni, S., & Santoso, M. H. (2026). Baseline projection of outpatient visits using simple linear regression: A case study at RSU Ananda Purwokerto. Likelihood: Journal of Statistics and Its Application, 2(1), 67–77. https://doi.org/10.54065/likelihood.1660
Kumbure, M. M., Lohrmann, C., Luukka, P., & Porras, J. (2022). Machine learning techniques and data for stock market forecasting: A literature review. Expert Systems with Applications, 197, Article 116659. https://doi.org/10.1016/j.eswa.2022.116659
Liu, B., Yu, Z., Wang, Q., Du, P., & Zhang, X. (2022). Prediction of SSE Shanghai Enterprises index based on bidirectional LSTM model of air pollutants. Expert Systems with Applications, 204, Article 117600. https://doi.org/10.1016/j.eswa.2022.117600
Muhammad, R., & Nurhaida, I. (2025). Penerapan LSTM dalam deep learning untuk prediksi harga kopi jangka pendek dan jangka panjang. JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika), 10(1), 554–564. https://doi.org/10.29100/jipi.v10i1.5904
Putra, R. A., & Nurmawati, E. (2024). Prediction-based stock portfolio optimization using bidirectional long short-term memory (BiLSTM) and LSTM. Scientific Journal of Informatics, 11(3), 609–620. https://doi.org/10.15294/sji.v11i3.5941
Puteri, D. I. (2023). Implementasi Long Short Term Memory (LSTM) dan Bidirectional Long Short Term Memory (BiLSTM) dalam prediksi harga saham syariah. EULER: Jurnal Ilmiah Matematika, Sains dan Teknologi, 11(1), 35–43. https://doi.org/10.34312/euler.v11i1.19791
Puteri, D. I., Darmawan, G., & Ruchjana, B. N. (2024). Prediksi harga saham syariah menggunakan Bidirectional Long Short Term Memory (BiLSTM) dan algoritma Grid Search. Jambura Journal of Mathematics, 6(1), 39–45. https://doi.org/10.37905/jjom.v6i1.23297
Sidek, Z., Ahmad, S. S. S., & Teo, N. H. I. (2023). Associating deep learning and the news headlines sentiment for Bursa stock price prediction. Indonesian Journal of Electrical Engineering and Computer Science, 31(2), 1041–1049. https://doi.org/10.11591/ijeecs.v31.i2.pp1041-1049
Simamora, F. P., Purba, R., & Pasha, M. F. (2025). Optimisasi hyperparameter BiLSTM menggunakan Bayesian Optimization untuk prediksi harga saham. Jambura Journal of Mathematics, 7(1), 8–13. https://doi.org/10.37905/jjom.v7i1.27166
Teng, X., Zhang, X., & Luo, Z. (2022). Multi-scale local cues and hierarchical attention-based LSTM for stock price trend prediction. Neurocomputing, 505, 92–100. https://doi.org/10.1016/j.neucom.2022.07.016
Thakkar, A., & Chaudhari, K. (2021). A comprehensive survey on deep neural networks for stock market: The need, challenges, and future directions. Expert Systems with Applications, 177, Article 114800. https://doi.org/10.1016/j.eswa.2021.114800
Verma, K. (2024). Stock price prediction using RNN architecture: LSTM and GRU model of neural network. MUDRA: Journal of Finance and Accounting, 11(2), 19–36. https://doi.org/10.17492/jpi.mudra.v11i2.1122402
Wafda, A. (2024a). Artificial intelligence dalam prediksi dan manajemen bencana: Tinjauan literatur komprehensif. Journal Artificial: Informatika dan Sistem Informasi, 2(1), 10–24. https://doi.org/10.54065/artificial.542
Wafda, A. (2024b). Integrasi machine learning dalam ritel: Tinjauan komprehensif tentang prediksi harga, analisis data pelanggan, dan pemanfaatan media sosial. Journal Artificial: Informatika dan Sistem Informasi, 2(2), 90–106. https://doi.org/10.54065/artificial.543
Wang, S. (2023). A stock price prediction method based on BiLSTM and improved Transformer. IEEE Access, 11, 104211–104223. https://doi.org/10.1109/ACCESS.2023.3296308
Yafik, R., & Azhari, M. (2025). Analisis perbandingan metode LSTM dan BiLSTM untuk prediksi harga saham menggunakan Alpha Vantage. Jurnal Komputer Teknologi Informasi Sistem Komputer (JUKTISI), 4(3), 1549–1557. https://doi.org/10.62712/juktisi.v4i3.650
Zheng, H., Wang, H., & Chen, J. (2021). Evolutionary framework with bidirectional Long Short-Term Memory network for stock price prediction. Mathematical Problems in Engineering, 2021, Article 8850600. https://doi.org/10.1155/2021/8850600
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Yogie Alpindo, Harma Oktavia Lingga Wijaya, Nelly Khairani Daulay

This work is licensed under a Creative Commons Attribution 4.0 International License.
License and Copyright Agreement
- Authors retain copyright and other proprietary rights related to the article.
- Authors retain the right and are permitted to use the substance of the article in their own future works, including lectures and books.
- Authors grant the journal the right of first publication with the work simultaneously licensed under Creative Commons Attribution License (CC BY 4.0) 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 or self-archive 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.






