Forecasting price movements using technical indicators: Investigating the impact of varying input window length

The creation of a predictive system that correctly forecasts future changes of a stock price is crucial for investment management and algorithmic trading. The use of technical analysis for financial forecasting has been successfully employed by many researchers. Input window length is a time frame parameter required to be set when calculating many technical indicators. This study explores how the performance of the predictive system depends on a combination of a forecast horizon and an input window length for forecasting variable horizons. Technical indicators are used as input features for machine learning algorithms to forecast future directions of stock price movements. The dataset consists of ten years daily price time series for fifty stocks. The highest prediction performance is observed when the input window length is approximately equal to the forecast horizon. This novel pattern is studied using multiple performance metrics: prediction accuracy, winning rate, return per trade and Sharpe ratio.

[1]  Adriano Lorena Inácio de Oliveira,et al.  A method for automatic stock trading combining technical analysis and nearest neighbor classification , 2010, Expert Syst. Appl..

[2]  Jack L. Treynor,et al.  MUTUAL FUND PERFORMANCE* , 2007 .

[3]  Ömer Kaan Baykan,et al.  Predicting direction of stock price index movement using artificial neural networks and support vector machines: The sample of the Istanbul Stock Exchange , 2011, Expert Syst. Appl..

[4]  José Ignacio Hidalgo,et al.  Multiobjective optimization of technical market indicators , 2009, GECCO '09.

[5]  Jae H. Kim,et al.  Stock Return Predictability and the Adaptive Markets Hypothesis: Evidence from Century Long U.S. Data , 2010 .

[6]  Shie-Jue Lee,et al.  A multiple-kernel support vector regression approach for stock market price forecasting , 2011, Expert Syst. Appl..

[7]  Ammar Belatreche,et al.  Forecasting movements of health-care stock prices based on different categories of news articles using multiple kernel learning , 2016, Decis. Support Syst..

[8]  A. Lo,et al.  Reconciling Efficient Markets with Behavioral Finance: The Adaptive Markets Hypothesis , 2005 .

[9]  Robert Hudson,et al.  Efficient or adaptive markets? Evidence from major stock markets using very long run historic data , 2013 .

[10]  Gerwin A. W. Griffioen Technical Analysis in Financial Markets , 2003 .

[11]  Cheolbeom Park,et al.  What Do We Know About the Profitability of Technical Analysis? , 2007 .

[12]  Michele Marchesi,et al.  A hybrid genetic-neural architecture for stock indexes forecasting , 2005, Inf. Sci..

[13]  Chih-Jen Lin,et al.  LIBSVM: A library for support vector machines , 2011, TIST.

[14]  Chih-Jen Lin,et al.  A Practical Guide to Support Vector Classication , 2008 .

[15]  J. Murphy Technical Analysis of the Futures Markets: A Comprehensive Guide to Trading Methods and Applications , 1986 .

[16]  M. Bommarito,et al.  A profitable trading and risk management strategy despite transaction costs , 2008 .

[17]  N. Taylor,et al.  The Rise and Fall of Technical Trading Rule Success , 2014 .

[18]  José Ignacio Hidalgo,et al.  A parallel evolutionary algorithm for technical market indicators optimization , 2012, Natural Computing.

[19]  Adina Florea TECHNIQUES FOR PREDICTION IN CHAOS - A COMPARATIVE STUDY ON FINANCIAL DATA , 2011 .

[20]  Jan Muntermann,et al.  An intraday market risk management approach based on textual analysis , 2011, Decis. Support Syst..

[21]  Raymond S. T. Lee iJADE stock advisor: an intelligent agent based stock prediction system using hybrid RBF recurrent network , 2004, IEEE Transactions on Systems, Man, and Cybernetics - Part A: Systems and Humans.

[22]  Kyoung-jae Kim,et al.  Financial time series forecasting using support vector machines , 2003, Neurocomputing.

[23]  D. Witkowska,et al.  Construction and Evaluation of Trading Systems: Warsaw Index Futures , 2005 .

[24]  J. Arroyo,et al.  Forecasting histogram time series with k-nearest neighbours methods , 2009 .

[25]  Kimon P. Valavanis,et al.  Surveying stock market forecasting techniques - Part II: Soft computing methods , 2009, Expert Syst. Appl..

[26]  Francis Eng Hock Tay,et al.  Support vector machine with adaptive parameters in financial time series forecasting , 2003, IEEE Trans. Neural Networks.

[27]  José Ignacio Hidalgo,et al.  Technical market indicators optimization using evolutionary algorithms , 2008, GECCO '08.

[28]  E. Fama The Behavior of Stock-Market Prices , 1965 .

[29]  Luis E. Zárate,et al.  The use of artificial neural networks in the analysis and prediction of stock prices , 2011, 2011 IEEE International Conference on Systems, Man, and Cybernetics.

[30]  Manish Kumar,et al.  Forecasting Stock Index Movement: A Comparison of Support Vector Machines and Random Forest , 2006 .

[31]  In-Chan Choi,et al.  Market Index and Stock Price Direction Prediction using Machine Learning Techniques: An empirical study on the KOSPI and HSI , 2013, ArXiv.

[32]  Alexandre d'Aspremont,et al.  Predicting abnormal returns from news using text classification , 2008, 0809.2792.

[33]  Dirk Neumann,et al.  Reading All the News at the Same Time: Predicting Mid-term Stock Price Developments Based on News Momentum , 2013, 2013 46th Hawaii International Conference on System Sciences.

[34]  Shouyang Wang,et al.  Forecasting stock market movement direction with support vector machine , 2005, Comput. Oper. Res..

[35]  Wu Meng,et al.  Application of Support Vector Machines in Financial Time Series Forecasting , 2007 .

[36]  Noël Amenc,et al.  Portfolio Theory and Performance Analysis , 2003 .

[37]  P. Weller,et al.  Quantifying Cognitive Biases in Analyst Earnings Forecasts , 2002 .

[38]  F. Tay,et al.  Application of support vector machines in financial time series forecasting , 2001 .

[39]  Reshma Khemchandani,et al.  Regularized least squares fuzzy support vector regression for financial time series forecasting , 2009, Expert Syst. Appl..

[40]  Miloš Stojanović,et al.  Investment Strategy Optimization Using Technical Analysis and Predictive Modeling in Emerging Markets , 2015 .

[41]  Xiaola Lin,et al.  Feature extraction using Restricted Boltzmann Machine for stock price prediction , 2012, 2012 IEEE International Conference on Computer Science and Automation Engineering (CSAE).