Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Forex prediction engine: framework, modelling techniques and implementations

Published: 01 January 2016 Publication History

Abstract

Having accurate prediction in foreign exchange Forex market is useful because it provides intelligent information for investment strategy. This paper studies extracted repeating patterns of historical Forex time series, so to predict future trend direction by matching the forming trend with a repeating pattern. In the proposed Forex prediction engine, global pattern movements over a period of time are extracted using a linear regression line LRL enhanced technique, and then further segmented into what we called up and down curves. Subsequently, the artificial neural network ANN is applied to classify or group the uptrend and downtrend patterns. Finally, the dynamic time warping DTW is used through brute force to identify a trend pattern similar to the current trend at least for the beginning part. The remaining part of the matched pattern can provide predictive clues about next day trend movement. The experimental results generated on the dataset of AUD-USD and EUR-USD currencies between 2012 and 2013 demonstrate reliable accuracy performance of 72%.

References

[1]
Achelis, S.B. (1995) Technical Analysis from A to Z, Irwin Professional Publishing, Chicago.
[2]
Ahangar, R.G., Yahyazadehfar, M. and Pournaghshband, H. (2010) 'The comparison of methods artificial neural network with linear regression using specific variables for prediction stock price in Tehran Stock Exchange', International Journal of Computer Science and Information Security, Vol. 7, No. 2, pp.38-46.
[3]
Alvarez, E.G. (2006) Artificial Neural Networks [online] http://edugi.uni-muenster.de/eduGI.LA2/downloads/02/ArtificialNeuralNetworks240506.pdf (accessed 26 July 2012).
[4]
Berndt, D.J. and Clifford, J. (1994) Using Dynamic Time Warping to Find Patterns in Time Series, pp.359-370, Knowledge Discovery and Data Mining Workshop, Seattle, WA.
[5]
Caginalp, G. and Laurent, H. (1998) 'The predictive power of price patterns', Applied Mathematical Finance, Vol. 5, Nos. 3/4, pp.181-205.
[6]
Charkha, P.R. (2008) 'Stock price prediction and trend prediction using neural networks', in First International Conference on Emerging Trends in Engineering and Technology, Maharashtra, India, pp.592-594.
[7]
Coelho, M. (2011) Patterns in Financial Markets: Dynamic Time Warping, Nova School of Business and Economics, Lisboa, Portugal.
[8]
Desai, J., Trivedi, A. and Joshi, N.A. (2013) Forecasting of Stock Market Indices Using Artificial Neural Network, Shri Chimanbhai Patel Institutes, CPI/MBA/2013/0003.
[9]
Dongare, A.D., Kharde, R.R. and Kachare, A.D. (2012) 'Introduction to artificial neural network', International Journal of Engineering and Innovative Technology, Vol. 2, No. 1, pp.189-194.
[10]
Dzikevi¿ius, A. and ¿aranda, S. (2010) 'EMA versus SMA usage to forecast stock markets: the case of S&P 500 and OMX Baltic benchmark', Business: Theory and Practice, Vol. 11, No. 3, pp.248-255.
[11]
Edwards, R. and Magee, J. (2007) Technical Analysis of Stock Trends, 9th ed., AMACOM, New York.
[12]
Enke, D., Grauer, M. and Mehdiyev, N. (2011) 'Stock market prediction with multiple regression, fuzzy type-2 clustering and neural networks', Procedia Computer Science, Vol. 6, pp.201-206.
[13]
Fernández-Blanco, P., Bodas-Sagi, D., Soltero, F. and Hidalgo, J.I. (2008) 'Technical market indicators optimization using evolutionary algorithms', in The 10th Annual Conference on Genetic and Evolutionary Computation, Atlanta, Georgia, pp.1851-1858.
[14]
Ge, X. (1998) Pattern Matching in Financial Time Series Data. Unpublished final year project report, University of California, Irvine, USA.
[15]
Gershenson, C. (2003) Artificial Neural Network for Beginners [online] https://datajobs.com/data-science-repo/Neural-Net-[Carlos-Gershenson].pdf (accessed 30 September 2012).
[16]
Goswami, M.M., Bhensdadia, C.K. and Ganatra, A.P. (2009) 'Candlestick analysis based short term prediction of stock price fluctuation using SOM-CBR', in IEEE International Advance Computing Conference, Patiala, India, pp.1448-1452.
[17]
Grunder, B., Macdonald, M., Sutter, C. and Zingg, P. (2012) Technical Analysis - Explained [online] https://www.creditsuisse.com/pwp/pb/pb_research/technical_tutorial_de.pdf (accessed 21 October 2013).
[18]
Hassan, M.R. and Nath, B. (2005) 'Stock market forecasting using hidden Markov model: a new approach', in 5th International Conference on Intelligent Systems Design and Applications, Wroclaw, Poland, pp.192-196.
[19]
HistData.com (2013) [online] http://www.histdata.com/ (accessed 10 October 2012).
[20]
Jain, A.K., Mao, J. and Mohiuddin, K.M. (1996) 'Artificial neural networks: a tutorial', IEEE Computational Science & Engineering, Vol. 29, No. 3, pp.31-44.
[21]
Janssen, C., Langager, C. and Murphy, C. (2012) Technical Analysis: What is a Chart [online] http://stockcharts.com/school/doku.php?id=chart_school:chart_analysis:what_are_charts (accessed 9 November 2012).
[22]
Kamijo, K. and Tanigawa, T. (1990) 'Stock price pattern recognition - a recurrent neural network approach', International Joint Conference on Neural Networks, Vol. 1, No. 1, pp.215-221.
[23]
Kamruzzaman, J. and Sarker, R.A. (2004) 'ANN-based forecasting of foreign currency exchange rates', Journal of Neural Information Processing, Vol. 3, No. 2, pp.49-58.
[24]
Kim, K. (2003) 'Financial time series forecasting using support vector machines', Neurocomputing, Vol. 55, No. 2, pp.307-319.
[25]
Kim, S.K. and Park, J.I. (1996) 'A structural equation modeling approach to generate explanations for induced rules', Expert Systems With Applications, Vol. 10, Nos. 3/4, pp.403-416.
[26]
King, M.R., Osler, C. and Rime, D. (2011) 'Foreign exchange market structure, players and evolution', in James, J. et al. (Eds.): Handbook of Exchange Rates, pp.3-44, John Wiley and Sons, New York and London.
[27]
Klassen, M. (2005) 'Investigation of Some technical indexes in stock forecasting using neural networks', in The Third World Enformatika Conference, Istanbul, Turkey, pp.75-79.
[28]
Koedijk, K.G., Lothian, J.R. and Van Dijk, M.A. (2006) 'Foreign exchange markets: overview of the special issue', Journal of International Money and Finance, Vol. 25, No. 1, pp.1-6.
[29]
Kordos, M. and Cwiok, A. (2011) 'A new approach to neural network based stock trading strategy', in International Conference on Intelligent Data Engineering and Automated Learning, Hefei, China, pp.429-436.
[30]
Krishnamoorthi, M. and Natarajan, A.M. (2013) 'ABK-means: an algorithm for data clustering using ABC and K-means algorithm', International Journal of Computational Science and Engineering, Vol. 8, No. 4, pp.383-391.
[31]
Kuepper, J. (2012) Introduction to Swing Charting [online] http://www.investopedia.com/articles/technical/04/080404.asp#axzz2AYr0U5i7 (accessed 2 October 2012).
[32]
Lawrence, R. (1997) Using Neural Networks to Forecast Stock Market Prices [online] http://www.cs.uiowa.edu/~rlawrenc/research/Papers/nn.pdf (accessed 2 October 2012).
[33]
Lebaron, B. (2006) 'Time scales, agents, and empirical finance', Medium Econometrishce, Vol. 3, No. 14, pp.20-25.
[34]
Lee, C.H. and Liu, A. (2006) 'A financial decision supporting system based on fuzzy candlestick patterns', in Proceedings of the 9th Joint Conference on Information Sciences (JCIS), Atlantis Press, Paris, France.
[35]
Lee, K.H. and Jo, G.S. (1999) 'Expert system for predicting stock market timing using a candlestick chart', Journal of Expert Systems with Applications, Vol. 16, No. 4, pp.357-364.
[36]
Naeini, M.P., Taremia, H. and Baradaran, H.H. (2010) 'Stock market value prediction using neural networks', in International Conference on Computer Information Systems and Industrial Management Applications, Krakow, Poland, pp.132-136.
[37]
Niels, R. (2004) Dynamic Time Warping: An Intuitive Way of Handwriting Recognition, Unpublished Master's thesis, Radboud University, Nijmegen, Netherlands.
[38]
Nison, S. (1991) Constructing the Candlesticks in Japanese Candlestick, pp.21-26, New York Institute of Finance, New York.
[39]
Nobakht, B., Joseph, C.E. and Loni, B. (2012) 'Stock market analysis and prediction using hidden Markov models', in Student Conference on Engineering and Systems, Uttar Pradesh, India, pp.1-4.
[40]
Olaniyi, S.A.S., Adewole, K.S. and Jimoh, R.G. (2011) 'Stock trend prediction using regression analysis - a data mining approach', ARPN Journal of Systems and Software, Vol. 1, No. 4, pp.154-157.
[41]
Person, J.L. (2002) Swing Trading Using Candlestick charting with Pivot Point Analysis [online] http://www.swing-tradestocks.com/support-files/swingtradingpivot.pdf (accessed 21 November 2013).
[42]
PFGBEST (n.d.) Foreign Exchange Basics [online] http://www.pfgbest.com/services/forex/foreignexchangebasics.pdf (accessed 4 November 2013).
[43]
Rinehart, M. (2003) Overview of Regression Trend Channel (RTC) [online] http://share.esignal.com/download.jsp?groupid=20&folder=RTC&file=Overview%20of%20Regression%20Trend%20Channel.pdf (accessed 24 October 2013).
[44]
Rockefeller, B. (2011) Drawing 'Trendlines', in Technical Analysis For Dummies, pp.169-182, Wiley Publishing, Inc., Indianapolis.
[45]
Salvador, S. and Chan, P. (2007) 'FastDTW: toward accurate dynamic time warping in linear time and space', Journal of Intelligent Data Analysis, Vol. 11, No. 5, pp.561-580.
[46]
Sewell, M. (2007) Technical Analysis [online] http://www.technicalanalysis.org.uk/ (accessed 22 January 2013).
[47]
Shmatov, A. (2011) Automated Recognition of Candlestick Patterns [online] http://stock-market-forecast.blogspot.com/2012/02/automated-recognition-of-candlestick.html (accessed 8 September 2012).
[48]
Tanaka-Yamawaki, M. and Tokuoka, S. (2007) 'Adaptive use of technical indicators for the prediction of intra-day stock prices', Physica A: Statistical Mechanics and its Applications, Vol. 383, No. 1, pp.125-133.
[49]
Tiong, L.C.O., Ngo, D.C.L. and Lee, Y. (2013) 'Stock price prediction model using candlestick pattern feature', International Journal Of Interactive Digital Media, Vol. 1, No. 3, pp.58-64.
[50]
Tsai, B. (2010) 'Application of dynamic diffusion theory in foreign direct investment of Taiwan IC industry in China', International Journal of Computational Science and Engineering, Vol. 5, No. 1, pp.2-9.
[51]
Virginia Economic Development Partnership (VEDP) International Trade (2013) Foreign Exchange and Currency [online] http://exportvirginia.org/wp-content/uploads/2013/09/Fast-Facts-Topics-Currency-Exchange.pdf (accessed 11 November 2013).
[52]
WEKA Library (n.d.) [online] http://www.cs.waikato.ac.nz/ml/index.html (accessed 11 September 2013).
[53]
Yang, G., Qiao, J. and Bo, Y. (2011) 'Research on artificial neural networks with spatial architecture based on span connection and lateral inhibition mechanism', International Journal of Computational Science and Engineering, Vol. 6, Nos. 1/2, pp.86-95.
[54]
Yao, J. and Tan, C.L. (2000) 'A case study on using neural networks to perform technical forecasting of Forex', Journal of Neurocomputing, Vol. 34, No. 4, pp.79-98.
[55]
Yu, D., Yu, X., Hu, Q., Liu, J. and Wu, A. (2011) 'Dynamic time warping constraint learning for large margin nearest neighbor classification', Journal of Information Sciences, Vol. 181, No. 13, pp.2787-2796.
[56]
Zhai, Y., Hsu, A. and Halgamuge, S.K. (2007) 'Combining news and technical indicators in daily stock price trends prediction', in Proceedings of the 4th International Symposium on Neural Networks: Advances in Neural Networks, Nanjing, China, pp.1087-1096.
[57]
Zhang, G.P. (2001) 'An investigation of neural networks for linear time-series forecasting', Journal of Computers and Operations Research, Vol. 28, No. 12, pp.1183-1202.

Index Terms

  1. Forex prediction engine: framework, modelling techniques and implementations
    Index terms have been assigned to the content through auto-classification.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image International Journal of Computational Science and Engineering
    International Journal of Computational Science and Engineering  Volume 13, Issue 4
    January 2016
    107 pages
    ISSN:1742-7185
    EISSN:1742-7193
    Issue’s Table of Contents

    Publisher

    Inderscience Publishers

    Geneva 15, Switzerland

    Publication History

    Published: 01 January 2016

    Author Tags

    1. ANNs
    2. DTW
    3. Forex prediction engine
    4. artificial neural networks
    5. currencies
    6. dynamic time warping
    7. exchange rate forecasting
    8. exchange rate movements
    9. foreign exchange markets
    10. foreign exchange rates
    11. intelligent information
    12. investment strategy
    13. linear regression
    14. modelling

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 0
      Total Downloads
    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 03 Sep 2024

    Other Metrics

    Citations

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media