Empirical Analysis for Stock Price Prediction Using NARX Model with Exogenous Technical Indicators

Comput Intell Neurosci. 2022 Mar 25:2022:9208640. doi: 10.1155/2022/9208640. eCollection 2022.

Abstract

Stock price prediction is one of the major challenges for investors who participate in the stock markets. Therefore, different methods have been explored by practitioners and academicians to predict stock price movement. Artificial intelligence models are one of the methods that attracted many researchers in the field of financial prediction in the stock market. This study investigates the prediction of the daily stock prices for Commerce International Merchant Bankers (CIMB) using technical indicators in a NARX neural network model. The methodology employs comprehensive parameter trails for different combinations of input variables and different neural network designs. The study seeks to investigate the optimal artificial neural networks (ANN) parameters and settings that enhance the performance of the NARX model. Therefore, extensive parameter trails were studied for various combinations of input variables and NARX neural network configurations. The proposed model is further enhanced by preprocessing and optimising the NARX model's input and output parameers. The prediction performance is assessed based on the mean squared error (MSE), R-squared, and hit rate. The performance of the proposed model is compared with other models, and it is shown that the utilisation of technical indicators with the NARX neural network improves the accuracy of one-step-ahead prediction for CIMB stock in Malaysia. The performance of the proposed model is further improved by optimising the input data and neural network parameters. The improved prediction of stock prices could help investors increase their returns from investment in stock markets.

MeSH terms

  • Artificial Intelligence*
  • Commerce
  • Investments*
  • Movement
  • Neural Networks, Computer