Claim Missing Document
Check
Articles

Found 2 Documents
Search

Application of Temporal Fusion Transformer for Multivariate Forecasting of Indonesian Composite Stock Price Index Dzikra Rahmi Deni; Nonong Amalita
Journal of Multidisciplinary Science: MIKAILALSYS Vol 4 No 3 (2026): Journal of Multidisciplinary Science: MIKAILALSYS
Publisher : Darul Yasin Al Sys

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.58578/mikailalsys.v4i3.12032

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.
A Comparative Analysis of Temporal Fusion Transformer and Long Short-Term Memory for the Forecasting of the Indonesia Composite Stock Price Index (IDX Composite) Dzikra Rahmi Deni; Nonong Amalita; Yenni Kurniawati; Zamahsari Martha
Journal of Multidisciplinary Science: MIKAILALSYS Vol 4 No 3 (2026): Journal of Multidisciplinary Science: MIKAILALSYS
Publisher : Darul Yasin Al Sys

Show Abstract | Download Original | Original Source | Check in Google Scholar

Abstract

Forecasting the Indonesia Composite Stock Price Index (IHSG) is challenging because of nonlinear price movements and changing market conditions. This study compared the forecasting performance of the Temporal Fusion Transformer (TFT) and Long Short-Term Memory (LSTM) models using daily observations from 4 January 2000 to 30 December 2025. Both models used the IHSG and five external variables as inputs, including the S&P 500, global gold prices, West Texas Intermediate crude oil prices, the USD/IDR exchange rate, and the CBOE Volatility Index. The models used a 252-session input window to forecast the next seven trading sessions. Data were partitioned chronologically into training (70%), validation (15%), and test (15%) sets. Forecast accuracy and bias were assessed on 6,601 matched date–horizon pairs, supplemented by analyses of variable importance and temporal attention. TFT achieved a mean absolute error of 580.63, a root mean squared error of 712.65, and a mean absolute percentage error of 7.82%, compared with 962.28, 1,055.30, and 13.16%, respectively, for LSTM. Both models underestimated the index on average. TFT’s nominal 80% prediction intervals achieved only 8.44% empirical coverage, with an average width of 409.50 index points and no quantile crossings. TFT produced more accurate point forecasts than the implemented LSTM baseline. Its low empirical coverage indicates that the prediction intervals require calibration.