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.
Keywords
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
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)
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)
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)
Yang, Y.: Predicting stock price trend by optimizing MACD model. J. Guangxi Acad. Sci. 33(6) (2017)
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)
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)
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)
Mehtab, S., Sen, J.: Stock price prediction using convolutional neural networks on a multivariate timeseries (2020)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
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)