Optimising the smoothness and accuracy of moving average for stock price data

Smoothing time series allows removing noise. Moving averages are used in finance to smooth stock price series and forecast trend direction. We propose optimised custom moving average that is the most suitable for stock time series smoothing. Suitability criteria are defined by smoothness and accuracy. Previous research focused only on one of the two criteria in isolation. We define this as multi-criteria Pareto optimisation problem and compare the proposed method to the five most popular moving average methods on synthetic and real world stock data. The comparison was performed using unseen data. The new method outperforms other methods in 99.5% of cases on synthetic and in 91% on real world data. The method allows better time series smoothing with the same level of accuracy as traditional methods, or better accuracy with the same smoothness. Weights optimised on one stock are very similar to weights optimised for any other stock and can be used interchangeably. Traders can use the new method to detect trends earlier and increase the profitability of their strategies. The concept is also applicable to sensors, weather forecasting, and traffic prediction where both the smoothness and accuracy of the filtered signal are important.

[1]  Thomas Bury,et al.  Predicting trend reversals using market instantaneous state , 2013, 1310.8169.

[2]  John F. Ehlers Rocket Science for Traders: Digital Signal Processing Applications , 2001 .

[3]  Denis S. Grebenkov,et al.  Following a Trend with an Exponential Moving Average: Analytical Results for a Gaussian Model , 2013, 1308.5658.

[4]  Yudong Wang,et al.  Efficiency of Crude Oil Futures Markets: New Evidence from Multifractal Detrending Moving Average Analysis , 2013 .

[5]  Serdar Ulubeyli,et al.  Fuzzy multi-criteria decision making model for subcontractor selection in international construction projects , 2015 .

[6]  Aistis Raudys,et al.  Moving Averages for Financial Data Smoothing , 2013, ICIST.

[7]  Paweł Fiedor,et al.  Sector strength and efficiency on developed and emerging financial markets , 2014 .

[8]  Michel Terraza,et al.  SEMIFARMA-HYGARCH Modeling of Dow Jones Return Persistence , 2012, Computational Economics.

[9]  Aistis Raudys,et al.  Pairwise Costs in Multiclass Perceptrons , 2010, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  Aistis Raudys,et al.  Analysis of Execution Methods in U.S. and European Futures , 2015, The Journal of Trading.

[11]  Spyros Makridakis,et al.  Adaptive Filtering: An Integrated Autoregressive/Moving Average Filter for Time Series Forecasting , 1977 .

[12]  Rodrigo Fernandes de Mello,et al.  TS-stream: clustering time series on data streams , 2013, Journal of Intelligent Information Systems.

[13]  Craig Ellis,et al.  Is smarter better? A comparison of adaptive, and simple moving average trading strategies , 2005 .

[14]  Shouzhen Zeng,et al.  Intuitionistic fuzzy generalized probabilistic ordered weighted averaging operator and its application to group decision making , 2015 .

[15]  Jiang Yu,et al.  Forecasting VaR and ES of stock index portfolio: A Vine copula method , 2014 .

[16]  Junbin Gao,et al.  Penalized Least Squares for Smoothing Financial Time Series , 2011, Australasian Conference on Artificial Intelligence.

[17]  Ronald R. Yager,et al.  Time Series Smoothing and OWA Aggregation , 2008, IEEE Transactions on Fuzzy Systems.

[18]  Vygintas Gontis,et al.  NONEXTENSIVE STATISTICAL MECHANICS DISTRIBUTIONS AND DYNAMICS OF FINANCIAL OBSERVABLES FROM THE NONLINEAR STOCHASTIC DIFFERENTIAL EQUATIONS , 2012 .

[19]  Greg Welch,et al.  Welch & Bishop , An Introduction to the Kalman Filter 2 1 The Discrete Kalman Filter In 1960 , 1994 .

[20]  Alan V. Oppenheim,et al.  Discrete-time Signal Processing. Vol.2 , 2001 .

[21]  Junbin Gao,et al.  Optimizing the moving average , 2012, The 2012 International Joint Conference on Neural Networks (IJCNN).

[22]  Karel Skokan Technological and Economic Development of Economy , 2011 .

[23]  Perry J. Kaufman,et al.  Trading Systems and Methods , 1997 .

[24]  Ronald R. Yager Exponential smoothing with credibility weighted observations , 2013, Inf. Sci..

[25]  Vygintas Gontis,et al.  Three-state herding model of the financial markets , 2012, 1210.1838.

[26]  Junbin Gao,et al.  Filtering financial time series by least squares , 2013, Int. J. Mach. Learn. Cybern..

[27]  Przemysław Orłowski SIMPLIFIED DESIGN OF LOW-PASS, LINEAR PARAMETER-VARYING, FINITE IMPULSE RESPONSE FILTERS , 2015 .

[28]  Eligius M. T. Hendrix,et al.  On Benchmarking Stochastic Global Optimization Algorithms , 2015, Informatica.