IDEAS home Printed from https://ideas.repec.org/p/tin/wpaper/20050057.html
   My bibliography  Save this paper

A Dynamic Analysis of Moving Average Rules

Author

Listed:
  • Carl Chiarella

    (University of Technology, Sydney)

  • Tony He

    (University of Technology, Sydney)

  • Cars H. Hommes

    (Faculty of Economics and Econometrics, Universiteit van Amsterdam)

Abstract

The use of various moving average (MA) rules remains popular with financial market practitioners. These rules have recently become the focus of a number empirical studies, but there have been very few studies of financial market models where some agents employ technical trading rules of the type used in practice. In this paper we propose a dynamic financial market model in which demand for traded assets has both a fundamentalist and a chartist component. The chartist demand is governed by the difference between current price and a (long-run) MA. Both types of traders are boundedly rational in the sense that, based on a fitness measure such as realized capital gains, traders switch from a strategy with low fitness to the one with high fitness. We characterize the stability and bifurcation properties of the underlying deterministic model via the reaction coefficient of the fundamentalists, the extrapolation rate of the chartists and the lag length used for the MA. By increasing the intensity of choice to switching strategies, we then examine various rational routes to randomness for different MA rules. The price dynamics of the moving average rule are also examined and one of our main findings is that an increase of the window length of the MA rule can destabilize an otherwise stable system, leading to more complicated, even chaotic behaviour. The analysis of the corresponding stochastic model is able to explain various market price phenomena, including temporary bubbles, sudden market crashes, price resistance and price switching between different levels.

Suggested Citation

  • Carl Chiarella & Tony He & Cars H. Hommes, 2005. "A Dynamic Analysis of Moving Average Rules," Tinbergen Institute Discussion Papers 05-057/1, Tinbergen Institute.
  • Handle: RePEc:tin:wpaper:20050057
    as

    Download full text from publisher

    File URL: https://papers.tinbergen.nl/05057.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Day, Richard H. & Huang, Weihong, 1990. "Bulls, bears and market sheep," Journal of Economic Behavior & Organization, Elsevier, vol. 14(3), pages 299-329, December.
    2. Brock, William A & LeBaron, Blake D, 1996. "A Dynamic Structural Model for Stock Return Volatility and Trading Volume," The Review of Economics and Statistics, MIT Press, vol. 78(1), pages 94-110, February.
    3. Boswijk, H.P. & Griffioen, G.A.W. & Hommes, C.H., 2000. "Succes and Failure of Technical Trading Strategies in the Cocoa Futures Markets," CeNDEF Working Papers 00-06, Universiteit van Amsterdam, Center for Nonlinear Dynamics in Economics and Finance.
    4. Neely, Christopher & Weller, Paul & Dittmar, Rob, 1997. "Is Technical Analysis in the Foreign Exchange Market Profitable? A Genetic Programming Approach," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 32(4), pages 405-426, December.
    5. Andrew W. Lo & Harry Mamaysky & Jiang Wang, 2000. "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation," Journal of Finance, American Finance Association, vol. 55(4), pages 1705-1770, August.
    6. Frankel, Jeffrey A & Froot, Kenneth A, 1986. "Understanding the U.S. Dollar in the Eighties: The Expectations of Chartists and Fundamentalists," The Economic Record, The Economic Society of Australia, vol. 0(0), pages 24-38, Supplemen.
    7. Christopher J. Neely & Paul A. Weller, 2011. "Technical analysis in the foreign exchange market," Working Papers 2011-001, Federal Reserve Bank of St. Louis.
    8. Pesaran, M.H. & Timmermann, A., 1992. "Forecasting Stock Returns," Cambridge Working Papers in Economics 9216, Faculty of Economics, University of Cambridge.
    9. Chiarella, Carl & He, Xue-Zhong, 2002. "Heterogeneous Beliefs, Risk and Learning in a Simple Asset Pricing Model," Computational Economics, Springer;Society for Computational Economics, vol. 19(1), pages 95-132, February.
    10. Chiarella, Carl & He, Xue-Zhong, 2003. "Dynamics of beliefs and learning under aL-processes -- the heterogeneous case," Journal of Economic Dynamics and Control, Elsevier, vol. 27(3), pages 503-531, January.
    11. Tesfatsion, Leigh & Judd, Kenneth L., 2006. "Handbook of Computational Economics, Vol. 2: Agent-Based Computational Economics," Staff General Research Papers Archive 10368, Iowa State University, Department of Economics.
    12. LeBaron, Blake, 2006. "Agent-based Computational Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 24, pages 1187-1233, Elsevier.
    13. Gencay, Ramazan, 1998. "Optimization of technical trading strategies and the profitability in security markets," Economics Letters, Elsevier, vol. 59(2), pages 249-254, May.
    14. William A. Brock & Cars H. Hommes, 1997. "A Rational Route to Randomness," Econometrica, Econometric Society, vol. 65(5), pages 1059-1096, September.
    15. Chiarella, Carl & He, Xue-Zhong, 2003. "Heterogeneous Beliefs, Risk, And Learning In A Simple Asset-Pricing Model With A Market Maker," Macroeconomic Dynamics, Cambridge University Press, vol. 7(4), pages 503-536, September.
    16. David Goldbaum, 2003. "Profitable technical trading rules as a source of price instability," Quantitative Finance, Taylor & Francis Journals, vol. 3(3), pages 220-229.
    17. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    18. Brock, William A. & Hommes, Cars H., 1998. "Heterogeneous beliefs and routes to chaos in a simple asset pricing model," Journal of Economic Dynamics and Control, Elsevier, vol. 22(8-9), pages 1235-1274, August.
    19. Fernandez-Rodriguez, Fernando & Gonzalez-Martel, Christian & Sosvilla-Rivero, Simon, 2000. "On the profitability of technical trading rules based on artificial neural networks:: Evidence from the Madrid stock market," Economics Letters, Elsevier, vol. 69(1), pages 89-94, October.
    20. William A. Brock & Cars H. Hommes, 2001. "A Rational Route to Randomness," Chapters, in: W. D. Dechert (ed.), Growth Theory, Nonlinear Dynamics and Economic Modelling, chapter 16, pages 402-438, Edward Elgar Publishing.
    21. Christopher J. Neely, 1997. "Technical analysis in the foreign exchange market: a layman's guide," Review, Federal Reserve Bank of St. Louis, issue Sep, pages 23-38.
    22. Carl Chiarella & Xue-Zhong He, 1999. "The Dynamics of the Cobweb when Producers are Risk Averse Learners," Working Paper Series 90, Finance Discipline Group, UTS Business School, University of Technology, Sydney.
    23. Pesaran, M Hashem & Timmermann, Allan, 1995. "Predictability of Stock Returns: Robustness and Economic Significance," Journal of Finance, American Finance Association, vol. 50(4), pages 1201-1228, September.
    24. Leigh Tesfatsion & Kenneth L. Judd (ed.), 2006. "Handbook of Computational Economics," Handbook of Computational Economics, Elsevier, edition 1, volume 2, number 2.
    25. Allen, Helen & Taylor, Mark P, 1990. "Charts, Noise and Fundamentals in the London Foreign Exchange Market," Economic Journal, Royal Economic Society, vol. 100(400), pages 49-59, Supplemen.
    26. Andrew W. Lo & Harry Mamaysky & Jiang Wang, 2000. "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation," Journal of Finance, American Finance Association, vol. 55(4), pages 1705-1765, August.
    27. Beja, Avraham & Goldman, M Barry, 1980. "On the Dynamic Behavior of Prices in Disequilibrium," Journal of Finance, American Finance Association, vol. 35(2), pages 235-248, May.
    28. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    29. Taylor, Mark P. & Allen, Helen, 1992. "The use of technical analysis in the foreign exchange market," Journal of International Money and Finance, Elsevier, vol. 11(3), pages 304-314, June.
    30. Blume, Lawrence & Easley, David & O'Hara, Maureen, 1994. "Market Statistics and Technical Analysis: The Role of Volume," Journal of Finance, American Finance Association, vol. 49(1), pages 153-181, March.
    31. Carl Chiarella, 1992. "The Dynamics of Speculative Behaviour," Working Paper Series 13, Finance Discipline Group, UTS Business School, University of Technology, Sydney.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. He, Xue-Zhong & Zheng, Min, 2010. "Dynamics of moving average rules in a continuous-time financial market model," Journal of Economic Behavior & Organization, Elsevier, vol. 76(3), pages 615-634, December.
    2. Hommes, Cars H., 2006. "Heterogeneous Agent Models in Economics and Finance," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 23, pages 1109-1186, Elsevier.
    3. Hommes, C.H., 2005. "Heterogeneous Agent Models in Economics and Finance, In: Handbook of Computational Economics II: Agent-Based Computational Economics, edited by Leigh Tesfatsion and Ken Judd , Elsevier, Amsterdam 2006," CeNDEF Working Papers 05-03, Universiteit van Amsterdam, Center for Nonlinear Dynamics in Economics and Finance.
    4. Detlef Seese & Christof Weinhardt & Frank Schlottmann (ed.), 2008. "Handbook on Information Technology in Finance," International Handbooks on Information Systems, Springer, number 978-3-540-49487-4, November.
    5. He, Xue-Zhong & Li, Kai, 2015. "Profitability of time series momentum," Journal of Banking & Finance, Elsevier, vol. 53(C), pages 140-157.
    6. He, Xue-Zhong & Li, Youwei & Zheng, Min, 2019. "Heterogeneous agent models in financial markets: A nonlinear dynamics approach," International Review of Financial Analysis, Elsevier, vol. 62(C), pages 135-149.
    7. Cars Hommes & Florian Wagener, 2008. "Complex Evolutionary Systems in Behavioral Finance," Tinbergen Institute Discussion Papers 08-054/1, Tinbergen Institute.
    8. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 1-2014.
    9. Carl Chiarella & Roberto Dieci & Xue-Zhong He, 2008. "Heterogeneity, Market Mechanisms, and Asset Price Dynamics," Research Paper Series 231, Quantitative Finance Research Centre, University of Technology, Sydney.
    10. Xue-Zhong He & Kai Li, 2014. "Time Series Momentum and Market Stability," Research Paper Series 341, Quantitative Finance Research Centre, University of Technology, Sydney.
    11. Kai Li, 2014. "Asset Price Dynamics with Heterogeneous Beliefs and Time Delays," PhD Thesis, Finance Discipline Group, UTS Business School, University of Technology, Sydney, number 13, July-Dece.
    12. Xue-Zhong He & Youwei Li, 2017. "The adaptiveness in stock markets: testing the stylized facts in the DAX 30," Journal of Evolutionary Economics, Springer, vol. 27(5), pages 1071-1094, November.
    13. Tai, Chung-Ching & Chen, Shu-Heng & Yang, Lee-Xieng, 2018. "Cognitive ability and earnings performance: Evidence from double auction market experiments," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 409-440.
    14. He, Xue-Zhong & Li, Kai, 2012. "Heterogeneous beliefs and adaptive behaviour in a continuous-time asset price model," Journal of Economic Dynamics and Control, Elsevier, vol. 36(7), pages 973-987.
    15. Raquel Almeida Ramos & Federico Bassi & Dany Lang, 2020. "Bet against the trend and cash in profits," CEPN Working Papers halshs-02956879, HAL.
    16. Min Zheng & Duo Wang & Xue-Zhong He, 2009. "Asymmetry of technical analysis and market price volatility," Published Paper Series 2009-6, Finance Discipline Group, UTS Business School, University of Technology, Sydney.
    17. Chiarella, Carl & Dieci, Roberto & Gardini, Laura, 2006. "Asset price and wealth dynamics in a financial market with heterogeneous agents," Journal of Economic Dynamics and Control, Elsevier, vol. 30(9-10), pages 1755-1786.
    18. Hommes, Cars, 2011. "The heterogeneous expectations hypothesis: Some evidence from the lab," Journal of Economic Dynamics and Control, Elsevier, vol. 35(1), pages 1-24, January.
    19. Frank H. Westerhoff, 2009. "Exchange Rate Dynamics: A Nonlinear Survey," Chapters, in: J. Barkley Rosser Jr. (ed.), Handbook of Research on Complexity, chapter 11, Edward Elgar Publishing.
    20. Xue-Zhong He, 2003. "Asset Pricing, Volatility and Market Behaviour: A Market Fraction Approach," Research Paper Series 95, Quantitative Finance Research Centre, University of Technology, Sydney.

    More about this item

    Keywords

    Moving Averages; Fundamentalists; Trend Followers; Stability; Bifurcation; Evolutionary Switching;
    All these keywords.

    JEL classification:

    • D83 - Microeconomics - - Information, Knowledge, and Uncertainty - - - Search; Learning; Information and Knowledge; Communication; Belief; Unawareness
    • D84 - Microeconomics - - Information, Knowledge, and Uncertainty - - - Expectations; Speculations
    • E21 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Consumption; Saving; Wealth
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles
    • C60 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - General

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tin:wpaper:20050057. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Tinbergen Office +31 (0)10-4088900 (email available below). General contact details of provider: https://edirc.repec.org/data/tinbenl.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.