Template-Type: ReDIF-Paper 1.0 Author-Name: Raquel Almeida Ramos Author-X-Name-First: Raquel Almeida Author-X-Name-Last: Ramos Author-Name: Federico Bassi Author-X-Name-First: Federico Author-X-Name-Last: Bassi Author-Email: federico.bassi@unicatt.it Author-Workplace-Name: Università Cattolica del Sacro Cuore Author-Workplace-Name: Dipartimento di Economia e Finanza, Università Cattolica del Sacro Cuore Author-Name: Dany Lang Author-X-Name-First: Dany Author-X-Name-Last: Lang Title: Bet against the trend and cash in profits. Abstract: This paper intends to contribute to the theoretical literature on the determinants of exchange rate fluctuations. We build an agent-based model, based on behavioral assumptions inspired by the literature on behavioral finance and by empirical surveys about the behavior of foreign exchange professionals. In our artificial economy with two countries, traders can speculate on both exchange and interest rates, and allocate their wealth across heterogeneous assets. Fundamentalists use both fundamental and technical analysis, while chartists only employ the latter, and are either trend followers or trend contrarians. In our model, trend contrarians and cash in mechanisms provide the sufficient stability conditions, and allow explaining and replicating most stylized facts of foreign exchange markets, namely (i) the excess volatility of the exchange rate with respect to its fundamentals, (ii) booms, busts and precarious equilibria, (iii) clusters of volatility, (iv) long memory and (v) fat tails. Length: 41 Creation-Date: 2020-10 File-URL: http://dipartimenti.unicatt.it/economia-finanza-def090.pdf File-Format: Application/pdf File-Function: First version, 2020 Number: def090 Classification-JEL: D40, D84, G11, G12. Keywords: retirement, Foreign exchange markets, clusters of volatility, fat tails, heterogeneous beliefs, agent-based models, Stock-flow consistent models. Handle: RePEc:ctc:serie1:def090