Soft Computing

, Volume 21, Issue 22, pp 6653–6671 | Cite as

A strength-biased prediction model for forecasting exchange rates using support vector machines and genetic algorithms

  • Mustafa Onur Özorhan
  • İsmail Hakkı Toroslu
  • Onur Tolga Şehitoğlu
Methodologies and Application


This paper addresses problem of predicting direction and magnitude of movement of currency pairs in the foreign exchange market. The study uses Support Vector Machine with a novel approach for input data and trading strategy. The input data contain technical indicators generated from currency price data (i.e., open, high, low and close prices) and representation of these technical indicators as trend deterministic signals. The input data are also dynamically adapted to each trading day with genetic algorithm. The study incorporates a currency strength-biased trading strategy which selects the best pair to trade from the available set of currencies and is an improvement over the previous work. The accuracy of the prediction models are tested across several different sets of technical indicators and currency pair sets, spanning 5 years of historical data from 2010 to 2015. The experimental results suggest that using trend deterministic technical indicator signals mixed with raw data improves overall performance and dynamically adapting the input data to each trading period results in increased profits. Results also show that using a strength-biased trading strategy among a set of currency pair increases the overall prediction accuracy and profits of the models.


Forex Forecasting Support Vector Machines Genetic Algorithms Trend Deterministic 


Compliance with ethical standards

Conflict of interest

The authors declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.


  1. A List of Forex Trading Terms (2015) 17 Dec 2015
  2. A List of Technical Indicators (2015) Accessed on 13 Dec 2015
  3. Anasataskis L, Mort N (2009) Exchange rate forecasting using a combined parametric and nonparametric self-organising modelling approach. Expert Syst Appl 1:12001–12011CrossRefGoogle Scholar
  4. Bahrepour M, Akbarzadeh M, Yaghoobi M, Naghibi S (2011) An adaptive ordered fuzzy time series with application to FOREX. Expert Syst Appl 1:475–485CrossRefGoogle Scholar
  5. Box GEP, Jenkins GM (1976) Time series analysis: forecasting and control. Holden-Day, San FranciscoMATHGoogle Scholar
  6. Brown DP, Robert HJ (1989) On technical analysis. Rev Financ Stud 2:527–551CrossRefGoogle Scholar
  7. Chen MY, Chen K, Chiang H, Huang H, Huang M (2007) Comparing extended classifier system and genetic programming for financial forecasting: an empirical study. Soft Comput 1:1173–1183CrossRefMATHGoogle Scholar
  8. Cheung Y, Chinn MD, Pascual AG (2005) Empirical exchange rate models of the nineties: are they fit to survive? J Int Money Finance 24:1150–1175CrossRefGoogle Scholar
  9. Cortes C, Vapnik V (1995) Support-vector networks. Mach Learn 1:20MATHGoogle Scholar
  10. Davis L (1991) Handbook of genetic algorithms. Van Nostrand Reinhold, New YorkGoogle Scholar
  11. Determination of the Euro Conversion Rate (2015) Accessed on 13 Dec 2015
  12. Genetic Strategy Optimization (2016) Accessed on 14 Jan 2016
  13. Gupta AR, Ingle VR, Gaikwad MA (2012) LS-SVM parameter optimization using genetic algorithm to improve fault classification of power transformer. Int J Eng Res Appl 1:1806–1809Google Scholar
  14. Ijegwa D, Rebecca O, Olusegun F, Isaac O (2014) A predictive stock market technical analysis using fuzzy logic. Comput Inf Sci 7(3):1–17Google Scholar
  15. Jung HG, Yoon JP, Kim J (2007) Genetic algorithm based optimization of SVM based pedestrian classifier. ITC-CSCC 1:833–834Google Scholar
  16. Kampouridis M, Otero FEB (2015) Heuristic procedures for improving the predictability of a genetic programming financial forecasting algorithm. Soft Comput 1:1–16Google Scholar
  17. Kamruzzaman J, Sarker R (2003) Forecasting of currency exchange rates using ANN: a case study. IEEE Int Conf Neural Netw Signal Process 1:793–797Google Scholar
  18. Khemchandani R, Jayadeva Chandra S (2009) Regularized least squares fuzzy support vector regression for financial time series forecasting. Expert Syst Appl 1:132–138CrossRefGoogle Scholar
  19. Korol T (2014) A fuzzy logic model for forecasting exchange rates. Knowl Based Syst 1:49–60CrossRefGoogle Scholar
  20. Leitch G, Tanner JE (1991) Economic forecast evaluation: profits versus the conventional error measures. Am Econ Rev 1:580–590Google Scholar
  21. Lu C, Lee T, Chiu C (2009) Financial time series forecasting using independent component analysis and support vector regression. Decis Support Syst 1:115–125CrossRefGoogle Scholar
  22. Major Forex Currencies (2015) Accessed on 17 Aug 2015
  23. Meffert K (2014) JGAP—Java Genetic Algorithms and Genetic Programming Package.
  24. Moosa I, Burns K (2014) The unbeatable random walk in exchange rate forecasting reality or myth? J Macroecon 1:69–81CrossRefGoogle Scholar
  25. Nesreen A, Atiya A, Gayar N, Shishiny H (2010) An empirical comparison of machine learning models for time series forecasting. Econ Rev 1:594–621MathSciNetGoogle Scholar
  26. Pang S, Song L, Kasabov N (2011) Correlation-aided support vector regression for forex time series prediction. Neural Comput Appl 1:1193–1203CrossRefGoogle Scholar
  27. Patel J, Shah S, Thakkar P, Kotecha K (2015) Predicting stock and stock price index movement using trend deterministic data preparation and machine learning techniques. Expert Syst Appl 1:259–268CrossRefGoogle Scholar
  28. Shahjalal M, Sultana A, Mitra KN, Khan K (2012) Implementation of fuzzy rule based technical indicator in share market. Int J Appl Econ Finance 6:53–63CrossRefGoogle Scholar
  29. Shen F, Chao J, Zhao J (2015) Forecasting exchange rate using deep belief networks and conjugate gradient method. Neurocomputing 1:243–253CrossRefGoogle Scholar
  30. Smithsonian Agreement (2015) Accessed on 17 Aug 2015
  31. Tick-by-Tick Real-Time and Historical Market Rates (2016) Accessed on 14 Jan 2016
  32. Trading Strategy Optimization with Genetic Algorithms (2016) Accessed on 14 Jan 2016
  33. Villa S, Stella F (2012) A continuous time bayesian network classifier for intraday FX Prediction. Quantitative Finance, pp 1-20Google Scholar
  34. Wang S, Yu L, Lai K, Huang W (2007) Developing and assessing an intelligent forex rolling forecasting and trading decision support system for online e-service. Int J Intell Syst 1:475–499Google Scholar
  35. Yao J, Tan C (2000) A case study on using neural networks to perform technical forecasting of forex. Neurocomputing 1:79–98Google Scholar
  36. Zhang P (2003) Time series forecasting using a hybrid ARIMA and neural network model. Neurocomputing 1:159–175CrossRefMATHGoogle Scholar
  37. Zhiqiang G, Huaiqing W, Quan L (2013) Financial time series forecasting using LPP and SVM optimized by PSO. Soft Comput 1:805–818CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2016

Authors and Affiliations

  • Mustafa Onur Özorhan
    • 1
  • İsmail Hakkı Toroslu
    • 1
  • Onur Tolga Şehitoğlu
    • 1
  1. 1.Computer Engineering DepartmentMiddle East Technical UniversityAnkaraTurkey

Personalised recommendations