IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v482y2017icp444-457.html
   My bibliography  Save this article

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

Author

Listed:
  • Liu, Xiaojia
  • An, Haizhong
  • Wang, Lijun
  • Guan, Qing

Abstract

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.

Suggested Citation

  • Liu, Xiaojia & An, Haizhong & Wang, Lijun & Guan, Qing, 2017. "Quantified moving average strategy of crude oil futures market based on fuzzy logic rules and genetic algorithms," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 482(C), pages 444-457.
  • Handle: RePEc:eee:phsmap:v:482:y:2017:i:c:p:444-457
    DOI: 10.1016/j.physa.2017.04.082
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437117303977
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2017.04.082?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Janice How & Martin Ling & Peter Verhoeven, 2010. "Does size matter? A genetic programming approach to technical trading," Quantitative Finance, Taylor & Francis Journals, vol. 10(2), pages 131-140.
    2. Liu, Xiaojia & An, Haizhong & Wang, Lijun & Jia, Xiaoliang, 2017. "An integrated approach to optimize moving average rules in the EUA futures market based on particle swarm optimization and genetic algorithms," Applied Energy, Elsevier, vol. 185(P2), pages 1778-1787.
    3. Wang, Lijun & An, Haizhong & Liu, Xiaojia & Huang, Xuan, 2016. "Selecting dynamic moving average trading rules in the crude oil futures market using a genetic approach," Applied Energy, Elsevier, vol. 162(C), pages 1608-1618.
    4. Gradojevic, Nikola & Gençay, Ramazan, 2013. "Fuzzy logic, trading uncertainty and technical trading," Journal of Banking & Finance, Elsevier, vol. 37(2), pages 578-586.
    5. Cui, Ling-xiao & Long, Wen, 2016. "Trading strategy based on dynamic mode decomposition: Tested in Chinese stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 461(C), pages 498-508.
    6. Li, Xin-Feng & Lu, Zhe-Ming, 2016. "Optimizing the controllability of arbitrary networks with genetic algorithm," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 447(C), pages 422-433.
    7. Paskalis Glabadanidis, 2014. "The Market Timing Power of Moving Averages: Evidence from US REITs and REIT Indexes," International Review of Finance, International Review of Finance Ltd., vol. 14(2), pages 161-202, June.
    8. Szakmary, Andrew C. & Shen, Qian & Sharma, Subhash C., 2010. "Trend-following trading strategies in commodity futures: A re-examination," Journal of Banking & Finance, Elsevier, vol. 34(2), pages 409-426, February.
    9. Shambora, William E. & Rossiter, Rosemary, 2007. "Are there exploitable inefficiencies in the futures market for oil?," Energy Economics, Elsevier, vol. 29(1), pages 18-27, January.
    10. Li, Zhangtao & Liu, Jing, 2016. "A multi-agent genetic algorithm for community detection in complex networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 449(C), pages 336-347.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Li, Jiang-Cheng & Leng, Na & Zhong, Guang-Yan & Wei, Yu & Peng, Jia-Sheng, 2020. "Safe marginal time of crude oil price via escape problem of econophysics," Chaos, Solitons & Fractals, Elsevier, vol. 133(C).
    2. Taylor, Nick, 2017. "Timing strategy performance in the crude oil futures market," Energy Economics, Elsevier, vol. 66(C), pages 480-492.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Liu, Xiaojia & An, Haizhong & Wang, Lijun & Jia, Xiaoliang, 2017. "An integrated approach to optimize moving average rules in the EUA futures market based on particle swarm optimization and genetic algorithms," Applied Energy, Elsevier, vol. 185(P2), pages 1778-1787.
    2. Day, Min-Yuh & Ni, Yensen, 2023. "Do clean energy indices outperform using contrarian strategies based on contrarian trading rules?," Energy, Elsevier, vol. 272(C).
    3. Min-Yuh Day & Yensen Ni & Chinning Hsu & Paoyu Huang, 2022. "Do Investment Strategies Matter for Trading Global Clean Energy and Global Energy ETFs?," Energies, MDPI, vol. 15(9), pages 1-15, May.
    4. Lijun Wang & Haizhong An & Xiaohua Xia & Xiaojia Liu & Xiaoqi Sun & Xuan Huang, 2014. "Generating Moving Average Trading Rules on the Oil Futures Market with Genetic Algorithms," Mathematical Problems in Engineering, Hindawi, vol. 2014, pages 1-10, May.
    5. Cristiana Tudor & Andrei Anghel, 2021. "The Financialization of Crude Oil Markets and Its Impact on Market Efficiency: Evidence from the Predictive Ability and Performance of Technical Trading Strategies," Energies, MDPI, vol. 14(15), pages 1-19, July.
    6. Taylor, Nick, 2017. "Timing strategy performance in the crude oil futures market," Energy Economics, Elsevier, vol. 66(C), pages 480-492.
    7. Day, Min-Yuh & Ni, Yensen & Huang, Paoyu, 2019. "Trading as sharp movements in oil prices and technical trading signals emitted with big data concerns," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 525(C), pages 349-372.
    8. Lubnau, Thorben & Todorova, Neda, 2015. "Trading on mean-reversion in energy futures markets," Energy Economics, Elsevier, vol. 51(C), pages 312-319.
    9. Wang, Lijun & An, Haizhong & Liu, Xiaojia & Huang, Xuan, 2016. "Selecting dynamic moving average trading rules in the crude oil futures market using a genetic approach," Applied Energy, Elsevier, vol. 162(C), pages 1608-1618.
    10. Ortiz-Cruz, Alejandro & Rodriguez, Eduardo & Ibarra-Valdez, Carlos & Alvarez-Ramirez, Jose, 2012. "Efficiency of crude oil markets: Evidences from informational entropy analysis," Energy Policy, Elsevier, vol. 41(C), pages 365-373.
    11. Monira Essa Aloud, 2016. "Profitability of Directional Change Based Trading Strategies: The Case of Saudi Stock Market," International Journal of Economics and Financial Issues, Econjournals, vol. 6(1), pages 87-95.
    12. Clare, Andrew & Seaton, James & Smith, Peter N. & Thomas, Stephen, 2016. "The trend is our friend: Risk parity, momentum and trend following in global asset allocation," Journal of Behavioral and Experimental Finance, Elsevier, vol. 9(C), pages 63-80.
    13. Alvarez-Ramirez, Jose & Alvarez, Jesus & Rodriguez, Eduardo, 2008. "Short-term predictability of crude oil markets: A detrended fluctuation analysis approach," Energy Economics, Elsevier, vol. 30(5), pages 2645-2656, September.
    14. Schuhmacher, Frank & Eling, Martin, 2012. "A decision-theoretic foundation for reward-to-risk performance measures," Journal of Banking & Finance, Elsevier, vol. 36(7), pages 2077-2082.
    15. Gabriel Frahm, 2018. "An Intersection–Union Test for the Sharpe Ratio," Risks, MDPI, vol. 6(2), pages 1-13, April.
    16. Rad, Hossein & Low, Rand Kwong Yew & Miffre, Joëlle & Faff, Robert, 2020. "Does sophistication of the weighting scheme enhance the performance of long-short commodity portfolios?," Journal of Empirical Finance, Elsevier, vol. 58(C), pages 164-180.
    17. Andrew Clare & James Seaton & Peter N. Smith & Stephen Thomas, 2014. "European Equity Investing through the Financial Crisis: Can Risk Parity, Momentum or Trend Following Help to Reduce Tail Risk?," Discussion Papers 14/02, Department of Economics, University of York.
    18. Fernandez-Perez, Adrian & Fuertes, Ana-Maria & Miffre, Joelle, 2021. "The risk premia of energy futures," Energy Economics, Elsevier, vol. 102(C).
    19. Benjamin R. Auer, 2021. "Have trend-following signals in commodity futures markets become less reliable in recent years?," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 35(4), pages 533-553, December.
    20. Martin Scholtus & Dick van Dijk, 2012. "High-Frequency Technical Trading: The Importance of Speed," Tinbergen Institute Discussion Papers 12-018/4, Tinbergen Institute.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:482:y:2017:i:c:p:444-457. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.