Abstract
The majority of algorithmic trading studies use data under fixed physical time intervals, such as daily closing prices, which makes the flow of time discontinuous. An alternative approach, namely directional changes (DC), is able to convert physical time interval series into event-based series and allows traders to analyse price movement in a novel way. Previous work on DC has focused on proposing new DC-based indicators, similar to indicators derived from technical analysis. However, very little work has been done in combining these indicators under a trading strategy. Meanwhile, genetic programming (GP) has also demonstrated competitiveness in algorithmic trading, but the performance of GP under the DC framework remains largely unexplored.
In this paper, we present a novel GP that uses DC-based indicators to form trading strategies, namely GP-DC. We evaluate the cumulative return, rate of return, risk, and Sharpe ratio of the GP-DC trading strategies under 33 datasets from 3 international stock markets, and we compare the GP’s performance to strategies derived under physical time, namely GP-PT, and also to a buy and hold trading strategy. Our results show that the GP-DC is able to outperform both GP-PT and the buy and hold strategy, making DC-based trading strategies a powerful complementary approach for algorithmic trading.
Keywords
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Adegboye, A., Kampouridis, M.: Machine learning classification and regression models for predicting directional changes trend reversal in FX markets. Exp. Syst. Appl. 173, 114645 (2021)
Adegboye, A., Kampouridis, M., Johnson, C.G.: Regression genetic programming for estimating trend end in foreign exchange market. In: 2017 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 1–8. IEEE (2017)
Aloud, M.E.: Time series analysis indicators under directional changes: the case of Saudi stock market. Int. J. Econ. Financ. Issues 6(1), 55–64 (2016)
Aloud, M.E., Alkhamees, N.: Intelligent algorithmic trading strategy using reinforcement learning and directional change. IEEE Access 9, 114659–114671 (2021)
Aloud, M., Fasli, M.: Exploring trading strategies and their effects in the foreign exchange market: exploring trading strategies. Comput. Intell. 33(2), 280–307 (2016)
Ao, H., Tsang, E.: Trading algorithms built with directional changes. In: 2019 IEEE Conference on Computational Intelligence for Financial Engineering & Economics (CIFEr), pp. 1–7. IEEE (2019)
Bakhach, A., Tsang, E., Ng, W.L., Chinthalapati, V.R.: Backlash agent: a trading strategy based on directional change. In: 2016 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 1–9. IEEE (2016)
Brabazon, A., Kampouridis, M., O’Neill, M.: Applications of genetic programming to finance and economics: past, present, future. Genet. Program Evolvable Mach. 21(1), 33–53 (2020)
Christodoulaki, E., Kampouridis, M., Kanellopoulos, P.: Technical and sentiment analysis in financial forecasting with genetic programming. In: IEEE Symposium on Computational Intelligence for Financial Engineering and Economics (CIFEr) (2022)
Claveria, O., Monte, E., Torra, S.: Evolutionary computation for macroeconomic forecasting. Comput. Econ. 53(2), 833–849 (2019)
Glattfelder, J.B., Dupuis, A., Olsen, R.B.: Patterns in high-frequency FX data: discovery of 12 empirical scaling laws. Quant. Financ. 11(4), 599–614 (2011)
Guillaume, D.M., Dacorogna, M.M., Davé, R.R., Müller, U.A., Olsen, R.B., Pictet, O.V.: From the bird’s eye to the microscope: a survey of new stylized facts of the intra-daily foreign exchange markets. Financ. Stochast. 1(2), 95–129 (1997)
Hamida, S.B., Abdelmalek, W., Abid, F.: Applying dynamic training-subset selection methods using genetic programming for forecasting implied volatility. arXiv preprint arXiv:2007.07207 (2020)
Hussein, S.M.: Event-based microscopic analysis of the FX market. Ph.D. thesis, University of Essex (2013)
Kampouridis, M., Adegboye, A., Johnson, C.: Evolving directional changes trading strategies with a new event-based indicator. In: Shi, Y., et al. (eds.) SEAL 2017. LNCS, vol. 10593, pp. 727–738. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-68759-9_59
Kampouridis, M., Tsang, E.: Investment opportunities forecasting: extending the grammar of a GP-based tool. Int. J. Comput. Intell. Syst. 5(3), 530–541 (2012)
Kelotra, A., Pandey, P.: Stock market prediction using optimized Deep-ConvLSTM model. Big Data 8(1), 5–24 (2020)
Poli, R., Langdon, W.B., McPhee, N.F.: A field guide to genetic programming (2008). Published via http://lulu.com and freely available at http://www.gp-field-guide.org.uk. (With contributions by JR Koza)
Tsang, E.: Directional changes, definitions. Working Paper WP050-10 Centre for Computational Finance and Economic Agents (CCFEA), University of Essex Revised 1, Technical report (2010)
Tsang, E. P. K., Tao, R., Ma, S.: Profiling financial market dynamics under directional changes. Quantit. Finan. (2016). https://doi.org/10.1080/14697688.2016.1164887
Tsang, E.P., Tao, R., Serguieva, A., Ma, S.: Profiling high-frequency equity price movements in directional changes. Quant. Financ. 17(2), 217–225 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Long, X., Kampouridis, M., Kanellopoulos, P. (2022). Genetic Programming for Combining Directional Changes Indicators in International Stock Markets. In: Rudolph, G., Kononova, A.V., Aguirre, H., Kerschke, P., Ochoa, G., Tušar, T. (eds) Parallel Problem Solving from Nature – PPSN XVII. PPSN 2022. Lecture Notes in Computer Science, vol 13399. Springer, Cham. https://doi.org/10.1007/978-3-031-14721-0_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-14721-0_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-14720-3
Online ISBN: 978-3-031-14721-0
eBook Packages: Computer ScienceComputer Science (R0)