TEPIAN
Vol. 7 No. 3 (2026): September 2026

Multivariate LSTM With the RSI-14 Technical Indicator for Stock Price Forecasting

Muhammad Jahron (Universitas Mulawarman)
Joan Angelina Widians (Universitas Mulawarman)
Andi Tejawati (Universitas Mulawarman)



Article Info

Publish Date
01 Sep 2026

Abstract

Stock price forecasting is a key part of investment decision-making, especially for high-capitalization stocks such as PT Bank Central Asia Tbk. (BBCA). Accurate prediction remains challenging because complex market dynamics and nonlinear price movements influence stock prices. This study proposes a multivariate Long Short-Term Memory (LSTM) model that integrates the closing price and the RSI-14 technical indicator as input features to improve accuracy over conventional univariate approaches. We obtained historical data from the Yahoo Finance API covering January 2015 to December 2025, totaling 2,698 trading days after RSI-14 feature engineering. The dataset was split to 80:20 for training and testing, with MinMaxScaler normalization applied only to the training data to prevent data leakage. The LSTM model used 100 neurons with an input shape of (10, 2) and was trained using the Adam optimizer with early stopping at epoch 24 to avoid overfitting. Evaluation results show an RMSE of 169.72 IDR, an MAE of 134.68 IDR, a MAPE of 1.58%, and an R² of 0.9368, indicating a good regression-level fit. Adding the RSI-14 feature improved the regression metrics relative to a univariate closing-price-only LSTM. Given the modest trend-classification accuracy and the lack of trading back testing, transaction costs, or risk-adjusted performance measures, view the results as a methodological contribution rather than direct evidence of practical investment value. Future work could extend this research by exploring hybrid architectures that combine LSTM with attention mechanisms or Transformer-based models, and by validating the approach on other high-capitalization stocks to assess generalizability across market conditions.

Copyrights © 2026






Journal Info

Abbrev

tepian

Publisher

Subject

Computer Science & IT

Description

The purpose of TEPIAN is to publish original research studies directly relevant to computer science. TEPIAN encompasses the full spectrum of information technology and computer science, including information system, hardware technology, intelligent system, and multimedia applications. TEPIAN ...