Prediksi Saham Berdasarkan Data Teknikal Serta Fundamental Menggunakan Algoritma XGBoost
DOI:
https://doi.org/10.47065/bulletincsr.v6i4.1126Keywords:
Feature Engineering; Machine Learning; Indonesia Banks; Stocks Forecast; Time Series; XGBoostAbstract
The capital market has an important role in the economy as a means of investment and fundraising, with banking sector stocks being one of the main contributors to market capitalization in Indonesia. However, the investment decision-making process often faces obstacles in the form of limited investors' ability to comprehensively analyze fundamental and technical data, as well as irrational behavior that causes decisions to be less than optimal. This conditions encourage the need for a more objective and data-driven approach to help predict stock price movements. The results of the model evaluation on the test data showed excellent performance: BCA obtained a MAPE of 2.8% and an R² of 0.9488; BNI with MAPE 3.06% and R² 0.8863; Bank Mandiri with a MAPE of 4.70% and R² 0.9114; and BRI with MAPE of 2.48% and R² 0.8872. Based on this model, the results of the share price prediction for 2026 show that BCA is predicted to experience a significant increase from IDR 7,756 (January) to IDR 7,846 (June), while Bank Mandiri is predicted to grow from IDR 5,211 (January) to IDR 5,930 (June). BNI and BRI are predicted to experience an increase in share prices, respectively from IDR 3,327 (January) to IDR 3,683 (June) and from IDR 4,124 (January) to IDR 4,541 (June). This research contributes by presenting a stock prediction model that combines technical and fundamental data at once, applied to four major Indonesian banks Bank Central Asia, Bank Rakyat Indonesia, Bank Mandiri, dan Bank Negara Indonesia in a single modeling framework. This approach has proven to produce good accuracy with an average MAPE of 3.13% and R² 0.919, as well as being a more objective alternative for investors in analyzing stock price movements. However, the prediction results obtained in this study are analytical tools and are not intended as direct investment recommendations.
Downloads
References
F. P. Sholikah, W. Putri, and R. M. Djangi, "Peranan Pasar Modal Dalam Perekonomian Negara Indonesia," ARBITRASE: Journal of Economics and Accounting, vol. 3, no. 2, pp. 341-345, Nov. 2022, doi: 10.47065/arbitrase.v3i2.496.
W. M. Utami, A.Iswanto, M.Zaenal “Tinjauan Kinerja Perbankan Indonesia terhadap Stabilitas Sistem Keuangan.” J.Ekonomika dan Dinamika Sosial, vol. 4, no. 2, pp. 1-20, 2025, , doi: 10.32455/joeds.v3432
M. H. Rasheed, A. Rafique, T. Zahid, and M. W. Akhtar, “Factors influencing investor’s decision making in Pakistan: Moderating the role of locus of control,” Rev. Behav. Finance, vol. 10, no. 1, pp. 70–87, Mar. 2018, doi: 10.1108/RBF-05-2016-0028.
B. Jange, “Prediksi Harga Saham Bank BCA Menggunakan XGBoost,”. Arbitr. J. Econ. Account., vol. 3, no. 2, pp. 231–237, Nov. 2022, doi: 10.47065/arbitrase.v3i2.495.
A.Fahmi, N.Rofiq, “A Comparative Analysis of XGBoost and Random Forest for Time Series Based Stock Price Prediction with Directional Movement Evaluation,” J. Terapan Informatika Nusantara., vol. 6, no. 12, pp. 2229–2235, 2026, DOI:10.47065/tin.v6i12.9197.
M.T. Kurniawan, I.Pratama, “Implementasi Xgboost Untuk Prediksi Saham,”. J. Mahasiswa Teknik Informatika, vol. 10, no. 2, pp. 3569–3574, April. 2026, doi.org/10.36040/jati.v10i2.17733 .
Tony, M.Ratchagit, L. Hiryanto, “Forecasting Indonesian Banking Stock Prices Using Prophet, XGBoost, and Ridge Regression: A Comparative Analysis,” J. Teknik Informatika, vol. 6, no. 4, pp. 2890–2901, August. 2025, doi: 10.52436/1.jutif.2025.6.4.4973.
R. Maida, N. P. Sakinah, and M. Anggraini, “Behavioral Finance: The Influence Of Psychological Bias On Investor Investment Decisions,” J. Islam. Econ. Finance, vol. 2, no. 3, pp. 1-15, 2026, doi.org/10.70248/joieaf.v2i3.3330.
E. Beyaz, F. Tekiner, X. Zeng, and J. Keane, “Comparing Technical and Fundamental Indicators in Stock Price Forecasting,” in 2018 IEEE 20th International Conference on High Performance Computing and Communications; IEEE 16th International Conference on Smart City; IEEE 4th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Exeter, United Kingdom: IEEE, Jun. 2018, pp. 1607–1613. doi: 10.1109/HPCC/SmartCity/DSS.2018.00262.
A. Rasyid, A. B. Muharam, and A. Solichin, “Prediksi Harga Saham Syariah Indonesia Berdasarkan Analisis Fundamental, Teknikal Dan Bandarmology Menggunakan Metode Random Forest,” JIPI J. Ilmu Penelitian dan Pembelajaran Informatika., vol. 10, no. 2, pp 1663-1677., May 2025, doi: 10.29100/jipi.v10i2.7855.
J. Fu, F. Xu, C. Zeng, and L. Zheng, “Free Cash Flows and Price Momentum,” J. Account. Audit. Finance, vol. 39, no. 3, pp. 726–753, Jul. 2024, doi: 10.1177/0148558X221091803.
Y. Ernawati and E. Purwaningsih, “Pengaruh Total Arus Kas, Debt To Equity Ratio Dan Return On Assets Terhadap Harga Saham,” J. Ilmiah MEA (Manajemen, Eknomi, dan Akutansi), vol. 6, no. 2, pp 32-43, 2022, doi.org/10.54964/liabilitas/. .
F. F. Kusbari and N. Adib, “The Effect of Stock Trading Volume, Inflation, Rupiah Exchange Rate, and Interest Rates on the Composite Stock Price Index (IHSG) 2022-2024” J. Research of Social Science, Economic and Management, vol. 5, no. 9, pp. 11378-11386, 2026, doi.org/10.59141/jrssem.v5i9.1397.
O. Guennioui, “Improving Global Stock Market Prediction with XGBoost”, Review of Economics and Finance, vol. 20, no. 1, pp. 2603-2610, 2023, doi.org/10.55365/1923.x2023.21.278 .
N. N. Ditya and N. N. Suli Asmara Yanti, “Return And Volatility Characteristics Of Cosmetic Company Stocks In Indonesia (2022–2024): A Descriptive Analysis,” J. Ilmu Manaj. JIMMU, vol. 10, no. 2, pp. 180–191, Oct. 2025, doi: 10.33474/jimmu.v10i2.24199.
R. N. Rahmawati and S. Agustin, “Pengaruh Variabel Fundamental Keuangan Terhadap Harga Saham Perusahaan Food And Beverages,” J.ilmu dan Riset Manajemen vol. 8, no. 3, pp 1-24, 2019, .
Y. Zhang, “Stock Price Prediction Method Based on XGboost Algorithm,” in Proceedings of the 2022 International Conference on Bigdata Blockchain and Economy Management (ICBBEM 2022), vol. 5, D. Qiu, Y. Jiao, and W. Yeoh, Eds., in Atlantis Highlights in Intelligent Systems,. , Dordrecht: Atlantis Press International BV, 2023, vol. 5, no. 5, pp. 595–603. doi: 10.2991/978-94-6463-030-5_60.
T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Aug. 2016, pp. 785–794. doi: 10.1145/2939672.2939785.
F. Winata, M. I. A. Tresnawan, G. Wijaya, and H. W. Aripradono, “Integrasi Feature Engineering dan SMOTE pada Algoritma Random Forest untuk Prediksi Kerusakan Chip RFID di Industri Sel Surya,”j.Information and System Research, vol. 7, no. 2, pp 599-609, 2026, doi.org/10.47065/josh.v7i2.9038 .
A. A. R. Reza and Muhammad Syaifur Rohman, “Prediction Stunting Analysis Using Random Forest Algorithm and Random Search Optimization,” J. Inform. Telecommun. Eng., vol. 7, no. 2, pp. 534–544, Jan. 2024, doi: 10.31289/jite.v7i2.10628.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Prediksi Saham Berdasarkan Data Teknikal Serta Fundamental Menggunakan Algoritma XGBoost
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Yoga Nur Pradana, Fitri Insani, Jasril Jasril, Siti Ramadhani

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).













