Skip to main content

LSTM-Based MACD Strategy Parameter Restructuring

  • Conference paper
  • First Online:
6GN for Future Wireless Networks (6GN 2021)

Abstract

Moving average convergence divergence (MACD) strategy has been applied in much research in financial area. Studies has demonstrated the excellent performance of the MACD strategy in quantitative investment. However, traditional parameter set (12, 26, 9) performs differently in various regions and market environments. Hence, we propose a LSTM-based method to optimize MACD strategy parameters. The proposed method offers the ability to predict advanced MACD strategy parameters in any time interval. We use all stocks from China A-Shares over the period of 2015–2020 as experiment data. We find that after applying different MACD parameter sets produced by our model, balance outperforms than the non-optimized parameter set. Our model provides an easy-to-use investment tool that discovers potential positive returns.

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 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.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. Anghel, G.D.I.: Stock market efficiency and the MACD. Evidence from countries around the world. Proc. Econ. Finan. 32, 1414–1431 (2015). Emerging Markets Queries in Finance and Business 2014, EMQFB 2014, 24–25 October 2014, Bucharest, Romania (2014)

    Google Scholar 

  2. Wu, M., Diao, X.: Technical analysis of three stock oscillators testing MACD, RSI and KDJ rules in SH SZ stock markets. In: 2015 4th International Conference on Computer Science and Network Technology (ICCSNT), vol. 01, pp. 320–323 (2015)

    Google Scholar 

  3. Marques, F.C.R., Gomes, R.M., de Almeida, P.E.M., Borges, H.E., Souza, S.R.: Maximisation of investment profits: an approach to MACD based on genetic algorithms and fuzzy logic. In: IEEE Congress on Evolutionary Computation, pp. 1–7 (2010)

    Google Scholar 

  4. Chen, Y.-M., Chung, T.-Y., Lai, M.-Y., Hsu, C.-H.: MACD-based motion detection approach in heterogeneous networks. EURASIP J. Wirel. Commun. Netw. 2008, 1–14 (2008)

    Article  Google Scholar 

  5. Yang, Y.: Predicting stock price trend by optimizing MACD model. J. Guangxi Acad. Sci. 33(6) (2017)

    Google Scholar 

  6. Kang, B.-K.: Improving MACD technical analysis by optimizing parameters and modifying trading rules: evidence from the Japanese Nikkei 225 futures market. J. Risk Financ. Manag. 14(1), 37 (2021)

    Article  Google Scholar 

  7. Tan, J., Zhou, W.J., Quek, C.: Trading model: self reorganizing fuzzy associative machine - forecasted MACD-histogram (SeroFAM-fMACDH). In: 2015 International Joint Conference on Neural Networks (IJCNN), pp. 1–8 (2015)

    Google Scholar 

  8. Chen, C.-C., Kuo, Y.-C., Huang, C.-H., Chen, A.-P.: Applying market profile theory to forecast Taiwan index futures market. Expert Syst. Appl. 41(10), 4617–4624 (2014)

    Article  Google Scholar 

  9. Mehtab, S., Sen, J.: Stock price prediction using convolutional neural networks on a multivariate timeseries (2020)

    Google Scholar 

  10. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

Download references

Acknowledgement

Partially Funded by Science and Technology Program of Sichuan Province (2021YFG0330), partially funded by Grant SCITLAB-0001 of Intelligent Terminal Key Laboratory of SiChuan Province and partially Funded by Fundamental Research Funds for the Central Universities (ZYGX2019J076).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Huan Deng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Deng, H., Liu, J., Tang, Y., Lin, D., Chen, B. (2022). LSTM-Based MACD Strategy Parameter Restructuring. In: Shi, S., Ma, R., Lu, W. (eds) 6GN for Future Wireless Networks. 6GN 2021. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 439. Springer, Cham. https://doi.org/10.1007/978-3-031-04245-4_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-04245-4_24

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-04244-7

  • Online ISBN: 978-3-031-04245-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics