Peramalan Multi-Step Indeks Harga Saham Gabungan Menggunakan Metode Bidirectional GRU Berbasis Encoder–Decoder dengan Mekanisme Attention

The Jakarta Composite Index (JCI) is an important indicator of the Indonesian capital market, characterized by fluctuating movements influenced by various economic factors, making JCI forecasting particularly challenging, especially in multi-step forecasting. This study aimed to implement a Bidirectional Gated Recurrent Unit (Bi-GRU) Encoder–Decoder model with an Attention mechanism for multi-step JCI forecasting. Historical JCI data consisting of Open, High, Low, and Price variables were divided into training and testing datasets using an 80:20 ratio. The research process included data normalization, sequence generation using a sliding window technique with 30 input time steps and 10 output time steps, and the construction of three-dimensional tensors as model inputs. The model was developed using a Bi-GRU Encoder–Decoder architecture with Scaled Dot-Product Attention and trained for 100 epochs with a batch size of 32. The model was evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE). The results showed that the model achieved an MAE of 196.02, an RMSE of 252.37, and a MAPE of 2.7%, indicating very good performance. In addition, the model effectively captured the actual data patterns and generated 10-day-ahead JCI forecasts that remained relatively stable within the range of 8.534–8.543 points. The Attention mechanism enabled the model to focus on important information from historical data, thereby improving the accuracy of multi-step JCI forecasting. Therefore, it can be concluded that the implementation of the Bi-GRU Encoder–Decoder model with an Attention mechanism is effective in improving the accuracy of multi-step JCI forecasting.

Authors

Institutions

Publication Details

Journal
Jurnal Informatika Dan Tekonologi Komputer (JITEK)
Published
2026-11-18
DOI
https://doi.org/10.55606/jitek.v6i3.12330
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Peramalan Multi-Step Indeks Harga Saham Gabungan Menggunakan Metode Bidirectional GRU Berbasis Encoder–Decoder dengan Mekanisme Attention

Isran K. Hasan, Dewi Rahmawaty Isa, Ady Priansyah Mooduto
1 links
Jurnal Informatika Dan Tekonologi Komputer (JITEK)
Stock Market Forecasting Methods
article

Peramalan Multi-Step Indeks Harga Saham Gabungan Menggunakan Metode Bidirectional GRU Berbasis Encoder–Decoder dengan Mekanisme Attention

Isran K. Hasan, Dewi Rahmawaty Isa, Ady Priansyah Mooduto
article en

Abstract

The Jakarta Composite Index (JCI) is an important indicator of the Indonesian capital market, characterized by fluctuating movements influenced by various economic factors, making JCI forecasting particularly challenging, especially in multi-step forecasting. This study aimed to implement a Bidirectional Gated Recurrent Unit (Bi-GRU) Encoder–Decoder model with an Attention mechanism for multi-step JCI forecasting. Historical JCI data consisting of Open, High, Low, and Price variables were divided into training and testing datasets using an 80:20 ratio. The research process included data normalization, sequence generation using a sliding window technique with 30 input time steps and 10 output time steps, and the construction of three-dimensional tensors as model inputs. The model was developed using a Bi-GRU Encoder–Decoder architecture with Scaled Dot-Product Attention and trained for 100 epochs with a batch size of 32. The model was evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE). The results showed that the model achieved an MAE of 196.02, an RMSE of 252.37, and a MAPE of 2.7%, indicating very good performance. In addition, the model effectively captured the actual data patterns and generated 10-day-ahead JCI forecasts that remained relatively stable within the range of 8.534–8.543 points. The Attention mechanism enabled the model to focus on important information from historical data, thereby improving the accuracy of multi-step JCI forecasting. Therefore, it can be concluded that the implementation of the Bi-GRU Encoder–Decoder model with an Attention mechanism is effective in improving the accuracy of multi-step JCI forecasting.

Jurnal Informatika Dan Tekonologi Komputer (JITEK)Vol. 6(3)
State University of Gorontalo (ID)
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon