Home / Current Issue / Paper 1706704
A Comparative Analysis of Machine Learning Algorithms for USD/EUR Foreign Exchange Rate Forecasting
Subject area: Science,Engineering and Technology · Area of research: Artificial Intelligence and Automation
Abstract
The Forex market is a beast?complicated, ever-changing, and influenced by an overwhelming number of factors. Yet, in the chaos lies opportunity. With the advancement of machine learning, are we finally capable of taming this beast? This study dives deep into the comparison of four machine learning models?Artificial Neural Network (ANN), Autoregressive Integrated Moving Average (ARIMA), Random Forest, and Support Vector Machine (SVM)?to predict the hourly price movements of the EUR/USD currency pair. The dataset, sourced from MetaTrader 5, spans over three years and was engineered to include domain-specific indicators like RSI, Bollinger Bands, and moving averages. ARIMA performed well at spotting linear trends but couldn?t handle the market's unpredictable, non-linear flips. ANN stepped up, proving its worth in capturing these chaotic patterns, especially during sudden trend changes. Random Forest, though brilliant in training, suffered a severe case of overfitting when tested. As for the SVM models, the Linear and RBF kernels showed balance, while the Polynomial and Sigmoid kernels stumbled in tackling the intricate dance of Forex data. Each model had its highs and lows: ARIMA?s precision with linear trends, ANN?s knack for non-linear shifts, Random Forest?s training prowess but testing pitfalls, and the SVM?s moderate but stable performance. The takeaway? ANN shines brightest in volatile markets, ARIMA is the go-to for linear trend detection, and a hybrid approach combining their strengths might just be the silver bullet. In conclusion, this study underscores the importance of picking the right tool for the job in the Forex market. Careful parameter tuning, feature engineering, and even hybrid models could hold the key to consistently outsmarting the market.
Keywords
Autoregressive Integrated Moving Average, Support Vector Machine, Random Forest, Artificial Neural Network.
References
[1] Fuller, N. et al. (2024) What is forex trading? - forex trading "Learn to trade the market, Learn to Trade The Market ‘Learn Price Action Trading with Nial Fuller’. Available at: https://www.learntotradethemarket.com/forex-university/introduction-what-is-forex-trading (Accessed: 23 November 2024).
[2] Abbas, S. (no date) 11 best forex indicators all traders should know in 2024 - XS, Discover the 11 best forex trading indicators for 2024. Learn how to use reliable tools like RSI, MACD, and more to enhance your trading strategy. Available at: https://www.xs.com/en/blog/best-forex-indicators/ (Accessed: 23 November 2024).
[3] IBM (2024) What is supervised learning? IBM. Available at: https://www.ibm.com/topics/supervised-learning (Accessed: 23 November 2024).
[4] GeeksforGeeks. (2024, October 10). Support Vector Machine Algorithm. Retrieved from https://www.geeksforgeeks.org/support-vector-machine-algorithm/
[5] Evgeniou, Theodoros & Pontil, Massimiliano. (2001). Support Vector Machines: Theory and Applications. 2049. 249-257. 10.1007/3-540-44673-7_12.
[6] https://media.geeksforgeeks.orgwp-content/uploads20201211162942/Capture.JPG
[7] https://media.geeksforgeeks.orgwp-content/uploads20201211181531/Capture.JPG
[8] https://media.geeksforgeeks.orgwp-content/uploads20201211190544/Capture.JPG
[9] https://media.geeksforgeeks.orgwp-content/uploads20201211191138/Capture.JPG
[10] Breiman, L. (2001). Random forests. Machine learning, 45, 5-32.
[11] Ali, Jehad & Khan, Rehanullah & Ahmad, Nasir & Maqsood, Imran. (2012). Random Forests and Decision Trees. International Journal of Computer Science Issues (IJCSI). 9.
[12] Mabrouk, N., Chihab, M., & Chihab, Y. (2022). Trading Strategy in the Forex Market based on Linear and Non-linear Machine Learning Algorithms. 81–85. https://doi.org/10.5220/0010728800003101
[13] https://media.datacamp.com/legacy/image/upload/v1718113325/image_7f309c633f.png
[14] Sherstinsky, A. (n.d.). Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) Network. https://www.linkedin.com/in/alexsherstinsky
[15] https://aditi-mittal.medium.com/understanding-rnn-and-lstm-f7cdf6dfc14e
[16] https://miro.medium.com/v2/resize:fit:640/format:webp/1*go8PHsPNbbV6qRiwpUQ5BQ.png
[17] Hayes, A. (2024, July). Autoregressive integrated moving average (ARIMA) prediction model, Investopedia. Available at: https://www.investopedia.com/terms/a/autoregressive-integrated-moving-average-arima.asp (Accessed: 22 November 2024).
[18] (No date) What are autoregressive models? - ar models explained - AWS. Available at: https://aws.amazon.com/what-is/autoregressive-models/#:~:text=Autoregression is a statistical technique, function of its past values. (Accessed: 22 November 2024).
[19] Nau, R. (no date) Introduction to ARIMA: Nonseasonal Models. Available at: https://people.duke.edu/%7ernau/411arim.htm (Accessed: 22 November 2024).
[20] https://d1.awsstatic.com/FORMULA33.73e02af03ffa7c17562929db41034d6b048352be.png
[21] Uhlig, S., Alkhasli, I., Schubert, F., Tschöpe, C., & Wolff, M. (2023). A review of synthetic and augmented training data for machine learning in ultrasonic non-destructive evaluation. In Ultrasonics (Vol. 134). Elsevier B.V. https://doi.org/10.1016/j.ultras.2023.107041
[22] E. Soria Olivas (Ed.), Handbook of research on machine learning applications and trends: algorithms, methods, and techniques, IGI Global (701 E. Chocolate Avenue Hershey Pennsylvania 17033 USA), Hershey, PA, 2010.
[23] C.C. Aggarwal Data Classification: Algorithms and Applications CRC Press, Boca Raton, FL (2015)
[24] Author links open overlay panelSaeed Mouloodi a et al. (2022) Feedforward backpropagation artificial neural networks for predicting mechanical responses in complex nonlinear structures: A study on a long bone, Journal of the Mechanical Behavior of Biomedical Materials. Available at: https://www.sciencedirect.com/science/article/abs/pii/S1751616122000078 (Accessed: 22 November 2024).
[25] Murat H., S. (2006). A brief review of feed-forward neural networks. Communications Faculty Of Science University of Ankara, 50(1), 11–17. https://doi.org/10.1501/commua1-2_0000000026
[26] Nguyen, Thuy & Xuan, Vuong. (2018). FoRex Trading Using Supervised Machine Learning. International Journal of Engineering & Technology. 7. 400. 10.14419/ijet.v7i4.15.23024.
[27] Dautel, Alexander & Härdle, Wolfgang Karl & Lessmann, Stefan & Seow, Hsin-Vonn. (2020). Forex exchange rate forecasting using deep recurrent neural networks. Digital Finance. 2. 10.1007/s42521-020-00019-x.
[28] Macedo, Luis & Godinho, Pedro & Alves, Maria. (2020). A Comparative Study of Technical Trading Strategies Using a Genetic Algorithm. Computational Economics. 55. 10.1007/s10614-016-9641-9.
[29] Huang, Wei & Lai, Kin Keung & Nakamori, Yoshiteru & Wang, Shouyang. (2004). Forecasting Foreign Exchange Rates with Artificial Neural Networks: A Review. International Journal of Information Technology and Decision Making. 3. 145-165. 10.1142/S0219622004000969.
[30] Ayitey Junior, Michael & Appiahene, Peter & Appiah, Obed & Ninfaakang, Christopher. (2023). Forex market forecasting using machine learning: Systematic Literature Review and meta‑analysis. Journal of Big Data. 10. 10.1186/s40537-022-00676-2.
[31] Rabbi, Md. Fazle & Hasan, Mahmudul & Dhonno, Fahmida & Sultana, Ayrin & Abedin, Mohammad. (2022). Foreign Currency Exchange Rate Prediction Using Long Short-Term Memory, Support Vector Regression and Random Forest Regression. 10.1007/978-3-030-83799-0_8.
[32] Kamruzzaman, Joarder & Sarker, Ruhul & Ahmad, Iftekhar. (2003). SVM based models for predicting foreign currency exchange rates. 557- 560. 10.1109/ICDM.2003.1250976.
[33] Baasher, Areej & Fakhr, Mohamed. (2011). Forex trend classification using machine learning techniques. Proceedings of the 11th WSEAS International Conference on Applied Computer Science. 41-47.
[34] How to trade EUR/USD Forex Online (no date) Saxo. Available at: https://www.home.saxo/learn/guides/forex/how-to-trade-the-eurusd-forex-pair#:~:text=Why%20does%20the%20EUR%2FUSD,is%20their%20respective%20interest%20rates. (Accessed: 23 November 2024).
How to cite this paper
@article{1706704,
author = {Obi-Obuoha Abiamamela, Mubaraq Onipede, Owa Olorunsola Jason},
title = {A Comparative Analysis of Machine Learning Algorithms for USD/EUR Foreign Exchange Rate Forecasting},
journal = {Iconic Research And Engineering Journals},
year = {2024},
volume = {8},
number = {6},
pages = {443-455},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1706704.pdf},
abstract = {The Forex market is a beast?complicated, ever-changing, and influenced by an overwhelming number of factors. Yet, in the chaos lies opportunity. With the advancement of machine learning, are we finally capable of taming this beast? This study dives deep into the comparison of four machine learning models?Artificial Neural Network (ANN), Autoregressive Integrated Moving Average (ARIMA), Random Forest, and Support Vector Machine (SVM)?to predict the hourly price movements of the EUR/USD currency pair. The dataset, sourced from MetaTrader 5, spans over three years and was engineered to include domain-specific indicators like RSI, Bollinger Bands, and moving averages. ARIMA performed well at spotting linear trends but couldn?t handle the market's unpredictable, non-linear flips. ANN stepped up, proving its worth in capturing these chaotic patterns, especially during sudden trend changes. Random Forest, though brilliant in training, suffered a severe case of overfitting when tested. As for the SVM models, the Linear and RBF kernels showed balance, while the Polynomial and Sigmoid kernels stumbled in tackling the intricate dance of Forex data. Each model had its highs and lows: ARIMA?s precision with linear trends, ANN?s knack for non-linear shifts, Random Forest?s training prowess but testing pitfalls, and the SVM?s moderate but stable performance. The takeaway? ANN shines brightest in volatile markets, ARIMA is the go-to for linear trend detection, and a hybrid approach combining their strengths might just be the silver bullet. In conclusion, this study underscores the importance of picking the right tool for the job in the Forex market. Careful parameter tuning, feature engineering, and even hybrid models could hold the key to consistently outsmarting the market.},
keywords = {Autoregressive Integrated Moving Average, Support Vector Machine, Random Forest, Artificial Neural Network.},
month = {December},
}