Optimal Feature Selection of Technical Indicator and Stock Prediction Using Machine Learning Technique

  • Nagaraj NaikEmail author
  • Biju R. Mohan
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 985)


Short-term trading is a difficult task due to fluctuating demand and supply in the stock market. These demands and supply are reflected in stock prices. The stock prices may be predicted using technical indicators. Most of the existing literature considered the limited technical indicators to measure short-term prices. We have considered 33 different combinations of technical indicators to predict the stock prices. The paper has two objectives, first is the technical indicator feature selection and identification of the relevant technical indicators by using Boruta feature selection technique. The second objective is an accurate prediction model for stocks. To predict stock prices we have proposed ANN (Artificial Neural Network) Regression prediction model and model performance is evaluated using metrics is Mean absolute error (MAE) and Root mean square error (RMSE). The experimental results are better than the existing method by decreasing the error rate in the prediction to 12%. We have used the National Stock Exchange, India (NSE) data for the experiment.


Boruta feature selection ANN Stock prediction 



This work has been supported by the Visvesvaraya Ph.D Scheme for Electronics and IT (Media Lab Asia), the departments of MeitY, Government of India. The Task carried out at the Department of Information Technology, NITK Surathkal, Mangalore, India.


  1. 1.
    Alexander, S.S.: Price movements in speculative markets: trends or random walks. Ind. Manag. Rev. 2(2), 7 (1961). (pre-1986)Google Scholar
  2. 2.
    Berutich, J.M., López, F., Luna, F., Quintana, D.: Robust technical trading strategies using GP for algorithmic portfolio selection. Expert Syst. Appl. 46, 307–315 (2016)CrossRefGoogle Scholar
  3. 3.
    Chen, Y., Hao, Y.: Integrating principle component analysis and weighted support vector machine for stock trading signals prediction. Neurocomputing 321, 381–402 (2018)CrossRefGoogle Scholar
  4. 4.
    Chourmouziadis, K., Chatzoglou, P.D.: An intelligent short term stock trading fuzzy system for assisting investors in portfolio management. Expert Syst. Appl. 43, 298–311 (2016)CrossRefGoogle Scholar
  5. 5.
    Kara, Y., Boyacioglu, M.A., Baykan, O.K.: Predicting direction of stock price index movement using artificial neural networks and support vector machines: the sample of the Istanbul stock exchange. Expert syst. Appl. 38(5), 5311–5319 (2011)CrossRefGoogle Scholar
  6. 6.
    Macedo, L.L., Godinho, P., Alves, M.J.: Mean-semivariance portfolio optimization with multiobjective evolutionary algorithms and technical analysis rules. Expert Syst. Appl. 79, 33–43 (2017)CrossRefGoogle Scholar
  7. 7.
    Malkiel, B.G., Fama, E.F.: Efficient capital markets: a review of theory and empirical work. J. Financ. 25(2), 383–417 (1970)CrossRefGoogle Scholar
  8. 8.
    Mousavi, S., Esfahanipour, A., Zarandi, M.H.F.: A novel approach to dynamic portfolio trading system using multitree genetic programming. Knowl.-Based Syst. 66, 68–81 (2014)CrossRefGoogle Scholar
  9. 9.
    Nakano, M., Takahashi, A., Takahashi, S.: Generalized exponential moving average (EMA) model with particle filtering and anomaly detection. Expert Syst. Appl. 73, 187–200 (2017)CrossRefGoogle Scholar
  10. 10.
    Patel, J., Shah, S., Thakkar, P., Kotecha, K.: Predicting stock market index using fusion of machine learning techniques. Expert Syst. Appl. 42(4), 2162–2172 (2015)CrossRefGoogle Scholar
  11. 11.
    Preis, T., Moat, H.S., Stanley, H.E.: Quantifying trading behavior in financial markets using Google trends. Sci. Rep. 3, 01684 (2013)CrossRefGoogle Scholar
  12. 12.
    Rubio, A., Bermúdez, J.D., Vercher, E.: Improving stock index forecasts by using a new weighted fuzzy-trend time series method. Expert Syst. Appl. 76, 12–20 (2017)CrossRefGoogle Scholar
  13. 13.
    Ticknor, J.L.: A Bayesian regularized artificial neural network for stock market forecasting. Expert Syst. Appl. 40(14), 5501–5506 (2013)CrossRefGoogle Scholar
  14. 14.
    Tsai, C.-F., Hsiao, Y.-C.: Combining multiple feature selection methods for stock prediction: union, intersection, and multi-intersection approaches. Decis. Support Syst. 50(1), 258–269 (2010)CrossRefGoogle Scholar
  15. 15.
    Tsai, C.-F., Lin, Y.-C., Yen, D.C., Chen, Y.-M.: Predicting stock returns by classifier ensembles. Appl. Soft Comput. 11(2), 2452–2459 (2011)CrossRefGoogle Scholar
  16. 16.
    Vaisla, K.S., Bhatt, A.K.: An analysis of the performance of artificial neural network technique for stock market forecasting. Int. J. Comput. Sci. Eng. 2(6), 2104–2109 (2010)Google Scholar
  17. 17.
    Zhang, Y., Lenan, W.: Stock market prediction of S&P 500 via combination of improved BCO approach and BP neural network. Expert Syst. Appl. 36(5), 8849–8854 (2009)CrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2019

Authors and Affiliations

  1. 1.Department of Information TechnologyNational Institute of Technology, KarnatakaSurathkalIndia

Personalised recommendations