Prediction of Stock Price Resilience, using Artificial Neural Networks (MLP) in companies listed on the Stock Exchange

Document Type : Original Article


1 Ph.D. Candidate of Financial Engineering, Qom Branch, Islamic Azad University, Qom, Iran

2 Professor Assistant, Department of Accounting, Qom Branch, Islamic Azad University, Qom, Iran

3 Professor Assistant, Department of banking and insurance management, Kharazmi University, Tehran, Iran


Over the past few years, the growth and development of the capital market of countries and the introduction of new tools, mechanisms, and phenomena in it, have enhanced the importance of the capital market in the economy. In this research, the researcher aims to predict Stock Price Resilience in the Iranian Stock Exchange using the multilayer perceptron model of artificial neural networks. The present study has an applied approach that pays special attention to providing a purposeful method in designing stock price resilience forecasts. The statistical population is the companies listed on the Tehran Stock Exchange in the period 2009-2019. The dynamic artificial neural network structure design is done in the MATLAB software environment. Comparison of AR and ARMAX statistical methods and NAR and NARX networks has been used to predict the average Stock Price Resilience for the next year. The results show that in estimating Stock Price Resilience, the highest amount of R2 is present in NARX, NAR, ARMAX, AR models, respectively. This means that the best models for estimating Stock Price Resilience are listed in order. Based on the criteria of mean square error, total square error, coefficient of explanation, prediction error of the NARX model for the stock price parameter is very low, so this model has a much higher accuracy in predicting the stock price resilience than other models so Which is a lower amount of prediction error.


  • Alian, H. & Hejazi, R. (2017). »Investigation of stock price index forecast by computational methods (artificial neural network) in Tehran Stock Exchange«. The first conference on accounting, economics and innovation in management, 2017, 05, 04, Bandar Abbas, Iran. (In Persian).
  • Affenzeller M. Winkler S. Beham A. (2009), Genetic algorithm and genetic programming modern concepts and practical applications, Genetic Programming and Evolvable Machines; 11(1), pp. 379-401.
  • Amiri, M. Shariatpanahi, M. Bonakar, M. (2010). Portfolio Selection with Use of Multiple Criteria Decision Making. Journal of Securities Exchange, 3(11), pp. 21-29. (In Persian)
  • Andersson, T., Cäker, M., Tengblad, S., & Wickelgren, M. (2019). Building traits for organizational resilience through balancing organizational structures. Scandinavian Journal of Management, 35(1), 36-45.
  • Badiei, H., Rezazadeh, R., Mahmoudi, H. (2017). Forecasting Stock Price Trend by Artificial Neural Networks (Case Study: Isfahan Oil Refinery Company)., 8(31), 167-185.
  • Babajani, J., Taghva, M., Blue, G., Abdollahi, M. (2019). Forecasting Stock Prices In Tehran Stock Exchange Using Recurrent Neural Network Optimized by Artificial Bee Colony Algorithm. Financial Management Strategy, 7(2), 195-228. doi: 10.22051/jfm.2019.21049.1714
  • Ballings M, Van den Poel D, Hespeels N, (2015). Gryp R. Evaluating Multiple Classifiers for Stock Price Direction Prediction. Expert systems with Applications 2015; 42(20):7046–7056.
  • Barasa, E., Mbau, R., & Gilson, L. (2018). What is resilience and how can it be nurtured? A systematic review of empirical literature on organizational resilience. International journal of health policy and management, 7(6), 491.
  • Beckwith, j. (2008), Stock Selection in Six Major Non –U.S. Markets. Journal of Investing. 7 (8), pp. 32-47.
  • Bessembinder H, Kaufman HM. (1997). A Comparison of Trade Execution Costs for NYSE and NASDAQ-listed Stocks. Journal of Financial and Quantitative Analysis 1997; 287–310.
  • Box GEP, Jenkins GM, Reinsel GC, Ljung GM, (2015). Time Series Analysis: Forecasting and Control. John Wiley and Sons Inc 2015; 37(5):709–712.
  • C. Chang, Y.W. Wang, W.N. Yang (2004), An investigation of the hybrid forecasting models for stock price variation in Taiwan, Journal of the Chinese Institute of Industrial Engineers, pp. 358-368.
  • Chhajer, P., Shah, M., Kshirsagar, A. (2022). The applications of artificial neural networks, support vector machines, and long–short term memory for stock market prediction, Decision Analytics Journal, Volume 2, March 2022, 100015,
  • Darvishmotevali, M., Altinay, L., & Köseoglu, M. A. (2020). The link between environmental uncertainty, organizational agility, and organizational creativity in the hotel industry. International Journal of Hospitality Management, 87, 102499.
  • Deng S, Zhang N, Zhang W, Chen J, Pan JZ, Chen H. (2019). Knowledge-driven stock trend prediction and explanation via temporal convolutional network. In Companion Proceedings of the 2019 World Wide Web Conference 2019 May 13 (pp. 678–685)
  • Di Persio L, Honchar O. Artificial Neural Networrs Architectures for Stock Price Prediction: Comparisons and Applications. International journal of circuits, systems and signal processing 2016; 10:403–413. Available from: 41487776364 a6dddee 91f1 e2d2b78f46d0b93499.
  • Dhenuvakonda P., Anandan R., Kumar N. (2020). Stock price prediction using artificial neural networks, J. Crit. Rev., 7 (11), pp. 846-850.
  • Dorobantu, S., Kaul, A., & Zelner, B. (2017). Nonmarket strategy research through the lens of new institutional economics: An integrative review and future directions. Strategic Management Journal, 38(1), 114-140.
  • Easley, D., Engle, R. F., O'Hara, M., & Wu, L. (2008). Time-varying arrival rates of informed and uninformed trades. Journal of Financial Econometrics, 6(2), 171-207.
  • Ebrahimi S A, fiz D, ghitkaran H. Comprehensive analysis of factors affecting the organizational resilience of SMEs. ORMR. 2017; 7 (3) :37-58
  • Etemadi, H. & Baghaei, V. (2012). »Using Neural Networks in Predicting Profitability of Companies (Tehran Stock Exchange Companies) «. Accounting knowledge, 3 (10), 51-70. (in Persian).
  • Edirisinghe, NCP & X Zhang, (2008), Portfolio selection under DEA-based relative financial strength indicators: case of US industries, Journal of the Operational Research Society, 57, pp. 1211-1238.
  • Fischer T, Krauss C. (2018). Deep Learning with Long Short-term Memory Networks for Financial Market Predictions. European Journal of Operational Research 2018; 270(2):654–669. php/AAAI/article/view/9354
  • Fu, H.Z., Ho, Y.S., Sui, Y.M., Li, Z.S, (2010), A bibliometric analysis of solid waste research during the period 1993-2008. Waste Manage, 30(12): 2410-2417.
  • Gibson, C. A., & Tarrant, M. (2010). A'conceptual models' approach to organisational resilience. Australian Journal of Emergency Management, 25(2), 6-12.
  • Hasanzadeh, M., Maleki, M., Jahangirnia, H., Gholami Jamkarani, R. (2020). Identifying and Prioritizing the Factors Affecting the Resilience of the Iranian Capital Market. Industrial Management Journal, 12(1), 172-205. Doi: 10.22059/imj.2020.304013.1007741.
  • Hagenau M, Liebmann M, Neumann D. (2013). Automated News Reading: Stock Price Prediction Based On Financial News Using Context-capturing Features. Decision Support Systems 2013; 55(3):685–697.
  • Heidari Zare, Behzad, Kordloui, Hamidreza (2010). Stock Price Forecasting Using Artificial Neural Network, Journal of Industrial Strategic Management, Volume 7, Number 17, 49-56.
  • Heidari Zare, Behzad, Kordloui, Hamidreza (2010). Stock Price Prediction Using Artificial Neural Network, Journal of Industrial Strategic Management, Volume 7, Number 17, 49-56.
  • Hoseinzade E, Saman H. (2019). CNNpred: CNN-based Stock Market Prediction Using A Diverse Set of Variables. Expert Systems with Applications 2019; 129:273–285. 029.
  • Jamous R., ALRahhal H., El-Darieby M. (2021). A new ANN-particle swarm optimization with center of gravity (ANN-psocog) prediction model for the stock market under the effect of COVID-19, He L. (Ed.), Sci. Program, pp. 1-17
  • Jin G, Kwon O (2021) Impact of chart image characteristics on stock price prediction with a convolutional neural network. PLoS ONE 16(6): e0253121. https://doi. org/10 .1371 / journal. pone. 0253121
  • Jin X, Chen Z, Yang X. (2019). Economic Policy Uncertainty And Stock Price Crash Risk. Accounting Finance 2019; 58(5):1291–1318.
  • Kara Y, Boyacioglu MA, Baykan O¨ K. (2011). Predicting Direction of Stock Price Index Movement Using Artificial Neural Networks and Support Vector Machines: The Sample of the Istanbul Stock Exchange. Expert Systems with Applications 2011; 38(5):5311–5319.
  • Klibi, W., Martel, A., & Guitouni, A. (2010). The design of robust value-creating supply chain networks: a critical review. European Journal of Operational Research, 203(2), 283-293.
  • Kumar, P. Ravi. Ravi, V. (2007), “Bankruptcy prediction in banks and firms via statistical and intelligent techniques—a review”, European Journal of Operational Research, 180, pp. 1-28.
  • Kuang, D., & Liao, K. H. (2020). Learning from Floods: Linking flood experience and flood resilience. Journal of Environmental Management, 271, 111025.
  • Kurtz, D. J., & Varvakis, G. (2016). Dynamic capabilities and organizational resilience in turbulent environments. In Competitive Strategies for Small and Medium Enterprises (pp. 19-37). Springer, Cham.
  • Kshirsagar A. (2018). Bio-remediation: Use of nature in a technical way to fight pollution in the long run, Available from:
  • Li, P. (2014), Application of a hybrid quantized Elman neural network in short-term load forecasting. Int. J. Electr. Power Energy Syst. 55, pp. 749-759.
  • Liu, X., Zhang, L., Hong, S, (2011), Global biodiversity research during 1900–2009: a bibliometric analysis. Biodivers. Conserv, 20: 807-826.
  • Monajemi, S., Abzari, M. & Rayati, A. (2010). »The prediction of prices in the stock market using fuzzy neural network and genetic algorithm and comparing it with artificial neural network«. Quantitative Economics Quarterly, 6 (3), 1-26. (in Persian).
  • Moghaddam AH., Moghaddam MH., Esfandyari M. (2016). Stock market index prediction using artificial neural network, J. Econ. Financ. Adm. Sci, pp. 89-93.
  • Najarzadeh, R., and Aghaei Khondabi, M., and Rezaeipour, M. (2009). Investigating the effect of currency and price shock fluctuations on the stock price index of Tehran Stock Exchange using the vector autoregression approach. Research on Sustainable Growth and Development (Economic Research), 9 (1), 147-175.
  • Qiu M, Song Y. (2016). Predicting the Direction of Stock Market Index Movement Using an Optimized Artificial Neural Network Model. PloS One 2016; 11(5): e0155133. /10.1371/journal.pone.0155133 PMID: 27196055.
  • Ramezani, J., & Camarinha-Matos, L. M. (2020). Approaches for resilience and antifragility in collaborative business ecosystems. Technological Forecasting and Social Change, 151, 119846.
  • Rehak, D. (2020). Assessing and strengthening organizational resilience in a critical infrastructure system: Case study of the Slovak Republic. Safety Science, 123, 104573.
  • Patel J, Shah S, Thakkar P, Kotecha K. (2015). Predicting Stock Market Index Using Fusion of Machine Learning Techniques. Expert Systems with Applications 2015; 42(4):2162–2172. eswa.2014.10.031.
  • Pourzamani, Z. (2016). »Application of Linear and Nonlinear Genetic Algorithms in Improving the Profitability Prediction of Companies«. Quarterly Journal of Financial Engineering and Securities Management, 22 (1), 81-94. (In Persian).
  • Pourzamani, Z. & Nouraldin, M. (2011). »Investigating Financial Crisis Predictability Patterns (Study Patterns: Patterns with Traditional Methods. Genetic Algorithm and Neural Networks) «. Quarterly Journal of Financial Engineering and Portfolio Management, 4 (1), 1-27. (In Persian).
  • Pourzamani, Z. & Miralavi, H. (2018). »Provide a model for stock price forecasting using metainnovative methods and neural networks«. Quarterly Journal of Financial Management and Securities, 10 (40), 57-83. (In Persian).
  • Premkumar, D. (2020). How does the stock market affect the economy? -trade brains [internet]. Available from: [cited 2021 Jun 25]
  • Samadipour, S., Matinfard, R. & Torkashvand, A. (2020). »Investigating and predicting the decline or growth of stock companies in a certain period of time using data mining classification technique«. The Third International Conference on New Strategies in Engineering, Information Science and Technology in the Next Century, 2020, 05, 20, Tehran, Iran. (In Persian)
  • Saghriharvani, A. & Mahoutchi, M. (2017). »Using neural networks to predict prices in the stock market «. 10th International Conference of the Operations Research Association, 2017, 05, 05, Babolsar, Iran. (In Persian).
  • Sezer OB, Ozbayoglu AM. (2019). Financial Trading Model with Stock Bar Chart Image Time Series with Deep Convolutional Neural Networks. In Intelligent Automation and Soft Computing 2019; 26(2):2007–2012.
  • Selvamuthu, D., Kumar, V. & Mishra, A. (2019). Indian stock market prediction using artificial neural networks on tick data. Financ Innov 5, 16 (2019).
  • Shastri M, Roy S, Mittal M. (2019). Stock Price Prediction Using Artificial Neural Model: An Application of Big Data. EAI Endorsed Transactions on Scalable Information Systems 2019; 6:156085. 10.4108/eai.19-12-2018.156085.
  • Shen, J., Shafiq, M.O. (2020). Short-term stock market price trend prediction using a comprehensive deep learning system. J Big Data 7, 66 (2020).
  • Shahvaroughi Farahani, M., Razavi Hajiagha, S.H. (2021). Forecasting stock price using integrated artificial neural network and metaheuristic algorithms compared to time series models. Soft Comput 25, 8483–8513 (2021).
  • Sim HS, Kim HI, Ahn JJ. Is (2019). Deep Learning For Image Recognition Applicable to Stock Market Prediction? Complexity 2019:1–10.
  • Solanki, P., Baldaniya, D., Jogani, D., Chaudhary, B., Shah, M., & Kshirsagar, A. (2021). Artificial intelligence: New age of transformation in petroleum upstream. Petroleum Research. doi:10.1016/j.ptlrs.2021.07.002 10.1016/j.ptlrs.2021.07.002
  • Tejvan, P. (2020). How does the stock market affect the economy? Available from: [cited 2021 Jun 25]
  • Thakkar, A., & Chaudhari, K. (2021). A comprehensive survey on deep neural networks for stock market: The need, challenges, and future directions. Expert Systems with Applications, 177, 114800. doi: 10.1016/j.eswa.2021.114800
  • Trifonov R., Yoshinov R., Pavlova G., Tsochev G. (2017). Artificial neural network intelligent method for prediction ARTICLES YOU may BE interested IN training algorithms for artificial neural network in predicting of the content of chemical elements in the upper soil layer, AIP Conference Neural Network Versus Classical Time Series Forecasting Models AIP Conference Numerical Simulation of a Bubble Rising in an Environment Consisting of Xanthan Gum AIP Conference Artificial Neural Network Intelligent Method for Prediction, Vol. 1872, p. 20022
  • Van Roye, B. (2011). Financial Stress and Economic Activity in Germany and the Euro Area. Kiel Working Papers 1743, Kiel Institute for the World Economy (IfW).
  • Warf, C., Gharabaghi, K., Charles, G., & Ginsburg, K. (2020). Interviewing Homeless Adolescents in the Context of Clinical Care: Creating Connections, Building on Strengths, Fostering Resilience, and Improving Outcomes. In Clinical Care for Homeless, Runaway and Refugee Youth (pp. 19-43). Springer, Cham.
  • Wang J, Wang J. (2015). Forecasting Stock Market Indexes using Principal Component Analysis and Stochastic Time Effective Neural Networks. Neurocomputing 2015; 156:68–78. neucom.2014.12.084.
  • Wang, J. Z. & J. J. Wang (2011), "Forecasting stock indices with back propagation neural network", Expert Systems with Applications, Vol. 38, No. 10, pp. 473-480
  • Wei-Chang Yeh, Tsung-Jung Hsieh, Hsiao-Fen Hsiao, Wei-Chang Yeh (2011), Forecasting stock markets using wavelet transforms and recurrent neural networks: An integrated system based on artificial bee colony algorithm, Applied Soft Computing 11, pp. 2510-2525
  • Zhang, P., Yan, F., Du, C, (2015), A comprehensive analysis of energy management strategies for hybrid electric vehicles based on bibliometrics, Renewable and Sustainable Energy Reviews, 48: 88-104.
  • Zhong X, Enke D. (2017). Forecasting Daily Stock Market Return using Dimensionality Reduction. Expert Systems with Applications 2017; 67:126–139.