This Author published in this journals
All Journal TEPIAN
Muhammad Jahron
Universitas Mulawarman

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Multivariate LSTM With the RSI-14 Technical Indicator for Stock Price Forecasting Muhammad Jahron; Joan Angelina Widians; Andi Tejawati
TEPIAN Vol. 7 No. 3 (2026): September 2026
Publisher : Politeknik Pertanian Negeri Samarinda

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.51967/tepian.v7i3.3919

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.