Skip to main content

A pattern recognition algorithm for optimal profits in currency trading

  • Conference paper

Abstract

A key issue in technical analysis is to obtain good and possibly stable profits. Various trading rules for financial markets do exist for this task. This paper describes a pattern recognition algorithm to optimally match training and trading periods for technical analysis rules. Among the filter techniques, we use the Dual Moving Average Crossover (DMAC) rule. This technique is applied to hourly observations of Euro-Dollar exchange rates. The matching method is accomplished using ten chart patterns very popular in technical analysis. Moreover, in order for the results to have a statistical sense, we use the bootstrap technique. The results show that the algorithm proposed is a good starting point to obtain positive and stable profits.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   59.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Allen, F., Karjalainen, R.: Using genetic algorithms to find technical trading rules. J. Finan. Econ. 51, 245–271 (1999)

    Article  Google Scholar 

  2. Arnold, C., Rahfeldt, D.: Timing the Market: How to Profit in Bull and Bear Markets with Technical Analysis. Probus Publishing, Chicago (1986)

    Google Scholar 

  3. Berkowitz, J., Kilian, L.: Recent developments in bootstrapping time series. Discussion Paper, no. 96-45, (1996)

    Google Scholar 

  4. Bollersev, T.: Generalized autoregressive conditional heteroskedasticity. J. Econ. 31, 307–327 (1986)

    Google Scholar 

  5. Brock, W., Lakonishok, J., LeBaron, B.: Simple technical trading rules and the stochastic properties of stock returns. J. Finan. 47, 1731–1764 (1992)

    Article  Google Scholar 

  6. Brooks, C., Clare, A.D., Persand, G.: A word of caution on calculating market-based minimum capital risk requirements. J. Bank. Finan. 14, 1557–1574 (2000)

    Article  Google Scholar 

  7. Chang, P., Osler, C.: Methodical madness: technical analysis and the irrationality of exchange-rate forecast. Econ. J. 109, 636–661 (1999)

    Article  Google Scholar 

  8. Davison, A.C.: Hinkley, Bootstrap Methods and Their Applications. Cambridge University Press (1997)

    Google Scholar 

  9. Dempster, M., Jones, C.: Can technical pattern trading be profitably automated? 2. The head & shoulders. Centre for Financial Research, Judge Institute of Management Studies. University of Cambridge, working paper (1998)

    Google Scholar 

  10. Dempster, M.A.H., Jones, C.M.: A real time adaptive trading system using genetic programming. Judge Institute of Management. University of Cambridge, WP n. 36 (2000)

    Google Scholar 

  11. Edwards, M.: Technical Analysis of Stock Trends, 5th edn. John Magee, Boston (1966)

    Google Scholar 

  12. Efron, B.: Bootstrap methods: another look at the jackknife. Ann. Stat. 7, 1–26 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  13. Efron, B.: The Jackknife, the Bootstrap, and other Resampling Plans. Society for Industrial and Applied Mathematics, Philadelphia (1982)

    Google Scholar 

  14. Fan, J.: Local modelling, written for the Encyclopidea of Statistics Science EES update (1995)

    Google Scholar 

  15. Gebbie, T.: Kernel regression toolbox. MATLAB Release R14, Version 1.0, URL: http://www.mathworks.com/ (2004)

  16. Hardle, W.: Applied Nonparametric Regression. Cambridge University Press, Cambridge (1990)

    Google Scholar 

  17. Hardle, W., Horowitz, J., Kreiss, J.: Bootstrap methods for time series. Int. Stat. Rev. 71, 435–459 (2001)

    Google Scholar 

  18. Hardy, C.C.: The Investor’s Guide to Technical Analysis. McGraw Hill, New York (1978)

    Google Scholar 

  19. Hsieh, D.: Implications of nonlinear dynamics for financial risk management. J. Finan. Quant. Anal. 28, 41–64 (1993)

    Article  Google Scholar 

  20. Jones, C.M.: Automated technical foreign exchange trading with high frequency data. PhD Thesis, University of Cambridge (1999)

    Google Scholar 

  21. Kaufman, P.: Commodity trading systems and methods. Ronald Press, New York (1978)

    Google Scholar 

  22. Levy, R.: The predictive significance of five point patterns. J. Bus. 41, 316–323 (1971)

    Article  Google Scholar 

  23. Lo, A.W., Mamaysky, H., Wang, J.: Foundations of technical analysis: computational algorithms, statistical inference, and empirical implementation. J. Finan. 55, 1705–1765 (2000)

    Article  Google Scholar 

  24. Murphy, J.: Technical Analysis of the Future Market: A Comprehensive Guide to Trading Methods and Applications. Prentice Hall, New York (1986)

    Google Scholar 

  25. Murphy, J.: Technical Analysis of the Financial Markets. Institute of Finance, New York (1999)

    Google Scholar 

  26. Nadaraya, E.A.: On estimating regression. Theory Prob. Appl. 9, 141–142 (1964)

    Article  Google Scholar 

  27. Neely, C.J., Weller, P.A., Ditmar, R.: Is technical analysis of the foreign exchange market profitable? A genetic programming approach. J. Finan. Quant. Anal. 405–426 (1997)

    Google Scholar 

  28. Omrane, W.B., Van Oppens, H.: The predictive success and profitability of chart patterns in the Euro/Dollar foreign exchange market. IGA Working Paper bi, 95–03 (2003)

    Google Scholar 

  29. Osler, C.: Identifying noise traders: the head and shoulder pattern in U.S. equities. Federal Reserve Bank of New York (1998)

    Google Scholar 

  30. Osler, C., Chang, K.: Head and shoulders: not just a flaky pattern. Federal Reserve Bank of New York Staff Reports 4 (1995)

    Google Scholar 

  31. Park, C.-H., Irwin, S.H.: The profitability of technical analysis: a review. AgMAS Project Research Report No. 2004-04 (2004)

    Google Scholar 

  32. Pelusi, D., Scacciavillani, F., Tivegna, M.: Optimal trading rules at hourly frequency in the foreign exchange markets. Working paper (2007)

    Google Scholar 

  33. Pring, M.: Technical Analysis Explained: The Successful Investor’s Guide to Spotting Investment Trends and Turning Points, 3rd edn. McGraw-Hill, New York (1985)

    Google Scholar 

  34. Ruiz, E., Pascual, L.: Bootstrapping financial time series. J. Econ. Surv. 16, (2002)

    Google Scholar 

  35. Savin, G., Weller, P., Zvingelis, J.: The predictive power of head-and-shoulders price patterns in the U.S. stock market. J. Finan. Econ. 5, 243–265 (2007)

    Google Scholar 

  36. Sklarew, A.: Techniques of a Professional Commodity Chart Analyst. Commodity Research Bureau, New York (1980)

    Google Scholar 

  37. Tsay, R.S.: Analysis of Financial Time Series. Wiley (2002)

    Google Scholar 

  38. Watson, G.S.: Smooth regression analysis. Ind. J. Stat. A 26, 359–372 (1964)

    MATH  Google Scholar 

  39. Zoubir, A.M., Iskander D.R.: Bootstrap matlab toolbox. Curtin University of Technology. http://www.csp.curtin.edu.au/downloads/bootstrap_toolbox.html (May 1998)

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Italia

About this paper

Cite this paper

Pelusi, D. (2010). A pattern recognition algorithm for optimal profits in currency trading. In: Corazza, M., Pizzi, C. (eds) Mathematical and Statistical Methods for Actuarial Sciences and Finance. Springer, Milano. https://doi.org/10.1007/978-88-470-1481-7_26

Download citation

Publish with us

Policies and ethics