OPTIMAL STRATEGY FOR INDONESIAN SHARIA STOCKS: BACKTESTING BUY-HOLD, DCA, TRADING (2014-2024)
Abstract
This study provides a comprehensive comparative analysis of three distinct investment strategies—Buy-and-Hold (B&H), Dollar-Cost Averaging (DCA), and an active trading model based on Moving Average Convergence Divergence (MACD) and Relative Strength Index (RSI) indicators—applied to the universe of Sharia-compliant stocks listed on the Jakarta Islamic Index (JII) in Indonesia. Utilizing a survivorship-bias-free methodology, this research conducts a rigorous backtesting simulation over an 11-year period from January 2014 to December 2024, with an initial capital of IDR 100 million. The quantitative analysis is uniquely integrated with a qualitative jurisprudential (fiqh) assessment, evaluating each strategy's adherence to core Islamic financial principles, particularly the prohibitions of excessive uncertainty (gharar) and speculation (maysir), and its alignment with the higher objective of wealth preservation (hifz al-mal). The empirical results indicate that while the Active Trading strategy generated the highest cumulative return, the passive Buy-and-Hold strategy achieved a superior risk-adjusted performance, evidenced by the highest Sharpe Ratio. The jurisprudential analysis reveals that passive strategies exhibit the highest degree of Sharia compliance, being free from concerns of speculation and ambiguity of ownership inherent in high-frequency trading. By synthesizing these dual perspectives, the study concludes that the Buy-and-Hold strategy represents the optimal approach for the Sharia-conscious investor in the Indonesian market, balancing robust financial performance with steadfast adherence to Islamic ethical principles. This research contributes to the literature by offering a long- term empirical test on a key emerging Islamic market and by bridging the gap between quantitative financial analysis and classical Islamic commercial jurisprudence.
References
Alam, Md. M., Akbar, C. S., Shahriar, S. M., & Elahi, M. M. (2017). The Islamic Shariah Principles For Investment In Stock Market. Qualitative Research In Financial Markets, 9(2), 132–146. Https://Doi.Org/10.1108/QRFM-09-2016-0029
Algotrading101 Blog. (2025, July 22). Yfinance Library - A Complete Guide . Https://Algotrading101.Com/Learn/Yfinance-Guide/
Allianz Global Investors. (2025, July 22). Mengenal Investasi Syariah Allianz Global Investors. Https://Id.Allianzgi.Com/Id-Id/Investor-Education-Landing/Financial-Literacy/Introduction-Sharia-Investment
Arxiv. (2025). A Comparative Study Of The MACD-Base Trading Strategies . Https://Arxiv.Org/Pdf/2206.12282
Bank Indonesia. (2025). Indicator. Https://Www.Bi.Go.Id/En/Statistik/Indikator/Bi-Rate.Aspx
BAZNAS KOTA YOGYAKARTA. (2025). Zakat Saham; Perhitungan Dan Cara Membayarnya . Https://Baznas.Jogjakota.Go.Id/Detail/Index/28851
BAZNAS RI. (2025). Zakat Dan Sedekah Saham . Https://Baznas.Go.Id/Zakatsaham
Bursa Kota. (2025, July 22). Berinvestasi Dengan Prinsip Syariah . Https://Www.Bursakota.Co.Id/Berinvestasi-Dengan-Prinsip-Syariah/
Cimb Niaga. (2025, July 22). Apa Itu Investasi Syariah? Inilah Jenis-Jenis Dan Manfaatnya. Https://Www.Cimbniaga.Co.Id/Id/Inspirasi/Perencanaan/Apa-Itu-Investasi-Syariah-Inilah-Jenis-Jenis-Dan-Manfaatnya
Commission Malaysia, S. (2023). Maqasid Al-Shariah Guidance Islamic Capital Market Malaysia. Www.Investsmartsc.My
Fithra Faisal. (2025). Gross Domestic Product 2024: 5 February 2025. In Senior Economist.
Funding Souq. (2025, July 22). Is Stock Investing Halal Or Haram? Https://Fundingsouq.Com/Ae/En/Blog/Is-Stock-Investing-Halal-Or-Haram/
Hasan, Md. B., Rashid, Md. M., Shafiullah, M., & Sarker, T. (2022). How Resilient Are Islamic Financial Markets During The COVID-19 Pandemic? Pacific-Basin Finance Journal, 74, 101817. Https://Doi.Org/10.1016/J.Pacfin.2022.101817
Hasanah, R., & Zahira, S. N. (2025). Mapping Of Sharia Stock Performance Research: Bibliometric Analysis. INASJIF Indonesian Scientific Journal Of Islamic Finance, 3(2), 207–220.
Indonesiainvestment. (2025). Inflation In Indonesia (Consumer Price Index), . Https://Www.Indonesia-Investments.Com/Finance/Macroeconomic-Indicators/Inflation-In-Indonesia/Item254?
Infaq Dakwah Center. (2025). Panduan Praktis Zakat Yang Harus Diketahui Umat Islam . Http://Www.Infaqdakwahcenter.Com/M/Article/653/Panduan-Praktis-Zakat-Yang-Harus-Diketahui-Umat-Islam/
Institute Of Islamic Banking And Insurance. (2025, July 22). Maqasid Al-Shari’ah . Institute Of Islamic Banking And Insurance.
Investopedia. (2025, July 22). Choosing Between Dollar-Cost And Value Averaging . Investopedia.
Islamic Finance Guru. (2025, July 22). Is Day Trading Halal Or Haram? . Https://Www.Islamicfinanceguru.Com/Articles/Is-Day-Trading-Halal
Isynuwardhana, D., & Aslam, A. N. (2024). Optimization Of Stock Investments In Indonesia Stock Exchange: Comparing The Method Of Dollar Cost Averaging (DCA) And Lump Sum (LS). International Journal Of Religion, 5(7), 839–848. Https://Doi.Org/10.61707/W3vk5149
Kartika, U., Nanik, O., Dosen, W., & Ekonomi, F. (2011). Pengaruh Perubahan Komposisi Jakarta Islamic Index Terhadap Return Saham. Jurnal EL-QUDWAH, 1(5). Www.Reksadanasyariah.Net.,
Luxalgo. (2025). Survivorship Bias In Backtesting Explained.. Https://Www.Luxalgo.Com/Blog/Survivorship-Bias-In-Backtesting-Explained/
Morgan Stanley. (2025, July 22). Aligning Shariah Values And Investing . Gustavo Ciobataru.
Munich Personal Repec. (2025, July 22). The Permissible Gharar (Risk) In Classical Islamic Jurisprudence. Https://Mpra.Ub.Uni-Muenchen.De/67711/1/MPRA_Paper_67711.Pdf
Prasetyo, A., Vibriyanto, N., & Wulandari, R. (2024). Comparison Of Volatility Of Jakarta Islamic Index With LQ45 Stock In Indonesia. Jurnal Manajemen Dan Organisasi, 15(3), 281–292. Https://Doi.Org/10.29244/Jmo.V15i3.56464
Pyquantnews. (2025). The Insider’s Guide To Clean Financial Market Data With Python And Yahoo Finance. Https://Www.Pyquantnews.Com/Free-Python-Resources/Insiders-Guide-To-Clean-Financial-Market-Data-With-Python-And-Yahoo-Finance
Roselyn Regalado. (2024). Sustainable Bond Market Figure 5: Market Profile Of Outstanding Sustainable Bonds In Indonesia At The End Of March 2024. Asia Bond Monitor June 2024.
Row Zero. (2025). Yfinance Python Package In A Spreadsheet . Https://Rowzero.Io/Blog/Yfinance
Smartasset. (2025, July 22). Pros And Cons Of Active Trading Vs. Buy-And-Hold Investing . Https://Smartasset.Com/Investing/Active-Trading-Vs-Buy-And-Hold
Sunarso, Rochmad Fadjar Darmanto, & Irwan Kurniawan. (2025). Laporan Penelitian Penelitian Internal Perguruan Tinggi.
Wikipedia. (2025a). Jakarta Islamic Index . 7(22).https://En.Wikipedia.Org/Wiki/Jakarta_Islamic_Index
Wikipedia. (2025b, July 22). Indonesia Stock Exchange . Https://En.Wikipedia.Org/Wiki/Indonesia_Stock_Exchange
Yani Panggabean, F. (2019). Stock Investment In Islamic Perspective. 1ST International Halal Conference & Exhibition.

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