Predicting Malaysian stock market with relative strength index and moving average convergence-divergence indicators using long short-term memory
DOI:
https://doi.org/10.15282/daam.v5i1.10197Keywords:
Relative strength index, Moving average convergence-divergence, Long-short term memory , Predictive modelling , Stock marketAbstract
Some Malaysians hold stocks or mutual funds, and majority of them are new investors. Bursa Malaysia’s CEO stated that based on stock exchange data up to 2022, there are 80.8 million units of odd lot shares in Central Depository System (CDS) accounts, which has been expanding over the years. However, many people still need to learn how to use technical indicators for investing. Even though many researchers have used the Relative Strength Index (RSI) and Moving Average Convergence-Divergence (MACD) on other stock markets throughout the globe, there are limited studies that have been utilizing both indicators in the Malaysian stock market. This study mainly focuses on developing predictive modeling for individual investors, specifically RSI and MACD indicators on conventional Malaysian stock. Our research hypothesis is that the machine learning (ML) approach, the Long Short-Term Memory (LSTM) technique, can predict the Malaysian stock market. By combining the RSI and MACD indicators with LSTM, this study explores the possibilities of timing (buy and sell signals) in Malaysian stock market. This study used daily data gathered from the KLCI Index from 2011 until 2021. Performance metrics, including mean return, standard deviation risk ratio, and Sharpe ratio, were calculated, and hypothesis testing was conducted using t-tests on mean return and F-tests for risk comparison. The empirical data from the Malaysian market demonstrated that the RSI and MACD indicators combined with ML provide a considerable excess return. This strategy is applicable to Malaysia's conventional stock market since it generates an excess profit. The results show that MACD-LSTM provides more profitable trading than RSI-LSTM.
References
[1]Smart S, Gitman L, Joehnk M. Fundamentals of investing. 12th ed. Pearson Education Limited; 2014.
[2]Fortune. Warren Buffett: Why stocks beat gold and bonds. Published February 9, 2012. Available from:https://fortune.com/2012/02/09/warren-buffett-why-stocks-beat-gold-and-bonds/
[3]New Straits Times. More millennials investing in the stock market. Published August 5, 2019. Available from:https://www.nst.com.my/business/2019/08/510296/more-millenials-investing-stock-market
[4]Koh B, Fong WM. Personal financial planning. 3rd ed. Pearson Education South Asia Pte Ltd; 2003.
[5]Banik S, Khan AFMK, Anwer M. Dhaka stock market timing decisions by hybrid machine learning technique. In: Proceedings of 15th International Conference on Computer and Information Technology (ICCIT); 2012 Dec 18-20; Chittagong, Bangladesh. p. 384-9.
[6]Moghar A, Hamiche M. Stock market prediction using LSTM recurrent neural network. Procedia Computer Science.2020;170:1168-73.
[7]Nelson DMQ, Pereira ACM, de Oliveira RA. Stock market's price movement prediction with LSTM neural networks. In:Proceedings of 2017 International Joint Conference on Neural Networks (IJCNN); 2017 May 14-19; Anchorage, AK, USA. p. 1419-26.
[8]Forbes Advisor. Understanding the Sharpe ratio. Published February 27, 2024. Available from:https://www.forbes.com/advisor/investing/sharpe-ratio/
Downloads
Published
Issue
Section
License
Copyright (c) 2025 The Author(s)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.