بررسی عملکرد و سودآوری استراتژی میانگین‌های متحرک روزانه و درون‌روزی بر روی صندوق های سرمایه‌گذاری در بازار بورس ایران با رویکرد مقایسه ای با استراتژی خرید و نگهداری

نوع مقاله : مقاله پژوهشی

نویسندگان

1 دانشجوکارشناسی ارشد مالی، دانشگاه خاتم، تهران، ایران

2 استادیار اقتصاد، دانشگاه خاتم، تهران، ایران

چکیده

معامله‌گران و سرمایه‌گذاران همواره به دنبال کسب سود بیشتر و یا کنترل ریسک‌های مرتبط با سرمایه‌گذاری‌های خود هستند. از دهه‌های گذشته، ابزارهای مختلفی برای دستیابی به این اهداف، توسعه یافته است. در این راستا، معاملات الگوریتمی به‌عنوان یکی از روش‌های برجسته در بازارهای مالی شناخته می‌شود که درصد قابل توجهی از معاملات بازار سهام ایالات متحده و سایر نقاط جهان را شامل می‌شود. این نوع معاملات بر اساس برنامه‌ها و الگوریتم‌های از پیش تعیین‌شده انجام می‌گیرد. تحلیل فنی و ابزارهای وابسته به قیمت‌های تاریخی مانند اندیکاتور و توابع قیمتی نوعی از این فیلتر‌ها و شرایط تعیین‌کننده ورود و خروج به یک دارایی مانند سهام است. میانگین‌های متحرک و استراتژی‌های برگرفته از آن‌ها همواره مورد توجه معامله‌گران و سرمایه‌گذاران در بازارهای مختلف بوده‌است. در این پژوهش، به بررسی سودآوری و عملکرد میانگین‌های متحرک روزانه و درون‌روزی با در نظر گرفتن  دو پارادایم و رژیم متفاوت بازار شامل رونق و رکود همراه با 11 سنجه عملکرد پرداخته شده‌است و پس‌از آن یک اندیکاتور روندسنج دیگری به نام شاخص جهت‌دار میانگین با استراتژی میانگین‌های متحرک درون‌روزی ترکیب شد. در پیاده‌سازی این استراتژی، علاوه‌بر خریدوفروش صندوق‌های سرمایه گذاری، از نرخ بدون ریسک هم می‌توان بهره برد و هزینه معاملاتی نیز، در نظر گرفته شده است. در پژوهش حاضر، علاوه‌بر 3 استراتژی میانگین‌های متحرک روزانه، میانگین‌های متحرک درون‌روزی و میانگین‌های متحرک دورن‌روزی با فیلتر شاخص جهت‌دار میانگین، از استراتژی خرید و نگهداری نیز، استفاده شده‌است، تا یک مقایسه جامع بین استراتژی‌های مختلف صورت گیرد. نتایج پژوهش، نشان می‌دهد در رژیم‌های رونق، استراتژی میانگین‌های متحرک روزانه و در رژیم‌های رکودی استراتژی میانگین‌های متحرک درون‌روزی با فیلتر شاخص جهت‌دار‌ میانگین بهترین عملکرد را خواهند داشت.

کلیدواژه‌ها

موضوعات


عنوان مقاله [English]

Algorithmic Trading, Price-Based Functions, Daily and Intraday Moving Averages, Average Directional Index (ADX), Buy-and-Hold Strategy

نویسندگان [English]

  • Hamid Hasani 1
  • Saeed Rahimian 2
1 Masters of Finance, Khatan University.Tehran.Iran
2 Assistant Professor , Khatam University.Tehran.Iran
چکیده [English]

Traders and investors have always sought to maximize profits and manage risks associated with their investments. Over the past decades, various tools have been developed to achieve these objectives. In this context, algorithmic trading has emerged as a prominent method in financial markets, accounting for a significant percentage of stock market transactions in the United States and other parts of the world. This type of trading is executed based on pre-defined programs and algorithms. Technical analysis and price-dependent tools, such as indicators and price-based functions, are examples of such filters and conditions that determine entry and exit points for assets like stocks. Moving averages and strategies derived from them have consistently attracted the attention of traders and investors across various markets. This study investigates the profitability and performance of daily and intraday moving averages, considering two distinct market paradigms and regimes: boom and recession. Eleven performance metrics are employed in the analysis. Additionally, a trend-following indicator called the Average Directional Index (ADX) is integrated with the intraday moving average strategy. In implementing this strategy, besides buying and selling investment funds, the risk-free rate is also utilized, and transaction costs are taken into account.

The research evaluates three moving average strategies:

1. Daily moving averages,

2. Intraday moving averages, and

3. Intraday moving averages filtered by the Average Directional Index.

For comparative purposes, a buy-and-hold strategy is also included to provide a comprehensive comparison among the different strategies. The findings of this study demonstrate that during boom regimes, the daily moving average strategy performs best, while during recessionary regimes, the intraday moving average strategy filtered by the Average Directional Index yields the most favorable results.

کلیدواژه‌ها [English]

  • Algorithmic Trading
  • Price Functions and indicators
  • Daily and Intraday Moving Averages
  • Average Directional Index (ADX)
  • Buy and Hold Strategy
References
Barboza Oriani, F. & Coelho, G. P. (2016). Evaluating the impact of technical indicators on stock forecasting. IEEE Xplore. DOI : 10.1109/SSCI.2016.7850017
Bessembinder, H. & Chan, K. (1995). The profitability of technical trading rules in the Asian stock markets. Pacific-Basin Finance Journal. 3, 257-284. DOI : 10.1016/0927-538X(95)00002-3
Brock, W., Lakonishok, J., & LeBaron, B. (1992). Simple technical trading rules and the stochastic properties of stock returns. The Journal of Finance. 47(5), 1731-1764. DOI: 10.1111/j.1540-6261.1992.tb04681.x
Chawwalit, F. & Sornil, O. (2019). Evolving and combining technical indicators to generate trading strategies. Journal of Physics: Conference Series.1195, DOI :10.1088/1742-6596/1195/1/012010
Cogneau, P. (2009). The 101 ways to measure portfolio performance. Journal of Performance Measurement.  13(4), 56-71. DOI : 10.2139/ssrn.1326076
Daruvuri, R. (2025). Bitcoin Financial Forecasting: Analyzing the Impact of Moving Average Strategies on Trading Performance [Conference paper]. DOI : 10.13140/RG.2.2.10441.25441
Dowd, K. (1999). A value at risk approach to risk-return analysis. Journal of Portfolio Management. 25(4), DOI: 10.3905/jpm.1999.319755
Faber, M. (2007). A quantitative approach to tactical asset allocation. The Journal of Wealth Management. 9(4). 69-79. DOI: 10.3905/jwm.2007.674809
Fang, J., Qin, Y., & Jacobsen, B. (2014). Technical market indicators: An overview. Journal of Behavioral and Experimental Finance. 4, 25-56. DOI : 10.1016/j.jbef.2014.09.001
Ghanem, H., Harasheh, M., Sbaih, N., & Ajmal, D. (2024). The predictability of technical analysis in foreign exchange market using forward return: evidence from developed and emerging currencies .Cogent Business & Management. 11(1). DOI: 10.1080/23311975.2024.2428781
Gurrib, I. (2014). The moving average crossover strategy: Does it work for the S&P500 market index?. SSRN Electronic Journal. DOI: 10.2139/ssrn.2578302
Han, Y., Yang, K., & Zhou, G. (2013). A new anomaly: The cross-sectional profitability of technical analysis. Journal of Financial and Quantitative Analysis. 48(5), 1433-1461. DOI: 10.1017/S0022109013000586
Huang, J.-Z. & Huang, Z. (2020). Testing moving average trading strategies on ETFs. Journal of Empirical Finance, 57, 16-32, DOI: 10.1016/j.jempfin.2019.10.002
Ilinskaia, K. & Ilinski, K. (1999). How to reconcile market efficiency andtechnical analysis. cond-mat/9902944. DOI: 10.48550/arXiv.cond-mat/9902044
Jensen, M. C. (1968). The performance of mutual funds. The Journal of Finance. 23(2), 389-416, DOI: 10.1111/j.1540-6261.1968.tb00815.x
Jensen, M. C. & Bennington, G. A. (1970). Random walks and technical theories: Some additional evidence. The Journal of Finance. 25( )2, Pages : 469-482, DOI : 10.2307/2325495
Lento, C. & Gradojevic, N. (2007). The profitability of technical trading rules: A combined signal approach. Journal of Applied Business Research (JABR). DOI : 10.19030/jabr.v23i1.1405
Lo, A. W., Mamaysky, H., & Wang, J. (2000). Foundations of technical analysis: Computational algorithms, statistical inference, and empirical implementation. The Journal of Finance. DOI: 10.3386/w7613
Macchiarulo, A. (2018). Predicting and beating the stock market with machine learning and technical analysis. Journal of Internet Banking and Commerce. DOI: 10.23919/INDIACom61295.2024.10499152
Manahov, V., Hudson, R., & Gebka, B. (2014). Does high frequency trading affect technical analysis and market efficiency? And if so, how?. Journal of International Financial Markets, Institutions and Money. DOI: 10.1016/j.intfin.2013.11.002
McCafferty, T. (2003). The market is always right. McGraw Hill. Book. https://www.bol.com/nl/nl/p/the-market-is-always-right/1001004006951512/
Miller, C. N., Roll, R., & Taylor, W. (1970). Efficient capital markets: A review of theory and empirical work. The Journal of Finance. 25(2), 383-417, DOI: 10.2307/2325486
Park, C.-H. & Irwin, S. H. (2007). What do we know about the profitability of technical analysis?. Journal of Economic Surveys, 21(4), DOI: 10.1111/j.1467-6419.2007.00519.x
Sarykalin, S., Serraino, G., & Uryasev, S. (2008). Value-at-risk vs. conditional value-at-risk in risk management and optimization. European Journal of Operational Research. DOI: https://doi.org/10.1287/educ.1080.0052
Sortino, F. A. & Lee, N. (1994). Price-performance measurement in a downside risk framework. The Journal of Investing, 3(3), DOI: 10.3905/joi.3.3.59
Taneja, S. (2018). The machine predicted market. International Conference on Computational Techniques, Electronics and Mechanical Systems (CTEMS), IEEE Xplore. DOI: 10.1109/CTEMS.2018.8769306
Treynor, J. L. (1962). Toward a theory of market value of risky assets. FinancialAnalysts Journal. DOI: 10.1002/9781119196679.ch6
Young, T. W. (1991). Calmar ratio: A smoother tool. Futures. https://www.scribd.com/doc/259537728/Calmar-Ratio-of-fund