Skip to main content

The Investment Strategy Based on the Difference of Moving Averages with Parameters Adapted by Machine Learning

  • Chapter
  • First Online:
Soft Computing in Computer and Information Science

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 342))

Abstract

In this paper, the authors present an investment strategy based on moving averages (MA). The strategy on the basis of the relationship between two moving averages classifies events of opening long and short position. To gain desirable results it was enriched by extra filtering mechanisms, such as: StopLoss, first derivative of the difference of moving averages, and additional buffers within the classification rules—these parameters constitute the parameters space. The whole concept is based on machine learning principles. According to these principles, the values of the parameters are computed during the learning phase and applied in simulated trading during the testing phase. The experiments conducted showed that the strategy is effective for EURUSD 1 h currency pair.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Brock, W., Lakonishok, J., LeBaron, B.: Simple technical trading rules and the stochastic properties of stock returns. J. Financ. 47(5), 1731–1764 (1992)

    Article  Google Scholar 

  2. Tian, G., Wan, G., Guo, M.: Market efficiency and the returns to simple technical trading rules: new evidence from U.S. equity market and Chinese equity markets. Asia-Pac. Financ. Mark. 9(3–4), 241–258 (2002)

    Article  MATH  Google Scholar 

  3. Muriel, A.: Short-term predictions in forex trading. Phys. A Stat. Mech. Appl. 344(1), 190–193 (2004)

    Article  MathSciNet  Google Scholar 

  4. Gencay, R.: Linear, non-linear and essential foreign exchange rate prediction with simple technical trading rules. J. Int. Econ. 47(1), 91–107 (1999)

    Article  Google Scholar 

  5. Cai, B., Cai, C., Keasey, K.: Market efficiency and returns to simple technical trading rules: further evidence from U.S., U.K., Asian and Chinese stock markets. Asia-Pac. Financ. Mark. 12(1), 45–60 (2005)

    Article  MATH  Google Scholar 

  6. Krutsinger, J.: Trading Systems: Secrets of the Masters. McGraw-Hill Inc., New York (1997)

    Google Scholar 

  7. Elder, A.: Come Into My Trading Room. Wiley Trading, New York (2002)

    Google Scholar 

  8. Owens, S., Lizotte, O.: When to Trade. FX Engines (2004)

    Google Scholar 

  9. Friesen, G.C., Weller, P.A., Dunham, L.M.: Price trends and patterns in technical analysis: a theoretical and empirical examination. J. Bank. Financ. 33(6), 1089–1100 (2009)

    Article  Google Scholar 

  10. Wiliński, A., Nyczaj, T., Bera, A., Błaszyński, P.: A study on the effectiveness of investment strategy based on the concept of pivot points levels using Matthews criterion. J. Theor. Appl. Comput. Sci. 7(4), 42–55 (2013)

    Google Scholar 

  11. Wiliński, A., Bera, A., Nowicki, W., Błaszyński, P.: Study on the effectiveness of the investment strategy based on a classifier with rules adapted by machine learning. ISRN Artif. Intell. 2014, 1–10 (2014)

    Article  Google Scholar 

  12. Satchwell, C.: Pattern Recognition and Trading Decisions. McGraw-Hill, New York (2005)

    Google Scholar 

  13. Raghuraj, R., Lakshminarayanan, S.: Variable predictive models-A new multivariate classification approach for pattern recognition applications. Pattern Recognit. 42(1), 7–16 (2009)

    Article  MATH  Google Scholar 

  14. Wiliński, A., Bera, A., Błaszyński, P., Jarlaczynski, M.: The investment strategy based on behaviour of artificial earthworm for use in algotrading. In: Proceedings ITISE International Work-Conference on Time Series, vol. 2, pp. 991–1005. Granada (2014)

    Google Scholar 

  15. Bishop, C.M.: Pattern Recognition and Machine Learning. Springer, Berlin (2006)

    MATH  Google Scholar 

  16. Marjak, H.: The architecture selection for neural network—a financial criterion or a prediction criterion. Pol. J. Environ. Stud. 17(3b), 255–261 (2008)

    Google Scholar 

Download references

Conflict of interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michał Zabłocki .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Wiliński, A., Zabłocki, M. (2015). The Investment Strategy Based on the Difference of Moving Averages with Parameters Adapted by Machine Learning. In: Wiliński, A., Fray, I., Pejaś, J. (eds) Soft Computing in Computer and Information Science. Advances in Intelligent Systems and Computing, vol 342. Springer, Cham. https://doi.org/10.1007/978-3-319-15147-2_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-15147-2_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-15146-5

  • Online ISBN: 978-3-319-15147-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics