Skip to main content
Log in

A trend based investment decision approach using clustering and heuristic algorithm

  • Research Paper
  • Published:
Science China Information Sciences Aims and scope Submit manuscript

Abstract

This paper proposes a stock price trend clustering and trend investment decision model by using a genetic algorithm to search for optimal solutions and the best investment strategies for different stock price trends. The new price trend clustering model identifies three types of stock price movements: uptrends, sideways trends, and downtrends. Unfortunately, trends discovered through stock price movements or technical indicator graphs are typically subjective and unquantifiable. This paper takes daily stock prices and trading volume data from the China Shanghai Stock Exchange Composite Index (SSECI) from January 2, 1997 to August 31, 2012, to examine the performance of the proposed trend clustering model. The proposed model is also compared to other popular stock market investment strategies to verify its validity. Research result shows that the proposed trend clustering model correctly identifies three different trends in the stock market. Furthermore, the trend investment strategy model developed by using genetic algorithm methodology performs better than other investment strategies, namely, Granville’s rule, the KD indicator strategy, the buys and holds strategy, and GMA rules, in both bull and bear market periods. Research results prove the proposed new model to be a stable and valid investment strategy.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Bessembinder H, Chan K. The profitability of technical trading rules in the Asian stock markets. Pac-Basin Financ J, 1995, 3: 257–284

    Article  Google Scholar 

  2. Gunasekarage A, Power D M. The profitability of moving average trading rules in south Asian stock markets. Emerg Mark Rev, 2001, 2: 17–33

    Article  Google Scholar 

  3. Lee H Y, Wu H C. The impact of information in technical analysis on herd behavior of mutual fund. NTU Manag Rev, 2009, 20: 227–260

    Google Scholar 

  4. Teixeira L A, Oliveira A L I. A method for automatic stock trading combining technical analysis and nearest neighbor classification. Expert Syst Appl, 2010, 37: 6885–6890

    Article  Google Scholar 

  5. Groenewold N, Tang S H K, Wu Y. The profitability of regression-based trading rules for the Shanghai stock market. Int Rev Financ Anal, 2008, 17: 411–430

    Article  Google Scholar 

  6. Chang Chien Y W, Chen Y L. Mining associative classification rules with stock trading data-a GA-based method. Knowl-Based Syst, 2010, 23: 605–614

    Article  Google Scholar 

  7. Atsalakis G S, Valavanis K P. Forecasting stock market short-term trends using a neuro-fuzzy based methodology. Expert Syst Appl, 2009, 36: 10696–10707

    Article  Google Scholar 

  8. Nunez-Letamendia L. Trading systems designed by genetic algorithms. Manag Financ, 2002, 28: 87–106

    Google Scholar 

  9. Atsalakis G S, Dimitrakakis E M, Zopounidis C D. Elliott wave theory and neuro-fuzzy systems, in stock market prediction: the wasp system. Expert Syst Appl, 2011, 38: 9196–9206

    Article  Google Scholar 

  10. Lai M M, Lau S H. The profitability of the simple moving averages and trading range breakout in the Asian stock markets. J Asian Econ, 2006, 17: 144–170

    Article  Google Scholar 

  11. Glickstein D A, Wubbels R E. Dow theory is alive and well. J Portfolio Manag, 1983, 9: 28–32

    Article  Google Scholar 

  12. Saitta A. Using dow theory to catch trends. Futures, 1995, 24: 46–48

    Google Scholar 

  13. Caldas L G, Norford L K. A design optimization tool based on a genetic algorithm. Automat Constr, 2002, 11: 173–184

    Article  Google Scholar 

  14. Rao B R, Tiwari R. Optimum design of rolling element bearings using genetic algorithms. Mech Mach Theory, 2007, 42: 233–250

    Article  MATH  Google Scholar 

  15. Wang P, Wang P, Qu Z G, et al. A refined coherent point drift (CPD) algorithm for point set registration. Sci China Inf Sci, 2011, 54: 2639–2646

    Article  MathSciNet  Google Scholar 

  16. Ferentinos K P, Tsiligiridis T A. Adaptive design optimization of wireless sensor networks using genetic algorithms. Comput Netw, 2007, 51: 1031–1051

    Article  MATH  Google Scholar 

  17. Montana D, Hussain T. Adaptive reconfiguration of data networks using genetic algorithms. Appl Soft Comput, 2004, 4: 433–444

    Article  Google Scholar 

  18. Gimeno R, Nave J M. A genetic algorithm estimation of the term structure of interest rates. Comput Stat Data Anal, 2009, 53: 2236–2250

    Article  MATH  MathSciNet  Google Scholar 

  19. Oh K J, Kim T Y, Min S. Using genetic algorithm to support portfolio optimization for index fund management. Expert Syst Appl, 2005, 28: 371–379

    Article  Google Scholar 

  20. Qi C, Tang J C S. Foreign direct investment: a genetic algorithm approach. Socio-Econ Plan Sci, 2006, 40: 143–155

    Google Scholar 

  21. Chou R Y. Modeling the asymmetry of stock movements using price ranges. Adv Econom, 2005, 20: 231–257

    Article  Google Scholar 

  22. Parkinson M. The extreme value method for estimating the variance of the rate of return. J Bus, 1980, 53: 61–65

    Article  Google Scholar 

  23. Kuo R J, Ho L M, Hu C M. Integration of self-organizing feature map and k-means algorithm for market segmentation. Comput Oper Res, 2002, 29: 1475–1493

    Article  MATH  Google Scholar 

  24. Mihailov T, Linowski D. Testing efficiency of the Latvian stock market: an evolutionary perspective. Soc Sci Res Netw, 2002. Available at SSRN: http://ssrn.com/abstract=302285 or http://dx.doi.org/10.2139/ssrn.302285

    Google Scholar 

  25. Srinivas M, Patnaik L M. Genetic algorithms: a survey. Computer, 1994, 27: 17–26

    Article  Google Scholar 

  26. Nunez-Letamendia L. Fitting the control parameters of a genetic algorithm: an application to technical trading systems design. Eur J Oper Res, 2007, 179: 847–868

    Article  MATH  Google Scholar 

  27. Fernando F R, Christian G M, Simon S R. Optimization of technical rules by genetic algorithms: evidence from the Madrid stock market. Appl Financ Econ, 2005, 15: 773–775

    Article  Google Scholar 

  28. Bernstein J. Market Masters How Successful Traders Think, Trade and Invest and How You Can Too! Dearborn Trade Publishing, 1994

    Google Scholar 

  29. French K R, Schwert G W, Stambaugh R F. Expected stock returns and volatility. J Financ Econ, 1987, 19: 3–29

    Article  Google Scholar 

  30. Nelson D B. Conditional heteroskedasticity in asset returns: a new approach. Econometrica, 1991, 59: 347–370

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to ShengChun Chou.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wu, C., Chou, S. & Liaw, H. A trend based investment decision approach using clustering and heuristic algorithm. Sci. China Inf. Sci. 57, 1–14 (2014). https://doi.org/10.1007/s11432-013-4985-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11432-013-4985-4

Keywords

Navigation