N-tuple S&P patterns across decades, 1950–2011

  • A. G. MalliarisEmail author
  • Mary Malliaris
Original Paper


Numerous studies have analyzed the movements of the S&P 500 index using several methodologies such as technical analysis, econometric modeling, time series techniques and theories from behavioral finance. In this paper we take a novel approach. We use daily closing prices for the S&P 500 index for a very long period from 1/3/1950 to 7/19/2011 for a total of 15,488 daily observations. We then investigate the up and down movements and their combinations for 1–7 days giving us multiple possible patterns for over six decades. Some patterns of each type are more dominant across decades. We split the data into training and validation sets and then select the dominant patterns to build conditional forecasts in several ways, including using a decision tree methodology. The best model is correct 51 % of the time on the validation set when forecasting a down day, and 61 % when forecasting an up day. We show that certain conditional forecasts outperform the unconditional random walk model.


S&P 500 index Patterns across decades Random walk  Decision tree methodology 

JEL Classification

C44 C53 G14 G17 


  1. Allen F, Karjalainen R (1999) Using genetic algorithms to find technical trading rules. J Financ Econ 51:245–272CrossRefGoogle Scholar
  2. Avramov D, Chordia T (2005) Predicting stock returns. SSRN: or doi: 10.2139/ssrn.352980
  3. Barberis N, Shleifer A, Vishny R (1998) A model of investor sentiment. J Financ Econ 49:307–343CrossRefGoogle Scholar
  4. Baur D, Dimpfl T, Jung R (2012) Stock return autocorrelations revisited: a quantile regression approach. J Emp Financ 19:251–265CrossRefGoogle Scholar
  5. Berry M, Linoff G (2004) Data mining techniques, 2nd edn. Wiley, IndianapolisGoogle Scholar
  6. Blume L, Easley D, O’Hara M (1994) Market statistics and technical analysis: the role of volume. J Financ 49:153–181CrossRefGoogle Scholar
  7. Brock W, Lakonishok J, LeBaron B (1992) Simple technical trading rules and the stochastic properties of stock returns. J Financ 47:1731–1764CrossRefGoogle Scholar
  8. Brown D, Jennings R (1989) On technical analysis. Rev Financ Stud 2:527–551CrossRefGoogle Scholar
  9. Chan K, Chan KC, Karolyi GA (1991) Intraday volatility in the stock index and stock index futures markets. Rev Financ Stud 4:657–684CrossRefGoogle Scholar
  10. Cutler D, Poterba J, Summers L (1991) Speculative dynamics. Rev Econ Stud 58:529–546CrossRefGoogle Scholar
  11. Daniel K, Hirshleifer D, Subrahmanyam A (1998) Investor psychology and security market under- and overreactions. J Financ 53:1839–1885Google Scholar
  12. DeLong J, Shleifer A, Summers L, Waldmann R (1990) Positive feedback investment strategies and destabilizing rational speculation. J Financ 45:379–395CrossRefGoogle Scholar
  13. Doran J, Ronn E, Goldberg R (2009) A simple model for time—varying expected returns on the S &P 500 index. J Invest Manag. SSRN:
  14. Fama E, Blume M (1966) Filter rules and stock-market trading. J Bus 39:226–241CrossRefGoogle Scholar
  15. Gencay R (1998) The predictability of security returns with simple technical trading rules. J Empir Financ 5:347–359CrossRefGoogle Scholar
  16. Hong H, Stein J (1999) A unified theory of underreaction, momentum trading, and overreaction in asset markets. J Financ 54:2143–2184CrossRefGoogle Scholar
  17. Jensen M, Benington G (1970) Random walks and technical theories: some additional evidence. J Financ 25:469–482CrossRefGoogle Scholar
  18. Lo A, Mamaysky H, Wang J (2000) Foundations of technical analysis: computational algorithms, statistical inference, and empirical implementation. J Financ 55:1705–1765CrossRefGoogle Scholar
  19. McInish T, Wood R (1992) An analysis of intraday patterns in Bid/Ask apreads for NYSE Stocks. J Financ 47:753–764CrossRefGoogle Scholar
  20. Patil N, Lathi R, Chitre V (2012) Comparison of C5.0 & CART classification algorithms using pruning technique. Int J Eng Res Technol 1(4):1–5Google Scholar
  21. Schulmeister S (2007) The profitability of technical stock trading has moved from daily to intraday data. WIFO Working Paper No. 289. SSRN: or doi: 10.2139/ssrn.1714980

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  1. 1.Departments of Economics and FinanceLoyola University ChicagoChicagoUSA
  2. 2.Department of Information Systems and Operations ManagementLoyola University ChicagoChicagoUSA

Personalised recommendations