Application of Temporal Fusion Transformer for Multivariate Forecasting of Indonesian Composite Stock Price Index
Main Article Content
Abstract
Accurate stock market index forecasting remains challenging because of complex temporal dependencies, high volatility, and uncertainty arising from dynamic financial conditions. This study investigates the application of the Temporal Fusion Transformer (TFT) to multivariate, multi-horizon forecasting of the Indonesian Composite Stock Price Index (IHSG). The proposed framework integrates historical IHSG movements, global financial indicators, technical indicators, and calendar features to generate point and probabilistic forecasts. Daily financial data from January 2000 to December 2025 were analyzed using a 252-trading-day historical input window to forecast the subsequent 30 trading days. Point-forecasting performance was evaluated using Mean Absolute Percentage Error (MAPE), whereas probabilistic performance was assessed using Quantile Risk (q-Risk). The TFT produced a MAPE of 13.723% over the 30-trading-day forecasting horizon. Its probabilistic forecasts maintained consistent quantile ordering, although further calibration is required to improve the reliability of uncertainty estimates. Variable selection analysis identified historical IHSG movements as the most influential predictive information, followed by the Relative Strength Index (RSI), lagged crude oil prices, volatility, and global market indicators, including movements in the S&P 500. The study contributes to financial forecasting research by demonstrating an interpretable deep learning framework that integrates point prediction, uncertainty representation, and variable importance analysis within a unified forecasting approach. The findings indicate that TFT can provide not only multi-horizon index forecasts but also transparent insights into the information structure underlying IHSG movements, thereby supporting more interpretable financial forecasting applications.

Citation Metrics:
Downloads
Citation Metrics & Similar Scopus Articles
-
Wang J. (2027)Analysis and Applications of Neuromorphic Memristors in Artificial Intelligence ComputingNano Micro Letters, 19(1)
-
Lee H. (2027)Low-Temperature All-Solid-State BatteriesNano Micro Letters, 19(1)
-
Gong X. (2027)Wearable Electronics for Precision Diagnosis Through Advanced Manufacturing and IntegrationNano Micro Letters, 19(1)
Article Details

Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
References
Andriyani, R. A., & Pimada, L. M. (2025). The influence of global risks on the Composite Index. Journal of Development Economic and Social Studies, 4(4), 1111–1124. https://doi.org/10.21776/jdess.2025.04.4.05
Fatmawati, A. K., Badriah, L. S., & Gunawan, D. S. (2024). Perkembangan Indeks Harga Saham Gabungan (IHSG) sebelum dan sesudah Krisis Ekonomi Global Tahun 2008. Journal of Economic, Management, Accounting and Technology (JEMATech), 7(1), 31–39. https://doi.org/10.32500/jematech.v7i1.5233
Fauziyah, E., Ispriyanti, D., & Tarno. (2021). Pemodelan dan Peramalan Indeks Harga Saham Gabungan (IHSG) menggunakan ARIMAX-TARCH. Jurnal Gaussian, 10(4), 595–604. https://doi.org/10.14710/j.gauss.10.4.595-604
Fitria, A. E., & Komara, E. F. (2026). Do macroeconomic factors matter for Indonesia’s stock market? Evidence from the Jakarta Composite Index. International Journal of Management, Entrepreneurship, Social Science and Humanities, 10(1), 16–34. https://doi.org/10.31098/ijmesh.v10i1.4142
Galena, M. V., Sediono, Mardianto, M. F. F., & Pusporani, E. (2025). Prediction analysis of Jakarta Composite Index movement using support vector regression method. G-Tech: Jurnal Teknologi Terapan, 9(1), 68–77. https://doi.org/10.70609/gtech.v9i1.5879
Hartanto, S., & Gunawan, A. A. S. (2024). Temporal fusion transformers for enhanced multivariate time series forecasting of Indonesian stock prices. International Journal of Advanced Computer Science and Applications, 15(7), 140–148. https://doi.org/10.14569/IJACSA.2024.0150713
Hidayat, R., & Sudjono. (2022). The effect of world gold price, world oil price, USD/IDR exchange rate, and inflation on the Joint Stock Price Index (JCI) on the Indonesia Stock Exchange (IDX). Scholars Bulletin, 8(1), 33–41. https://doi.org/10.36348/sb.2022.v08i01.005
Lim, B., Arık, S. Ö., Loeff, N., & Pfister, T. (2021). Temporal Fusion Transformers for interpretable multi-horizon time series forecasting. International Journal of Forecasting, 37(4), 1748–1764. https://doi.org/10.1016/j.ijforecast.2021.03.012
Lubis, F. S., Hanifah, & Mayuta, F. P. (2023). Analisis Peramalan (Forecasting) Jumlah Pemakaian Bahan Bakar PLTD Bengkalis pada PT PLN UP3 Dumai. Seminar Nasional Teknologi Informasi, Komunikasi dan Industri (SNTIKI 15), 254–264.
Lumbanbatu, M. T. G., Kartikasari, P., & Fakhriyana, D. (2025). Peramalan Indeks Harga Saham Gabungan (IHSG) dengan Metode Fuzzy Time Series Chen dan Fuzzy Time Series Cheng. Jurnal Gaussian, 14(1), 469–479. https://doi.org/10.14710/j.gauss.14.1.469-479
Najibullah. (2023). Pengaruh Indeks Global terhadap Indeks Harga Saham Gabungan (IHSG): Bukti Empiris menggunakan Data Harian. Jurnal Mahasiswa Akuntansi Samudra (JMAS), 4(4), 171–178.
Nurhasan, & Ghufron. (2026). Perbandingan Metode Temporal Fusion Transformer (TFT) dan Long Short-Term Memory (LSTM) dalam Prediksi Harga Saham Indonesia Berbasis Data Teknikal dan Fundamental. Applied Information Technology and Computer Science, 5(1), 118–125.
Otoritas Jasa Keuangan. (2019). Buku 3: Pasar Modal (Seri Literasi Keuangan Perguruan Tinggi).
Patriya, E., Latif, A., & Handayani. (2023). Peramalan Harga Saham Penutupan Indeks Harga Saham Gabungan (IHSG) menggunakan Algoritma Long Short-Term Memory (LSTM). Jurnal Ilmiah Ekonomi Bisnis, 28(2), 304–314. https://doi.org/10.35760/eb.2023.v28i2.7964
Tashman, L. J. (2000). Out-of-sample tests of forecasting accuracy: An analysis and review. International Journal of Forecasting, 16(4), 437–450. https://doi.org/10.1016/S0169-2070(00)00065-0
Tjen, Y. C. (2025). Peramalan IHSG dengan Metode ARIMA-GARCH dan LSTM pada Periode Sebelum, Masa dan Sesudah COVID-19 [Thesis, Universitas Islam Indonesia].
Tsai, C.-F., & Hsiao, Y.-C. (2010). Combining multiple feature selection methods for stock prediction: Union, intersection, and multi-intersection approaches. Decision Support Systems, 50(1), 258–269. https://doi.org/10.1016/j.dss.2010.08.028


















