A Nonlinear Autoregressive Model with Exogenous Variables Neural Network for Stock Market Timing: The Candlestick Technical Analysis


1 IE , Yazd university

2 , K.N. Toosi University of Technology

3 Indusrial Engineering, Yazd University

4 Industrial Engineering, Yazd University


In this paper, the nonlinear autoregressive model with exogenous variables as a new neural network is used for timing of the stock markets on the basis of the technical analysis of Japanese Candlestick. In this model, the “nonlinear autoregressive model with exogenous variables” is an analyzer. For a more reliable comparison, here (like the literature) two approaches of  Raw-based and Signal-based are devised to generate the input data of the model. The correct predictions percentages for periods of 1- 6 days with the total number of buy and sell signals are considered. The result proves that to some extent the approaches have similar performances while apparently, they are superior to a feed-forward static neural network. The created network is evaluated by the measure of Mean of Squared Error and the proposed model accuracy is calculated to be extremely high.