| International Journal of Computer Applications |
| Foundation of Computer Science (FCS), NY, USA |
| Volume 187 - Number 137 |
| Year of Publication: 2026 |
| Authors: M. Surya, Nazura Javed, Farheen Fathima |
10.5120/ijca9d2637592be1
|
M. Surya, Nazura Javed, Farheen Fathima . Stock Opening and Closing Price Prediction using LSTM and Technical Indicators. International Journal of Computer Applications. 187, 137 ( Aug 2026), 40-47. DOI=10.5120/ijca9d2637592be1
Stock price prediction remains a challenging problem in financial forecasting due to the nonlinear, noisy, and highly dynamic nature of market behavior, influenced by a complex interplay of economic events, investor sentiment, macroeconomic policies, and hidden temporal patterns. Accurate prediction of stock prices can significantly benefit individual investors, portfolio managers, and financial institutions by enabling more informed decision-making and risk management. However, the stochastic and non-stationary characteristics of financial time series make reliable forecasting extremely difficult using conventional statistical methods. This paper presents a Long Short-Term Memory (LSTM) based multivariate forecasting framework for predicting the next day's opening and closing prices of four major U.S. equities The proposed framework does not solely rely on raw OHLCV (Open, High, Low, Close, Volume) data. It enriches the input feature space through systematic technical analysis, generating 10 additional indicators including Simple Moving Averages at 5, 10, and 20-day windows (MA5, MA10, MA20), Exponential Moving Average (EMA20), Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD) with its signal line, Bollinger Bands (upper and lower), Daily Return, and Volatility. The framework is evaluated using three standard regression metrics: Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and the coefficient of determination (R²). Experimental results across all four stocks demonstrate that the combination of technical indicator feature engineering with LSTM sequence learning produces meaningful forecasting performance.