IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v622y2023ics0378437123003655.html
   My bibliography  Save this article

Incorporating improved directional change and regime change detection to formulate trading strategies in foreign exchange markets

Author

Listed:
  • Hu, Shicheng
  • Zhang, Weijie
  • Li, Danping
  • Wu, Bing

Abstract

Trading strategies for securing excess return and controlling investment risks in the FX (foreign exchange) market have attracted the attention of numerous researchers and investors. As a data-driven sampling method, DC (Directional Change) can better capture price changes and perform well in the trading strategies for FX market. However, traditional trading strategies based on DC adopt a subjective selection of fixed DC threshold θ, depending on the trader’s professional experience, which is proved to be poorly robust. Moreover, the previous trading rules based on DC are limited to DC event itself, ignoring the grasp of the overall market dynamics. In order to overcome these defects, this paper proposes an intelligent trading algorithm (ITA) for FX market. The trading algorithm improves DC by adding attenuation coefficient α to the threshold of downward DC trend to make DC more sensitive to downward trend, and then optimizes super parameter combination (θ,α) by Bayesian optimization. Furthermore, it introduces DC-related indicators as the input of HMM (hidden Markov model) to detect the regime change. In order to validate the effectiveness of ITA, we conduct a case study on three currency pairs: EUR/GBP, EUR/USD and EUR/JPY, and compare the proposed ITA with fixed threshold, dynamic threshold, dynamic threshold based on improved DC. The results show that the trading strategy based on improved DC and regime change detection can obtain positive returns and a relatively low level of risk, which demonstrates the effectiveness of the improved DC and regime change detection based on double threshold optimization in foreign exchange market transactions.

Suggested Citation

  • Hu, Shicheng & Zhang, Weijie & Li, Danping & Wu, Bing, 2023. "Incorporating improved directional change and regime change detection to formulate trading strategies in foreign exchange markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 622(C).
  • Handle: RePEc:eee:phsmap:v:622:y:2023:i:c:s0378437123003655
    DOI: 10.1016/j.physa.2023.128810
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437123003655
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2023.128810?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Farias Nazário, Rodolfo Toríbio & e Silva, Jéssica Lima & Sobreiro, Vinicius Amorim & Kimura, Herbert, 2017. "A literature review of technical analysis on stock markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 66(C), pages 115-126.
    2. Richard B. Olsen & Ulrich A. Müller & Michel M. Dacorogna & Olivier V. Pictet & Rakhal R. Davé & Dominique M. Guillaume, 1997. "From the bird's eye to the microscope: A survey of new stylized facts of the intra-daily foreign exchange markets (*)," Finance and Stochastics, Springer, vol. 1(2), pages 95-129.
    3. Ming-Ming, Lai & Siok-Hwa, Lau, 2006. "The profitability of the simple moving averages and trading range breakout in the Asian stock markets," Journal of Asian Economics, Elsevier, vol. 17(1), pages 144-170, February.
    4. Fong, Wai Mun & See, Kim Hock, 2002. "A Markov switching model of the conditional volatility of crude oil futures prices," Energy Economics, Elsevier, vol. 24(1), pages 71-95, January.
    5. Dimitrios Vezeris & Themistoklis Kyrgos & Christos Schinas, 2018. "Take Profit and Stop Loss Trading Strategies Comparison in Combination with an MACD Trading System," JRFM, MDPI, vol. 11(3), pages 1-23, September.
    6. Frank McGroarty & Ash Booth & Enrico Gerding & V. L. Raju Chinthalapati, 2019. "High frequency trading strategies, market fragility and price spikes: an agent based model perspective," Annals of Operations Research, Springer, vol. 282(1), pages 217-244, November.
    7. Andrew Ang & Allan Timmermann, 2012. "Regime Changes and Financial Markets," Annual Review of Financial Economics, Annual Reviews, vol. 4(1), pages 313-337, October.
    8. Hamilton, James D., 1990. "Analysis of time series subject to changes in regime," Journal of Econometrics, Elsevier, vol. 45(1-2), pages 39-70.
    9. Ben R. Marshall & Nhut H. Nguyen & Nuttawat Visaltanachoti, 2017. "Time series momentum and moving average trading rules," Quantitative Finance, Taylor & Francis Journals, vol. 17(3), pages 405-421, March.
    10. Hsu, Po-Hsuan & Taylor, Mark P. & Wang, Zigan, 2016. "Technical trading: Is it still beating the foreign exchange market?," Journal of International Economics, Elsevier, vol. 102(C), pages 188-208.
    11. Edward P. K. Tsang & Ran Tao & Antoaneta Serguieva & Shuai Ma, 2017. "Profiling high-frequency equity price movements in directional changes," Quantitative Finance, Taylor & Francis Journals, vol. 17(2), pages 217-225, February.
    12. Hossein Rad & Rand Kwong Yew Low & Robert Faff, 2016. "The profitability of pairs trading strategies: distance, cointegration and copula methods," Quantitative Finance, Taylor & Francis Journals, vol. 16(10), pages 1541-1558, October.
    13. Dong-Mei Zhu & Jiejun Lu & Wai-Ki Ching & Tak-Kuen Siu, 2019. "Option Pricing Under a Stochastic Interest Rate and Volatility Model with Hidden Markovian Regime-Switching," Computational Economics, Springer;Society for Computational Economics, vol. 53(2), pages 555-586, February.
    14. John Buffington & Robert J. Elliott, 2002. "American Options With Regime Switching," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 5(05), pages 497-514.
    15. Antoine Cully & Jeff Clune & Danesh Tarapore & Jean-Baptiste Mouret, 2015. "Robots that can adapt like animals," Nature, Nature, vol. 521(7553), pages 503-507, May.
    16. Monira Aloud & Maria Fasli & Edward Tsang & Alexandre Dupuis & Richard Olsen, 2013. "Stylized Facts of the FX Market Transactions Data: An Empirical Study," Journal of Finance and Investment Analysis, SCIENPRESS Ltd, vol. 2(4), pages 1-9.
    17. De Bondt, Werner F M & Thaler, Richard H, 1987. "Further Evidence on Investor Overreaction and Stock Market Seasonalit y," Journal of Finance, American Finance Association, vol. 42(3), pages 557-581, July.
    18. Ma, Junjun & Xiong, Xiong & He, Feng & Zhang, Wei, 2017. "Volatility measurement with directional change in Chinese stock market: Statistical property and investment strategy," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 471(C), pages 169-180.
    19. Aloud, Monira & Tsang, Edward & Olsen, Richard & Dupuis, Alexandre, 2012. "A directional-change event approach for studying financial time series," Economics - The Open-Access, Open-Assessment E-Journal (2007-2020), Kiel Institute for the World Economy (IfW Kiel), vol. 6, pages 1-17.
    20. Jun Qi & Lan Yi & Yiyun Chen, 2018. "Forecasting market risk using ultra-high-frequency data and scaling laws," Quantitative Finance, Taylor & Francis Journals, vol. 18(12), pages 2085-2099, December.
    21. Kim, Chang-Jin, 1994. "Dynamic linear models with Markov-switching," Journal of Econometrics, Elsevier, vol. 60(1-2), pages 1-22.
    22. Apergis, Nicholas & Gozgor, Giray & Lau, Chi Keung Marco & Wang, Shixuan, 2019. "Decoding the Australian electricity market: New evidence from three-regime hidden semi-Markov model," Energy Economics, Elsevier, vol. 78(C), pages 129-142.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Shengnan Li & Edward P. K. Tsang & John O'Hara, 2022. "Measuring relative volatility in high‐frequency data under the directional change approach," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 29(2), pages 86-102, April.
    2. Osman Kilic & Joseph M. Marks & Kiseok Nam, 2022. "Predictable asset price dynamics, risk-return tradeoff, and investor behavior," Review of Quantitative Finance and Accounting, Springer, vol. 59(2), pages 749-791, August.
    3. Zhang, Yue-Jun & Zhang, Lu, 2015. "Interpreting the crude oil price movements: Evidence from the Markov regime switching model," Applied Energy, Elsevier, vol. 143(C), pages 96-109.
    4. Mehrdoust, Farshid & Noorani, Idin & Kanniainen, Juho, 2024. "Valuation of option price in commodity markets described by a Markov-switching model: A case study of WTI crude oil market," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 215(C), pages 228-269.
    5. Ma, Feng & Wahab, M.I.M. & Huang, Dengshi & Xu, Weiju, 2017. "Forecasting the realized volatility of the oil futures market: A regime switching approach," Energy Economics, Elsevier, vol. 67(C), pages 136-145.
    6. Hamilton, J.D., 2016. "Macroeconomic Regimes and Regime Shifts," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 163-201, Elsevier.
    7. Liu, Yuanyuan & Niu, Zibo & Suleman, Muhammad Tahir & Yin, Libo & Zhang, Hongwei, 2022. "Forecasting the volatility of crude oil futures: The role of oil investor attention and its regime switching characteristics under a high-frequency framework," Energy, Elsevier, vol. 238(PA).
    8. Massimo Guidolin, 2011. "Markov Switching Models in Empirical Finance," Advances in Econometrics, in: Missing Data Methods: Time-Series Methods and Applications, pages 1-86, Emerald Group Publishing Limited.
    9. Platanakis, Emmanouil & Sakkas, Athanasios & Sutcliffe, Charles, 2019. "Harmful diversification: Evidence from alternative investments," The British Accounting Review, Elsevier, vol. 51(1), pages 1-23.
    10. Moerman, G.A., 2001. "Unpredictable After All? A short note on exchange rate predictability," ERIM Report Series Research in Management ERS-2001-29-F&A, Erasmus Research Institute of Management (ERIM), ERIM is the joint research institute of the Rotterdam School of Management, Erasmus University and the Erasmus School of Economics (ESE) at Erasmus University Rotterdam.
    11. Yip, Pick Schen & Brooks, Robert & Do, Hung Xuan & Nguyen, Duc Khuong, 2020. "Dynamic volatility spillover effects between oil and agricultural products," International Review of Financial Analysis, Elsevier, vol. 69(C).
    12. Vassilios Babalos & Mehmet Balcilar & Rangan Gupta, 2014. "Revisiting Herding Behavior in REITs: A Regime-Switching Approach," Working Papers 201448, University of Pretoria, Department of Economics.
    13. Theobald, Thomas, 2013. "Markov Switching with Endogenous Number of Regimes and Leading Indicators in a Real-Time Business Cycle Forecast," VfS Annual Conference 2013 (Duesseldorf): Competition Policy and Regulation in a Global Economic Order 79911, Verein für Socialpolitik / German Economic Association.
    14. Dmitry Kulikov, 2012. "Testing for Rational Speculative Bubbles on the Estonian Stock Market," Research in Economics and Business: Central and Eastern Europe, Tallinn School of Economics and Business Administration, Tallinn University of Technology, vol. 4(1).
    15. Masaru Chiba, 2023. "Robust and efficient specification tests in Markov-switching autoregressive models," Statistical Inference for Stochastic Processes, Springer, vol. 26(1), pages 99-137, April.
    16. repec:ipg:wpaper:2014-552 is not listed on IDEAS
    17. Timotheos Angelidis & Nikolaos Tessaromatis, 2014. "Global portfolio management under state dependent multiple risk premia," Proceedings of Economics and Finance Conferences 0400966, International Institute of Social and Economic Sciences.
    18. Jeremy J. Nalewaik, 2011. "Forecasting recessions using stall speeds," Finance and Economics Discussion Series 2011-24, Board of Governors of the Federal Reserve System (U.S.).
    19. Anoek Castelein & Dennis Fok & Richard Paap, 2020. "A multinomial and rank-ordered logit model with inter- and intra-individual heteroscedasticity," Tinbergen Institute Discussion Papers 20-069/III, Tinbergen Institute.
    20. Balcılar, Mehmet & Demirer, Rıza & Hammoudeh, Shawkat, 2015. "Regional and global spillovers and diversification opportunities in the GCC equity sectors," Emerging Markets Review, Elsevier, vol. 24(C), pages 160-187.
    21. Vika Koban, 2017. "The impact of market coupling on Hungarian and Romanian electricity markets: Evidence from the regime-switching model," Energy & Environment, , vol. 28(5-6), pages 621-638, September.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:622:y:2023:i:c:s0378437123003655. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.