IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1401.1888.html
   My bibliography  Save this paper

Dynamical Models of Stock Prices Based on Technical Trading Rules Part I: The Models

Author

Listed:
  • Li-Xin Wang

Abstract

In this paper we use fuzzy systems theory to convert the technical trading rules commonly used by stock practitioners into excess demand functions which are then used to drive the price dynamics. The technical trading rules are recorded in natural languages where fuzzy words and vague expressions abound. In Part I of this paper, we will show the details of how to transform the technical trading heuristics into nonlinear dynamic equations. First, we define fuzzy sets to represent the fuzzy terms in the technical trading rules; second, we translate each technical trading heuristic into a group of fuzzy IF-THEN rules; third, we combine the fuzzy IF-THEN rules in a group into a fuzzy system; and finally, the linear combination of these fuzzy systems is used as the excess demand function in the price dynamic equation. We transform a wide variety of technical trading rules into fuzzy systems, including moving average rules, support and resistance rules, trend line rules, big buyer, big seller and manipulator rules, band and stop rules, and volume and relative strength rules. Simulation results show that the price dynamics driven by these technical trading rules are complex and chaotic, and some common phenomena in real stock prices such as jumps, trending and self-fulfilling appear naturally.

Suggested Citation

  • Li-Xin Wang, 2014. "Dynamical Models of Stock Prices Based on Technical Trading Rules Part I: The Models," Papers 1401.1888, arXiv.org, revised Feb 2016.
  • Handle: RePEc:arx:papers:1401.1888
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1401.1888
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ryan Sullivan & Allan Timmermann & Halbert White, 1999. "Data‐Snooping, Technical Trading Rule Performance, and the Bootstrap," Journal of Finance, American Finance Association, vol. 54(5), pages 1647-1691, October.
    2. Gencay, Ramazan, 1998. "The predictability of security returns with simple technical trading rules," Journal of Empirical Finance, Elsevier, vol. 5(4), pages 347-359, October.
    3. 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.
    4. Thomas Lux & Michele Marchesi, 1999. "Scaling and criticality in a stochastic multi-agent model of a financial market," Nature, Nature, vol. 397(6719), pages 498-500, February.
    5. Andrei A. Kirilenko & Andrew W. Lo, 2013. "Moore's Law versus Murphy's Law: Algorithmic Trading and Its Discontents," Journal of Economic Perspectives, American Economic Association, vol. 27(2), pages 51-72, Spring.
    6. Leigh Tesfatsion & Kenneth L. Judd (ed.), 2006. "Handbook of Computational Economics," Handbook of Computational Economics, Elsevier, edition 1, volume 2, number 2.
    7. Merton, Robert C., 1976. "Option pricing when underlying stock returns are discontinuous," Journal of Financial Economics, Elsevier, vol. 3(1-2), pages 125-144.
    8. 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.
    9. 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.
    10. Bollerslev, Tim & Chou, Ray Y. & Kroner, Kenneth F., 1992. "ARCH modeling in finance : A review of the theory and empirical evidence," Journal of Econometrics, Elsevier, vol. 52(1-2), pages 5-59.
    11. Albert S. Kyle & S. Viswanathan, 2008. "How to Define Illegal Price Manipulation," American Economic Review, American Economic Association, vol. 98(2), pages 274-279, May.
    12. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    13. Brock, William & Lakonishok, Josef & LeBaron, Blake, 1992. "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns," Journal of Finance, American Finance Association, vol. 47(5), pages 1731-1764, December.
    14. 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.
    15. 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.
    16. Jean-Philippe Bouchaud & J. Doyne Farmer & Fabrizio Lillo, 2008. "How markets slowly digest changes in supply and demand," Papers 0809.0822, arXiv.org.
    17. Lux, Thomas, 1998. "The socio-economic dynamics of speculative markets: interacting agents, chaos, and the fat tails of return distributions," Journal of Economic Behavior & Organization, Elsevier, vol. 33(2), pages 143-165, January.
    18. Menkhoff, Lukas, 2010. "The use of technical analysis by fund managers: International evidence," Journal of Banking & Finance, Elsevier, vol. 34(11), pages 2573-2586, November.
    19. Yannick Malevergne & Didier Sornette, 2006. "Extreme Financial Risks : From Dependence to Risk Management," Post-Print hal-02298069, HAL.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Li-Xin Wang, 2014. "Gaussian-Chain Filters for Heavy-Tailed Noise with Application to Detecting Big Buyers and Big Sellers in Stock Market," Papers 1405.2220, arXiv.org.

    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. Li-Xin Wang, 2014. "Dynamical Models of Stock Prices Based on Technical Trading Rules Part II: Analysis of the Models," Papers 1401.1891, arXiv.org, revised Feb 2016.
    2. 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.
    3. Gerritsen, Dirk F., 2016. "Are chartists artists? The determinants and profitability of recommendations based on technical analysis," International Review of Financial Analysis, Elsevier, vol. 47(C), pages 179-196.
    4. Ebert, Sebastian & Hilpert, Christian, 2019. "Skewness preference and the popularity of technical analysis," Journal of Banking & Finance, Elsevier, vol. 109(C).
    5. Farias Nazário, Rodolfo Toríbio & e Silva, Jéssica Lima & Sobreiro, Vinicius Amorim & Kimura, Herbert, 2017. "A literature review of technical analysis on stock markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 66(C), pages 115-126.
    6. Fischer, Thomas & Riedler, Jesper, 2014. "Prices, debt and market structure in an agent-based model of the financial market," Journal of Economic Dynamics and Control, Elsevier, vol. 48(C), pages 95-120.
    7. Torsten Trimborn & Philipp Otte & Simon Cramer & Maximilian Beikirch & Emma Pabich & Martin Frank, 2020. "SABCEMM: A Simulator for Agent-Based Computational Economic Market Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(2), pages 707-744, February.
    8. Jimmy Hilliard & Adam Schwartz & James Squire, 2013. "A Test of Technical Analysis: Matching Time Displaced Generalized Patterns," Financial Management, Financial Management Association International, vol. 42(2), pages 291-314, June.
    9. 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.
    10. Guanqing Liu, 2019. "Technical Trading Behaviour: Evidence from Chinese Rebar Futures Market," Computational Economics, Springer;Society for Computational Economics, vol. 54(2), pages 669-704, August.
    11. He, Xue-Zhong & Li, Kai, 2015. "Profitability of time series momentum," Journal of Banking & Finance, Elsevier, vol. 53(C), pages 140-157.
    12. Chiarella, Carl & He, Xue-Zhong & Hommes, Cars, 2006. "A dynamic analysis of moving average rules," Journal of Economic Dynamics and Control, Elsevier, vol. 30(9-10), pages 1729-1753.
    13. Gradojevic, Nikola, 2007. "Non-linear, hybrid exchange rate modeling and trading profitability in the foreign exchange market," Journal of Economic Dynamics and Control, Elsevier, vol. 31(2), pages 557-574, February.
    14. Yochanan Shachmurove & Uri BenZion & Paul Klein & Joseph Yagil, 2001. "A Moving Average Comparison of the Tel-Aviv 25 and S&P 500 Stock Indices," Penn CARESS Working Papers 4731f3394c43bebf4d3191c81, Penn Economics Department.
    15. 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.
    16. Li-Xin Wang, 2014. "Dynamical Models of Stock Prices Based on Technical Trading Rules Part III: Application to Hong Kong Stocks," Papers 1401.1892, arXiv.org, revised Feb 2016.
    17. Qing Zhou & Robert Faff, 2017. "The complementary role of cross-sectional and time-series information in forecasting stock returns," Australian Journal of Management, Australian School of Business, vol. 42(1), pages 113-139, February.
    18. Chiarella, Carl & He, Xue-Zhong & Zwinkels, Remco C.J., 2014. "Heterogeneous expectations in asset pricing: Empirical evidence from the S&P500," Journal of Economic Behavior & Organization, Elsevier, vol. 105(C), pages 1-16.
    19. Cheol‐Ho Park & Scott H. Irwin, 2007. "What Do We Know About The Profitability Of Technical Analysis?," Journal of Economic Surveys, Wiley Blackwell, vol. 21(4), pages 786-826, September.
    20. Chia-Lin Chang & Jukka Ilomäki & Hannu Laurila & Michael McAleer, 2018. "Long Run Returns Predictability and Volatility with Moving Averages," Risks, MDPI, vol. 6(4), pages 1-18, September.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:arx:papers:1401.1888. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.