Quantified moving average strategy of crude oil futures market based on fuzzy logic rules and genetic algorithms

The moving average strategy is a technical indicator that can generate trading signals to assist investment. While the trading signals tell the traders timing to buy or sell, the moving average cannot tell the trading volume, which is a crucial factor for investment. This paper proposes a fuzzy moving average strategy, in which the fuzzy logic rule is used to determine the strength of trading signals, i.e., the trading volume. To compose one fuzzy logic rule, we use four types of moving averages, the length of the moving average period, the fuzzy extent, and the recommend value. Ten fuzzy logic rules form a fuzzy set, which generates a rating level that decides the trading volume. In this process, we apply genetic algorithms to identify an optimal fuzzy logic rule set and utilize crude oil futures prices from the New York Mercantile Exchange (NYMEX) as the experiment data. Each experiment is repeated for 20 times. The results show that firstly the fuzzy moving average strategy can obtain a more stable rate of return than the moving average strategies. Secondly, holding amounts series is highly sensitive to price series. Thirdly, simple moving average methods are more efficient. Lastly, the fuzzy extents of extremely low, high, and very high are more popular. These results are helpful in investment decisions.

[1]  Yue-Jun Zhang,et al.  Investigating the price discovery and risk transfer functions in the crude oil and gasoline futures markets: Some empirical evidence , 2013 .

[2]  R. Rossiter,et al.  Are there exploitable inefficiencies in the futures market for oil , 2007 .

[3]  Alireza Behroozsarand,et al.  Hydrogen plant heat exchanger networks synthesis using coupled Genetic Algorithm-LP method , 2014 .

[4]  Zbigniew Michalewicz,et al.  Computational Intelligence for Evolving Trading Rules , 2009, IEEE Transactions on Evolutionary Computation.

[5]  Peter Verhoeven,et al.  Does size matter? A genetic programming approach to technical trading , 2010 .

[6]  Seyed Reza Hejazi,et al.  A new hybrid for improvement of auto-regressive integrated moving average models applying particle swarm optimization , 2012, Expert Syst. Appl..

[7]  Nikola Gradojevic,et al.  Fuzzy logic, trading uncertainty and technical trading , 2013 .

[8]  Pradipta Kishore Dash,et al.  A differential harmony search based hybrid interval type2 fuzzy EGARCH model for stock market volatility prediction , 2015, Int. J. Approx. Reason..

[9]  Mehdi Khashei,et al.  A new hybrid artificial neural networks and fuzzy regression model for time series forecasting , 2008, Fuzzy Sets Syst..

[10]  Shin-Li Lu,et al.  Measuring the performance improvement of a double generally weighted moving average control chart , 2014, Expert Syst. Appl..

[11]  J. Liu,et al.  A multi-agent genetic algorithm for community detection in complex networks , 2016 .

[12]  Paskalis Glabadanidis Timing the Market with a Combination of Moving Averages , 2017, SSRN Electronic Journal.

[13]  Wen Long,et al.  Trading strategy based on dynamic mode decomposition: Tested in Chinese stock market , 2016 .

[14]  Benoît Sévi,et al.  Forecasting the volatility of crude oil futures using intraday data , 2014, Eur. J. Oper. Res..

[15]  H. An,et al.  Selecting dynamic moving average trading rules in the crude oil futures market using a genetic approach , 2016 .

[16]  Dong Hua-son,et al.  PREDICTION OF GEOTHERMAL RESOURCES BY MEANS OF WAVELET NEURAL NETWORK OPTIMIZED BY GENETIC ALGORITHM , 2014 .

[17]  Lotfi A. Zadeh,et al.  Toward a theory of fuzzy information granulation and its centrality in human reasoning and fuzzy logic , 1997, Fuzzy Sets Syst..

[18]  Andrew C. Szakmary,et al.  Trend-following trading strategies in commodity futures: A re-examination , 2010 .

[19]  Young-Don Ko,et al.  Exponentially weighted moving average-based procedure with adaptive thresholding for monitoring nonlinear profiles: Monitoring of plasma etch process in semiconductor manufacturing , 2013, Expert Syst. Appl..

[20]  Haizhong An,et al.  Generating Moving Average Trading Rules on the Oil Futures Market with Genetic Algorithms , 2014 .

[21]  Pei-Chann Chang,et al.  Trend discovery in financial time series data using a case based fuzzy decision tree , 2011, Expert Syst. Appl..

[22]  Gwo-Hshiung Tzeng,et al.  Fuzzy Inference-Enhanced VC-DRSA Model for Technical Analysis: Investment Decision Aid , 2015, International Journal of Fuzzy Systems.

[23]  The Market Timing Power of Moving Averages: Evidence from US REITs and REIT Indexes , 2014 .

[24]  H. An,et al.  Performance of Generated Moving Average Strategies in Natural Gas Futures Prices at Different Time Scales , 2015 .

[25]  Haizhong An,et al.  An integrated approach to optimize moving average rules in the EUA futures market based on particle swarm optimization and genetic algorithms , 2017 .

[26]  Zhe-ming Lu,et al.  Optimizing the controllability of arbitrary networks with genetic algorithm , 2016 .