Lecture One. Dynamics of Moving Averages. Tony He University of Technology, Sydney, Australia

Similar documents
A DYNAMIC ANALYSIS OF MOVING AVERAGE RULES. *School of Finance and Economics University of Technology, Sydney PO Box 123 Broadway NSW 2007, Australia

Asymmetry of Technical Analysis and Market Price Volatility

Recent Developments in Asset Pricing with Heterogeneous Beliefs and Adaptive Behaviour of Financial Markets

Heterogeneous Agent Models Lecture 1. Introduction Rational vs. Agent Based Modelling Heterogeneous Agent Modelling

An Agent-Based Simulation of Stock Market to Analyze the Influence of Trader Characteristics on Financial Market Phenomena

Technical Report: CES-497 A summary for the Brock and Hommes Heterogeneous beliefs and routes to chaos in a simple asset pricing model 1998 JEDC paper

PROFITABILITY OF CONTRARIAN AND MOMENTUM STRATEGIES AND MARKET STABILITY

Investments for the Short and Long Run

G R E D E G Documents de travail

A Nonlinear Structural Model for Volatility Clustering

effect on foreign exchange dynamics as transaction taxes. Transaction taxes seek to curb

Dynamic Forecasting Rules and the Complexity of Exchange Rate Dynamics

ASSET PRICING AND WEALTH DYNAMICS AN ADAPTIVE MODEL WITH HETEROGENEOUS AGENTS

Animal Spirits in the Foreign Exchange Market

Universal Properties of Financial Markets as a Consequence of Traders Behavior: an Analytical Solution

Complex Evolutionary Systems in Behavioral Finance

Heterogeneous expectations and asset price dynamics

Research Paper 344 March Heterogeneous Expectations in Asset Pricing: Empirical Evidence from the S&P500

AGGREGATION OF HETEROGENEOUS BELIEFS AND ASSET PRICING: A MEAN-VARIANCE ANALYSIS

MARKET DEPTH AND PRICE DYNAMICS: A NOTE

Bubble and Depression in Dynamic Global Games

Butter Mountains, Milk Lakes and Optimal Price Limiters

Evolution of Market Heuristics

EFFECTS OF CONTRARIAN INVESTOR TYPE IN ASSET PRICE DYNAMICS

Does the uptick rule stabilize the stock market? Insights from adaptive rational equilibrium dynamics

Finance when no one believes the textbooks. Roy Batchelor Director, Cass EMBA Dubai Cass Business School, London

Short & Long Run impact of volatility on the effect monetary shocks

Asset Price Dynamics with Heterogeneous Beliefs and Local Network Interactions

The use of agent-based financial market models to test the effectiveness of regulatory policies *

Central bank intervention and feedback traders

Economics, Complexity and Agent Based Models

On modelling of electricity spot price

Chapter 9 Dynamic Models of Investment

Limitations of demand constraints in stabilising financial markets with heterogeneous beliefs.

Exploring Financial Instability Through Agent-based Modeling Part 2: Time Series, Adaptation, and Survival

Market Liquidity and Performance Monitoring The main idea The sequence of events: Technology and information

Universidade de Aveiro Departamento de Economia, Gestão e Engenharia Industrial. Documentos de Trabalho em Economia Working Papers in Economics

Financial Econometrics

Consumption and Portfolio Choice under Uncertainty

A Heterogenous Agent Foundation for Tests of Asset Price Bubbles

Central bank intervention within a chartist-fundamentalist exchange rate model: Evidence from the RBA case

Modeling Capital Market with Financial Signal Processing

Price Change, Trading Volume and Heterogeneous Beliefs in Stock Market. Changtai LI, Weihong HUANG, Wei-Siang WANG, and Wai-Mun CHIA

Heterogeneous expectations leading to bubbles and crashes in asset markets: Tipping point, herding behavior and group effect in an agent-based model

Agent based modeling of financial markets

Tobin Taxes and Dynamics of Interacting Financial Markets

Financial Econometrics Jeffrey R. Russell. Midterm 2014 Suggested Solutions. TA: B. B. Deng

UvA-DARE (Digital Academic Repository) Asset prices, traders' behavior, and market design Anufriev, M.; Panchenko, V. Link to publication

Economic policy. Monetary policy (part 2)

Microscopic Models of Financial Markets

Chapter 9 - Forecasting Exchange Rates

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam

Dynamic Market Making and Asset Pricing

The Impact of Short-Selling Constraints on Financial Market Stability in a Heterogeneous Agents Model

1 Volatility Definition and Estimation

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam

Is the Extension of Trading Hours Always Beneficial? An Artificial Agent-Based Analysis

Why Do Agency Theorists Misinterpret Market Monitoring?

Behavioural heterogeneity in ASX 200

Predicting Inflation without Predictive Regressions

QUANTITATIVE FINANCE RESEARCH CENTRE. Trading Heterogeneity under Information Uncertainty Xue-Zhong He and Huanhuan Zheng

Return Decomposition over the Business Cycle

Chapter 1. Chaos in the Dornbusch Model of the Exchange Rate

Analysis of the Impact of Leveraged ETF Rebalancing Trades on the Underlying Asset Market Using Artificial Market Simulation

Quantitative Modelling of Market Booms and Crashes

Problem set 5. Asset pricing. Markus Roth. Chair for Macroeconomics Johannes Gutenberg Universität Mainz. Juli 5, 2010

Pricing Dynamic Solvency Insurance and Investment Fund Protection

Heterogeneous Trade Intervals in an Agent Based Financial Market. Alexander Pfister

Schizophrenic Representative Investors

Lecture 5: Univariate Volatility

1 Consumption and saving under uncertainty

Occasional Paper. Risk Measurement Illiquidity Distortions. Jiaqi Chen and Michael L. Tindall

Learning and Adaptation as a Source of Market Failure

Fin285a:Computer Simulations and Risk Assessment Section 3.2 Stylized facts of financial data Danielson,

Endogenous Housing Market Model: A Deterministic Heterogeneous Agent Approach

Microeconomic Foundations of Incomplete Price Adjustment

Random Walks, liquidity molasses and critical response in financial markets

Financial Returns: Stylized Features and Statistical Models

Lecture 5a: ARCH Models

Stock Market Forecast: Chaos Theory Revealing How the Market Works March 25, 2018 I Know First Research

Zipf s Law, Pareto s Law, and the Evolution of Top Incomes in the U.S.

2.1 Properties of PDFs

Growth Rate of Domestic Credit and Output: Evidence of the Asymmetric Relationship between Japan and the United States

HETEROGENEITY, NONLINEARITY AND ENDOGENOUS MARKET VOLATILITY

State Switching in US Equity Index Returns based on SETAR Model with Kalman Filter Tracking

General Examination in Macroeconomic Theory SPRING 2016

A Market Microsructure Theory of the Term Structure of Asset Returns

Practical example of an Economic Scenario Generator

Consumption and Portfolio Decisions When Expected Returns A

Oil Price Uncertainty in a Small Open Economy

Fiscal and Monetary Policies: Background

Is the Potential for International Diversification Disappearing? A Dynamic Copula Approach

Chapter 6 Forecasting Volatility using Stochastic Volatility Model

Credit Risk Models with Filtered Market Information

Risk Control of Mean-Reversion Time in Statistical Arbitrage,

TOPICS IN MACROECONOMICS: MODELLING INFORMATION, LEARNING AND EXPECTATIONS LECTURE NOTES. Lucas Island Model

Asymmetric Information: Walrasian Equilibria, and Rational Expectations Equilibria

Portability, salary and asset price risk: a continuous-time expected utility comparison of DB and DC pension plans

Macroeconomics I International Group Course

Government spending in a model where debt effects output gap

Transcription:

Lecture One Dynamics of Moving Averages Tony He University of Technology, Sydney, Australia AI-ECON (NCCU) Lectures on Financial Market Behaviour with Heterogeneous Investors August 2007

Outline Related Literature and Motivation An Asset Pricing Model with A Market Maker Stability and Bifurcation Analysis Dynamics of the Nonlinear Deterministic System The effect of the switching intensity Rational Routes to Randomness The effect of the lag length Dynamics of the Moving Average Dynamics of the Stochastic System Multiplicative noise Additive noise Conclusion and Remarks Tony He UTS 2003 0-1

1 Related Literature and Motivation Technical Analysis (TA) TA attempt to forecast prices by the study of patterns of past prices and a few other related summary statistics about security trading Shifts in supply and demand can be detected in charts of market movements TA is inconsistent with the (weak form) market efficiency Practical use of TA seems to be widespread amongst financial markets traders Tony He UTS 2003 1-2

Empirical Studies Exchange Rate Markets: US dollar exchange rate in eighties: Frankel and Froot (1986, 1990), Survey: Allen and Tylor (1990) and Taylor and Allen (1992) Predictability in Stock Markets: Sources and asymmetric nature: Brock et al (1992), Evidence: Pesaran and Timmermann (1994, 1995) Profitability of TA: Lo et al (2000), Boswijk et al (2000), and Goldbaum (2003) Genetic programming (e.g. Neely et al 1997) and Neural networks (e.g. Gencay, 1998) Problems More focus on empirical studies BUT less on analytical studies Simplified demand functions based on the trading signals Tony He UTS 2003 1-3

Questions How to determine the amount to buy/sell? How the market prices are affected following these buy/sell actions? How the length of moving average window affect the price dynamics? Heterogeneous Agent Models (HAM) Heterogeneity among agents (investors) Boundedly rationality Survey papers: Theoretical: Hommes (2006) Computational: LeBaron (2006) Computational intelligence: Chen (1983-now) Tony He UTS 2003 1-4

Aims of this lecture To present a market of financial market dynamics in which demand for traded assets has both fundamentalist and chartist components fundamental demand: mean reversion to the fundamental price chartist demand: based on the difference between current price and a moving average To examine the impact of the moving average trading rules on the market dynamics when agents switch among two strategies based on certain fitness measure To analyze Rational Routes to Randomness in relation to the moving average trading strategies To demonstrate that the model is able to generate various market behaviours (e.g. price resistance, bull/bear markets, bubbles and crashes) and stylized factors (e.g. skewness, kurtosis, volatility clustering and long memory). Tony He UTS 2003 1-5

1500 Prices 1000 500 0.1 0.0 0.1 0.2 Returns 0 1000 2000 3000 4000 5000 6000 Density 75 SP500 N(s=0.0102) 50 25 0.1 0.0 0.075 0.050 0.025 0.000 0.025 0.050 0.075 0.2 AC( r t ) 0 10 20 30 40 50 0 1000 2000 3000 4000 5000 6000 0.2 AC(r t ) 0.1 0.0 0 10 20 30 40 50 0.2 AC(r 2 t ) 0.1 0.0 0 10 20 30 40 50 Figure 1: The daily S&P 500 date, 5/12/1980-23/2/2007 Daily price and returns, return r t distribution, the ACs for the returns AC(r t ), the absolute AC( r t ) and squared AC(r 2 t ) returns Tony He UTS 2003 1-6

2 An Asset Pricing Model with a Market Maker Heterogeneous Agent Model Brock and Hommes framework Optimal demand, utility maximization and trading strategies Market maker via Walrasian scenarios This lecture focuses on the price dynamics of the trading rules with a market maker scenario Tony He UTS 2003 2-7

Notation P t : the price (cum dividend) of the risky asset at time t. N: the total number of traders (assumed to be a constant) in the market, among which there are N h,t of type h traders at time t with h = 1, 2,, H and H h=1 N h,t = N The market fractions of different types of traders at time t can be defined as n h,t = N h,t /N, h = 1, 2,, H. The population weighted aggregate excess demand at time t is given by D t = h n h,t D h,t. Tony He UTS 2003 2-8

A Market Maker Mechanism P t+1 = P t [1 + σ ǫ ǫ t ] + µ h n h,t D h,t, ǫ t N(0, 1) captures a random excess demand process µ > 0 measures the speed of price adjustment of the market maker to the excess demand. A Model of Two Types of Traders Fundamentalists and Chartists Market fractions n f,t = N f,t /N, n c,t = N c,t /N, m t = n f,t n c,t [ 1, 1]. The excess demands of the fundamentalist and chartist:d f t and D c t The market price of the risky asset P t+1 = P t [1 + σ ǫ ǫ t ] + µ 2 [(1 + m t)d f,t + (1 m t )D c,t ]. Tony He UTS 2003 2-9

Fundamentalists Excess demand: D f t = α(p t P t). Fundamental price P t+1 = P t [1 + σ pǫ t ], ǫ t N(0, 1) α > 0 is a combined measure of the aggregate risk tolerance of the fundamentalists and their reaction to the mis-pricing Tony He UTS 2003 2-10

Chartists Moving average ma k t = 1 k k 1 i=0 P t i, (k 1) Trading signals: ψ S,L t = ma S t mal t, L S In the following, we choose S = 1 and let ψ L t = ψ1,l t. Excess demand: D c t = h(ψs,l t ), h(0) = 0, h (x) > 0, xh (x) < 0 In this lecture, we choose h(x) = tanh(ax), a = h (0) > 0 Tony He UTS 2003 2-11

Fitness Measure and Population Evolution The realized capital gains π f,t = D f t 1 (P t P t 1 ) C f, π c,t = D c t 1 (P t P t 1 ) C c The discrete choice model: n f,t = Fitness: e βu f,t e βu f,t + e βu c,t, n c,t = e βu c,t e βu f,t + e βu c,t. U f,t = π f,t + ηu f,t 1, U c,t = π c,t + ηu c,t 1 η [0, 1] measures the memory of the cumulated fitness function β 0 measures the switching intensity among the two strategies. β = 0: m t = 0 β =. Tony He UTS 2003 2-12

A Complete Asset Pricing Model The market price of the risky asset is determined according to P t+1 = P t [1+σ ǫ ǫ t ]+ µ 2 [ (1+mt )α(p t P t)+(1 m t )h(ψ L t )] The difference of population fractions m t evolves according to m t = tanh [ β 2 (U t C) ] The cumulated fitness function satisfies U t = [D f t 1 Dc t 1 ][P t P t 1 ] + ηu t 1, The deterministic system: σ ǫ = σ p = 0 P t+1 = P t + µ 2 [ (1 + mt )α(p P t ) + (1 m t )h(ψ L t )] Tony He UTS 2003 2-13

3 Stability and Bifurcation Analysis The deterministic model is an L + 2 dimensional nonlinear difference system Steady state equilibrium: Assume η [0, 1). Then there exists a unique steady state (P t, m t, U t ) = (P, m, 0) where P is the constant fundamental price and m = tanh( βc/2). Let n f = (1+m )/2, n c = (1 m )/2, ᾱ = αµn f, ā = aµn c Then n f = n c = 0.5 when C = 0. In general, n c n f when C 0. Tony He UTS 2003 3-14

Local Analysis if ᾱ = 1 + ā, then the steady state price P is locally stable for 0 < ā < L. At ā = L, there occurs a 1 : L + 1 resonance bifurcation a necessary condition for the steady state price to be stable is given by 2 + ā for L = 2l; 0 < ā < L, 0 < ᾱ < 2 + L 1 ā for L = 2l + 1. L for all L, P is LAS if (ᾱ, ā) D S (ᾱ, ā) := {(ᾱ, ā);2ā < ᾱ < 2} for sufficiently large L, P is unstable if ā > ᾱ Stability region D S and boundaries in population weighted reaction coefficients ᾱ and ā. Tony He UTS 2003 3-15

ā ā = L ᾱ = 1 + ā ᾱ = 2 + ā(l 1)/L ᾱ = 2 + ā ᾱ = ā 1 D S 1 2 ᾱ Figure 2: The common stability region D S for general lag length L and necessary stability boundaries ā = L, ᾱ = 2 + ā for even lag L and ᾱ = 2+ā(L 1)/L for odd lag L. On the horizontal (vertical) axis we have the population weighted reaction coefficient of the fundamentalists (chartists) at the steady state, i.e. ᾱ := αµn f, ā := aµn c. Tony He UTS 2003 3-16

A comparison of the stability regions D L = D 1L for L = 1, 2, 3 and 4: ā ā Hopf boundary Flip boundary 2 D 11 1 D 12 Flip boundary 2 (a) ᾱ 1 2 3 4 (b) ᾱ Tony He UTS 2003 3-17

ā 4 Hopf boundary ā 4 3 3 2 2 1 D 13 Flip boundary 1 D 14 Flip boundary 1 2 3 4 (c) ᾱ 1 2 3 4 5 (d) ᾱ Tony He UTS 2003 3-18

ā 4 3 2 D 11 D 14 D 13 1 D 12 D S 1 2 3 4 5 ᾱ Tony He UTS 2003 3-19

Observations: Along the line ᾱ = 1 + ā, for general L, the stability region is proportionally enlarged as the lag length of the MA process (L) increases. Intuitively, the linearization reduces to X t+1 = [1 + ā ᾱ]x t ā L L 1 i=0 X t i. (1) The stability region is NOT enlarged as the lag length L increases Destabilizing effect: When the chartists become more active (so that ā > ᾱ), increasing in L destabilizes the system. Intuitively, as L increases, the MA becomes more smoother and sluggish and a small change in price leads to a relatively large change of chartists demand. Conjecture as lag L increases, the stability region tends to shrink towards, but stretch along, the line α = 1 + ā with common stability region D S. Tony He UTS 2003 3-20

Other destabilizing effects increase of the switching intensity β when C > 0 increase of C Tony He UTS 2003 3-21

4 Dynamics of the Nonlinear System 4.1 The effect of switching intensity rational routes to randomness Parameters selection: Case L = 4 P is LAS for β = 0 α = 1, µ = 2, η = 0.2, a = 1, C = 1 Choose β = 0.2, 0.3, 0.49, 0.52, 0.555 and 0.57 As β increases, P becomes unstable, leading to complicated and even chaotic price dynamics Tony He UTS 2003 4-22

Case L = 100 As conjectured, P is unstable even for β = 0 Choose β = 0.05, 0.1, 0.2, 0.3, 0.35, 0.42, 0.45, 0.46 and 0.4652 As β increases, Lorenz-like attractors appear and then merge into strange attractors Time series: Regular boom and bear markets High intensity leads to high volatility Upper and lower resistance levels Tony He UTS 2003 4-23

101.0 β=0.1 100.5 100.0 99.5 101 100 99 β=0.3 102 101 100 0 100 200 300 400 500 β=0.35 102 100 0 100 200 300 400 500 β=0.42 99 98 0 100 200 300 400 500 0 100 200 300 400 500 102.5 100.0 97.5 β=0.46 0 50 100 150 200 250 300 350 400 450 500 Figure 3: Price time series for L = 100 and β = 0.1, 0.3, 0.35, 0.42, 0.46 Tony He UTS 2003 4-24

4.2 The effect of the lag length Dynamics of moving average Parameters selection: α = 1, µ = 2, β = 0.4, η = 0.2, a = 1, C = 0. The fundamental price is locally stable for L = 2, 3, 4 and unstable for L 5 The destabilizing effect of L becomes more significant as L increases Tony He UTS 2003 4-25

101.0 100.5 L=5 L=10 p ma ma t 101 p t t t 100.0 100 99.5 4500 4520 4540 4560 4580 4600 101 p t L=50 ma t 4500 4520 4540 4560 4580 4600 101 p t L=200 ma t 100 100 4500 4550 4600 4650 4700 4750 4800 4500 4550 4600 4650 4700 4750 4800 Figure 4: Price time series for fixed β = 0.4 and various L = 5, 10, 50 and 200. Tony He UTS 2003 4-26

Observations from time series: Following the cross over of the long moving average and the market price, both the chartists and fundamentalists take the same long/short position initially. This push the price to either bull or bear market levels. Limited long/short positions of the chartists reduce the marginal fitness, leading agents to switch back to the fundamental price Over-reaction (switching) then builds an opposite trend, pushing price away from the fundamental price. As L increases, the switching patterns between bull and bear markets become significant. Also, it takes longer time to change the price trend and bring the price towards the fundamental price level This underlying mechanism can be used to explain the appearance of bubbles which grow and then burst. Tony He UTS 2003 4-27

5 Dynamics of Stochastic System The fundamental price follows a random walk P t+1 = P t [1 + σ δ δ t ], (2) where σ δ 0 is a constant measuring the volatility of the return and δ t N(0, 1). This specification ensures that relative price changes are stationary. The stochastic model: P t+1 = P t + D t + µ[n f,t D f t + n c,t D c t ]. (3) Market noise: D t = σ ǫ ǫ t P t or D t = σ ǫ ǫ t Tony He UTS 2003 5-28

5.1 Multiplicative noise Parameter Selection: α = 0.5, β = 0.3, a = 1, µ = 1, η = 0.2, C = 1, L = 100, P 0 = P 0 = $100, K = 250. Four cases of noise combinations: (a) Deterministic case: (σ ǫ, σ δ ) = (0, 0) (b) Noise demand: (σ ǫ, σ δ ) = (0.5%, 0) (c) Noise fundamental: (σ ǫ, σ δ ) = (0, 5%/K) (d) Noise demand and fundamental: (σ ǫ, σ δ ) = (0.5%, 5%/K) Three time series: (A) Pt, P t, MA t ; (B) m t ; (C) D f t, Dt c. Tony He UTS 2003 5-29

102.5 p t * p t 105 p t * p t 100.0 100 97.5 ma t 0 100 200 300 400 500 (a) 95 0 100 200 300 400 500 (b) ma t 105 p t * p t 110 105 p t * p t 100 100 95 ma t 95 ma t 0 100 200 300 400 500 (c) 0 100 200 300 400 500 (d) Figure 5: Time series of the prices (A) Tony He UTS 2003 5-30

0.5 0.5 0.0 0.0 0.5 0.5 0 100 200 300 400 500 0 100 200 300 400 500 (a) 0.5 0.5 (b) 0.0 0.0 0.5 0.5 0 100 200 300 400 500 (c) 0 100 200 300 400 500 (d) Figure 6: Population fraction differences (B) Tony He UTS 2003 5-31

1 D t f D t C 2.5 D t f D t C 0 0.0 1 2.5 0 100 200 300 400 500 (a) 2 D t f D t C 0 100 200 300 400 500 (b) 2.5 D t f D t C 0 0.0 2.5 2 0 100 200 300 400 500 (c) 0 100 200 300 400 500 (d) Figure 7: Demand functions (C) Tony He UTS 2003 5-32

Case (a): The fundamentalists and the technical analysts take opposite (long/short) positions in most of the time period. Such off-setting positions cause the price to stay bounded. The market switches when both of them have the same position and such a transition happens very quickly. The market is dominated by the technical analysts Case (b): Because of the noisy demand, the market price becomes more volatile and the switching between two types of trading strategies is intensified. The market price and the demand functions are still dominated by the underlying price dynamics of the deterministic case (a). Tony He UTS 2003 5-33

Case (c): The market price P t closely follows the fundamental price P t Traders tend to switch to fundamentalist analysis from time to time. The market price is above (below) the fundamental price when the technical analysts take long (short) position. The market price is still dominated by the technical analysts although it follows closely the fundamental price. Case (d): Market price becomes more volatile, It shares similar features as in the cases (b) and (c). The market price follows the fundamental price and the market is dominated by technical analysts. Tony He UTS 2003 5-34

Observations: (i) Adding noisy demand can increase price volatility, but it has less impact on the price pattern and the market conditions of the underlying price dynamics. (ii) When the fundamental price follows a stochastic process, the market price closely follows the fundamental price. (iii) The market is mainly dominated by technical analysts. They may be the winners over short time periods (indicated by the switching), however over the whole time period they may be the losers in the sense that most of the time they seem to buy when the market prices are high and sell when the market prices are low. (iv) The switching between bull and bear markets happens when both types of traders take the same position, a very intuitive result. Such transitions can be intensified with the help of the noise traders, leading to temporary market bubbles and sudden crashes. Tony He UTS 2003 5-35

110 (a) 105 p t p * t 100 95 ma t 0 150 300 450 2 (d) D t f D t C 0 2 0 150 300 450 (g) AC(r t ) 0.05 0.00 (b) p t p * t 0.2 0.1 5 0 5 0.02 (e) r t 0.01 0.00 0.01 0 1300 2600 3900 0.050 (h) AC( r t ) 0.025 0.000 0.025 0.1 (c) m t 0.0 0.1 0 150 300 450 75 (f) r t 50 25 0.02 0.00 0.02 0.050 (i) AC(r 2 t ) 0.025 0.000 0.025 0 100 200 0 100 200 0 100 200 Tony He UTS 2003 5-36

Time series, distributions and autocorrelations (ACs) The market price follows the fundamental price in general Most of the time, the fundamentalists and trend followers take opposite positions. The cross-overs of the market price and the moving average immediately pushes the market price away from the fundamental price over long time periods (close to 100 days). The bi-model distribution of the difference p t p t. The returns r t are close to being normally distributed. The market can appear to be quite efficient even though it is dominated by technical analysts and the market price is consistently pushed away from the fundamental price a very interesting result. It provides a basis for the existence of upper and lower price resistance levels in an apparent efficient market. Tony He UTS 2003 5-37

5.2 Additive Noise and Long Memory Long memory insignificant ACs for the raw returns but significant ACs for the absolute and squared returns. In this case, the bi-model distribution disappears. For small σ δ, for example 5%, it is found that the fundamental price is less volatile and the market returns are close to a normal distribution. However, for σ δ = 20%, the fundamental price is more volatile, leading to a non-normal distribution of the market returns with some skewness and high kurtosis. A high volatility of the fundamental price can reduce the market efficiency, generate the long memory feature as well as the skewness and kurtosis observed in asset returns. Tony He UTS 2003 5-38

(a) 120 p t ma t 100 p * t 0 150 300 450 5.0 (d) D f t D C t 2.5 0.0 2.5 0 150 300 450 0.05 (g) AC(r t ) 0.00 0.15 0.10 0.05 0.05 0.00 0.05 (h) 0.15 AC( r t ) 0.10 0.05 (b) (e) r t p t p * t 10 0 10 0 1300 2600 3900 0.50 (c) m t 0.25 0.00 0.25 0 1300 2600 3900 30 20 10 0.10 0.05 (f) 0.05 0.00 0.05 (i) AC(r t 2 ) r t 0 100 200 0 100 200 0 100 200 Tony He UTS 2003 5-39

6 Conclusion and Remarks Price fluctuations are driven by evolutionary switching between different expectation schemes. Various rational routes to randomness Intuitively one might expect that a long run MA smoothes the price dynamics and hence an increase of the lag length of the MA might be expected to stabilize the market. Surprisingly, this intuition is only true when both the reaction coefficient of the fundamentalists and the extrapolation rate of the trend followers are balanced in a certain way. Tony He UTS 2003 6-40

In general, as the lag length L increases, the MA becomes smoother and more sluggish. A small change in the price leads to a relatively large increase of chartists demand and consequently, the lag length of the MA rule can destabilize the market price. When the fundamental price follows a stochastic process, the market price closely follows the fundamental price. The switching between bull and bear markets happens when both types of traders take the same position Tony He UTS 2003 6-41

Different forms of the noise demand created by the noise traders can have a different impact on the price dynamics. When the noise trader demand is proportional to the market price, the price dynamics are dominated by the underlying price dynamics of the deterministic model. In addition, the market can appear efficient even though the market is dominated by technical analysts and the market price is consistently pushed away from the fundamental price. When the noise trader demand is independent of the market price, some stylized facts, including skewness, high kurtosis, and possible long memory, can be generated when the volatility of the fundamental price is high. Tony He UTS 2003 6-42

Future research: theoretic analysis of the interaction of the non-linear and stochastic elements, including different forms of the noise. study a more realistic model of the market with a large number of different trading rules, in particular with agents using different MA strategies of various length, or other types of technical trading rules used in financial practice. Tony He UTS 2003 6-43