Generating Moving Average Trading Rules on the Oil Futures Market with Genetic Algorithms

Abstract

The crude oil futures market plays a critical role in energy finance. To gain greater investment return, scholars and traders use technical indicators when selecting trading strategies in oil futures market. In this paper, the authors used moving average prices of oil futures with genetic algorithms to generate profitable trading rules. We defined individuals with different combinations of period lengths and calculation methods as moving average trading rules and used genetic algorithms to search for the suitable lengths of moving average periods and the appropriate calculation methods. The authors used daily crude oil prices of NYMEX futures from 1983 to 2013 to evaluate and select moving average rules. We compared the generated trading rules with the buy-and-hold (BH) strategy to determine whether generated moving average trading rules can obtain excess returns in the crude oil futures market. Through 420 experiments, we determine that the generated trading rules help traders make profits when there are obvious price fluctuations. Generated trading rules can realize excess returns when price falls and experiences significant fluctuations, while BH strategy is better when price increases or is smooth with few fluctuations. The results can help traders choose better strategies in different circumstances

    Similar works