Skip to content
Open access

Predicting Stock Market Trends Using Machine Learning: A Sector-Wise Comparative Study of ARIMA, Linear Regression, and LSTM Models on NSE-Listed Companies

Aug 2026 · Iconic research and engineering journals · 0 citations · 22 references

TL;DR

The study concludes that the most suitable forecasting technique depends on the nature of the input data and forecast horizon, and that model outputs should support, rather than replace, broader investment judgement.

Abstract

-This study, titled “Predicting Stock Market Trends Using Machine Learning,” examines stock price behaviour across five major sectors of the Indian stock market — Information Technology, Banking, Energy, Automobile, and Pharmaceuticals — using historical daily price data of ten companies listed on the National Stock Exchange (NSE). The research problem addressed is the difficulty of achieving accurate stock trend prediction using conventional forecasting methods in a volatile market environment. The objectives were to evaluate stock price trends across the selected sectors, compare prediction performance across companies, develop forecasting models using ARIMA, Linear Regression, and Long Short-Term Memory (LSTM) networks, and identify the most effective technique. Secondary OHLCV data was collected from the NSE, cleaned, and chronologically split 80:20 for training and testing. Trend, volume, and volatility indicators were computed for all ten companies, while detailed model development was carried out for Tata Consultancy Services (TCS) as a representative case. Linear Regression used Open, High, Low, and Volume as predictors of the Closing price; ARIMA was applied to the differenced Closing price series; and the LSTM network was trained on scaled Closing price sequences using a sixty-day look-back window. Performance was assessed using MAE, RMSE, and R². The findings reveal clear sectoral divergence, with Information Technology and Banking stocks exhibiting bearish trends while Energy, Automobile, and Pharmaceutical stocks showed upward momentum. Linear Regression outperformed both ARIMA and LSTM, yielding an R² of 0.998 compared with 0.959 for LSTM and a negative value for ARIMA, resulting in a SELL recommendation for TCS. The study concludes that the most suitable forecasting technique depends on the nature of the input data and forecast horizon, and that model outputs should support, rather than replace, broader investment judgement.

Read PDF

Similar papers

Open access Aug 2026

A COMPARATIVE ANALYSIS OF FORECASTING ACCURACY BETWEEN MACHINE LEARNING MODELS AND OLS REGRESSION: EMPIRICAL EVIDENCE FROM THE VIETNAMESE STOCK MARKET

The empirical results demonstrate that machine learning models significantly outperform OLS in capturing complex nonlinear relationships in stock returns, and the ANN model achieves the lowest RMSE, indicating the highest predictive accuracy, and generates superior long–short portfolio returns compared to the other mod...

Phat Ly Huynh Ngo, T. Pham, B. Lệ · 0 citations
Open access Sep 2026

Evaluating LSTM Neural Networks With Moving Average Features For Short-Term Stock Price Forecasting: A Comparative Study Of The Technology And Pharmaceutical Sectors

This study evaluates whether historical daily trading data combined with simple moving average (SMA) features can improve the accuracy of Long Short-Term Memory (LSTM) neural networks in forecasting short-term stock prices, and whether forecasting accuracy differs systematically between the technology and pharmaceutica...

Manav Patel · 0 citations
Conference Aug 2026

Comparative Analysis of LSTM, Random Forest, and XGBoost Models for Stock Price Prediction in the Indian Equity Market

The stock market constitutes a system comprising sellers and buyers who engage in buying and selling shares of publicly listed organizations, with prices constantly changing depending on supply, demand, economic factors, and investor's emotions. Forecasting changes in prices in the stock market is most challenging with...

Ishita Khandelwal, S. Borkar, Prakash Ukhalkar · 0 citations
Open access Sep 2026

Stock Market Price Prediction Using Machine Learning Algorithms for Investment Decision-Making

The study concludes that the integration of machine learning algorithms into investment decision-making processes represents a highly viable and financially feasible strategy for modern banking and asset management portfolios, delivering significant risk-adjusted financial returns.

Mukkala Aravind, M. Prasad, Srilekha Rageru · 0 citations
Open access Sep 2026

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

View the results as a methodological contribution rather than direct evidence of practical investment value, given the modest trend-classification accuracy and the lack of trading back testing, transaction costs, or risk-adjusted performance measures.

Muhammad Jahron, J. A. Widians, Andi Tejawati · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.