Algorithmic Trading Using MACD Signals
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Predicting SARS-Cov-2 Infection Trend Using Technical Analysis Indicators
medRxiv preprint doi: https://doi.org/10.1101/2020.05.13.20100784; this version posted May 20, 2020. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. All rights reserved. No reuse allowed without permission. Predicting SARS-CoV-2 infection trend using technical analysis indicators Marino Paroli and Maria Isabella Sirinian Department of Clinical, Anesthesiologic and Cardiovascular Sciences, Sapienza University of Rome, Italy ABSTRACT COVID-19 pandemic is a global emergency caused by SARS-CoV-2 infection. Without efficacious drugs or vaccines, mass quarantine has been the main strategy adopted by governments to contain the virus spread. This has led to a significant reduction in the number of infected people and deaths and to a diminished pressure over the health care system. However, an economic depression is following due to the forced absence of worker from their job and to the closure of many productive activities. For these reasons, governments are lessening progressively the mass quarantine measures to avoid an economic catastrophe. Nevertheless, the reopening of firms and commercial activities might lead to a resurgence of infection. In the worst-case scenario, this might impose the return to strict lockdown measures. Epidemiological models are therefore necessary to forecast possible new infection outbreaks and to inform government to promptly adopt new containment measures. In this context, we tested here if technical analysis methods commonly used in the financial market might provide early signal of change in the direction of SARS-Cov-2 infection trend in Italy, a country which has been strongly hit by the pandemic. -
A Test of Macd Trading Strategy
A TEST OF MACD TRADING STRATEGY Bill Huang Master of Business Administration, University of Leicester, 2005 Yong Soo Kim Bachelor of Business Administration, Yonsei University, 200 1 PROJECT SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF BUSINESS ADMINISTRATION In the Faculty of Business Administration Global Asset and Wealth Management MBA O Bill HuangIYong Soo Kim 2006 SIMON FRASER UNIVERSITY Fall 2006 All rights reserved. This work may not be reproduced in whole or in part, by photocopy or other means, without permission of the author. APPROVAL Name: Bill Huang 1 Yong Soo Kim Degree: Master of Business Administration Title of Project: A Test of MACD Trading Strategy Supervisory Committee: Dr. Peter Klein Senior Supervisor Professor, Faculty of Business Administration Dr. Daniel Smith Second Reader Assistant Professor, Faculty of Business Administration Date Approved: SIMON FRASER . UNI~ER~IW~Ibra ry DECLARATION OF PARTIAL COPYRIGHT LICENCE The author, whose copyright is declared on the title page of this work, has granted to Simon Fraser University the right to lend this thesis, project or extended essay to users of the Simon Fraser University Library, and to make partial or single copies only for such users or in response to a request from the library of any other university, or other educational institution, on its own behalf or for one of its users. The author has further granted permission to Simon Fraser University to keep or make a digital copy for use in its circulating collection (currently available to the public at the "lnstitutional Repository" link of the SFU Library website <www.lib.sfu.ca> at: ~http:llir.lib.sfu.calhandlell8921112~)and, without changing the content, to translate the thesislproject or extended essays, if .technically possible, to any medium or format for the purpose of preservation of the digital work. -
Spread, Volatility, and Volume Relationship in Financial Markets
Spread, volatility, and volume relationship in financial markets and market maker’s profit optimization Jack Sarkissian Managing Member, Algostox Trading LLC email: [email protected] Abstract We study the relationship between price spread, volatility and trading volume. We find that spread forms as a result of interplay between order liquidity and order impact. When trading volume is small adding more liquidity helps improve price accuracy and reduce spread, but after some point additional liquidity begins to deteriorate price. The model allows to connect the bid-ask spread and high-low bars to measurable microstructural parameters and express their dependence on trading volume, volatility and time horizon. Using the established relations, we address the operating spread optimization problem to maximize the market-maker’s profit. 1. Introduction When discussing security prices it is customary to describe them with single numbers. For example, someone might say price of Citigroup Inc. (ticker “C”) on April 18, 2016 was $45.11. While good enough for many uses, it is not entirely accurate. Single numbers can describe price only as referring to a particular transaction, in which 푁 units of security are transferred from one party to another at a price $푋 each. Price could be different a moment before or after the transaction, or if the transaction had different size, or if it were executed on a different exchange. To be entirely accurate, one should specify these numerous details when talking about security price. We will take this observation a step further. Technically speaking, other than at the time of transaction we cannot say that price exists as a single number at all. -
Finance Feature
finance feature by Douglas Carlsen, DDS Face it: dentists are competitive and compulsive. We have to be to perform the miracles of our daily work. When I tell the average person that tooth “preparation” is performed with a drill running at 400,000rpm on a moving target within 1/16 inch or less of the nerve 90 percent of the time, I often hear, “No wonder you guys scare me to death!” With that compulsive drive comes the idea that we can invest smarter than the average Joe. Yet, according to noted author Larry Swedroe: “…the purchase by investors of individ- ual stocks… would seem to be the ultimate in controlling your own portfolio. However, in pursuing this course, you create two problems. First, you likely cannot achieve the extensive diversification that the use of mutual funds accomplishes. Second, the evidence tells us that individual investors who select their own stocks underperform appropriate benchmarks by significant margins.”1 Financial planners who utilize academic-based strategy agree that individuals cause little damage by actively trading a small portion of the portfolio (five to 10 percent) as long as the great bulk of one’s investments are in passive index funds. Nevertheless, many doctors choose to actively trade a significant portion of their funds. Since many of you will or already have taken the trading plunge, let’s examine the basics, then hear comments from a dentist who has done well since 2001 with active trading. Active traders normally use fundamental analysis or technical analysis, and often both. 1. Larry Swedroe, Investment Mistakes Even Smart Investors Make, McGraw Hill, 2012, p.24. -
Forecasting Direction of Exchange Rate Fluctuations with Two Dimensional Patterns and Currency Strength
FORECASTING DIRECTION OF EXCHANGE RATE FLUCTUATIONS WITH TWO DIMENSIONAL PATTERNS AND CURRENCY STRENGTH A THESIS SUBMITTED TO THE GRADUATE SCHOOL OF NATURAL AND APPLIED SCIENCES OF MIDDLE EAST TECHNICAL UNIVERSITY BY MUSTAFA ONUR ÖZORHAN IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PILOSOPHY IN COMPUTER ENGINEERING MAY 2017 Approval of the thesis: FORECASTING DIRECTION OF EXCHANGE RATE FLUCTUATIONS WITH TWO DIMENSIONAL PATTERNS AND CURRENCY STRENGTH submitted by MUSTAFA ONUR ÖZORHAN in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Engineering Department, Middle East Technical University by, Prof. Dr. Gülbin Dural Ünver _______________ Dean, Graduate School of Natural and Applied Sciences Prof. Dr. Adnan Yazıcı _______________ Head of Department, Computer Engineering Prof. Dr. İsmail Hakkı Toroslu _______________ Supervisor, Computer Engineering Department, METU Examining Committee Members: Prof. Dr. Tolga Can _______________ Computer Engineering Department, METU Prof. Dr. İsmail Hakkı Toroslu _______________ Computer Engineering Department, METU Assoc. Prof. Dr. Cem İyigün _______________ Industrial Engineering Department, METU Assoc. Prof. Dr. Tansel Özyer _______________ Computer Engineering Department, TOBB University of Economics and Technology Assist. Prof. Dr. Murat Özbayoğlu _______________ Computer Engineering Department, TOBB University of Economics and Technology Date: ___24.05.2017___ I hereby declare that all information in this document has been obtained and presented in accordance with academic rules and ethical conduct. I also declare that, as required by these rules and conduct, I have fully cited and referenced all material and results that are not original to this work. Name, Last name: MUSTAFA ONUR ÖZORHAN Signature: iv ABSTRACT FORECASTING DIRECTION OF EXCHANGE RATE FLUCTUATIONS WITH TWO DIMENSIONAL PATTERNS AND CURRENCY STRENGTH Özorhan, Mustafa Onur Ph.D., Department of Computer Engineering Supervisor: Prof. -
There's More to Volatility Than Volume
There's more to volatility than volume L¶aszl¶o Gillemot,1, 2 J. Doyne Farmer,1 and Fabrizio Lillo1, 3 1Santa Fe Institute, 1399 Hyde Park Road, Santa Fe, NM 87501 2Budapest University of Technology and Economics, H-1111 Budapest, Budafoki ut¶ 8, Hungary 3INFM-CNR Unita di Palermo and Dipartimento di Fisica e Tecnologie Relative, Universita di Palermo, Viale delle Scienze, I-90128 Palermo, Italy. It is widely believed that uctuations in transaction volume, as reected in the number of transactions and to a lesser extent their size, are the main cause of clus- tered volatility. Under this view bursts of rapid or slow price di®usion reect bursts of frequent or less frequent trading, which cause both clustered volatility and heavy tails in price returns. We investigate this hypothesis using tick by tick data from the New York and London Stock Exchanges and show that only a small fraction of volatility uctuations are explained in this manner. Clustered volatility is still very strong even if price changes are recorded on intervals in which the total transaction volume or number of transactions is held constant. In addition the distribution of price returns conditioned on volume or transaction frequency being held constant is similar to that in real time, making it clear that neither of these are the principal cause of heavy tails in price returns. We analyze recent results of Ane and Geman (2000) and Gabaix et al. (2003), and discuss the reasons why their conclusions di®er from ours. Based on a cross-sectional analysis we show that the long-memory of volatility is dominated by factors other than transaction frequency or total trading volume. -
The Strength of the Euro
DIRECTORATE GENERAL FOR INTERNAL POLICIES POLICY DEPARTMENT A: ECONOMIC AND SCIENTIFIC POLICY The strength of the Euro Monetary Dialogue 14 July 2014 COMPILATION OF NOTES Abstract The notes in this compilation discuss the challenges for ECB monetary policy stemming from the recent appreciation of the Euro in the context of a nascent euro area recovery. The notes have been requested by the Committee on Economic and Monetary Affairs (ECON) as an input for the July 2014 session of the Monetary Dialogue between the Members of ECON and the President of the ECB. IP/A/ECON/NT/2014-02 July 2014 PE 518.782 EN This document was requested by the European Parliament's Committee on Economic and Monetary Affairs. AUTHORS Daniel GROS, Cinzia ALCIDI, Alessandro GIOVANNINI (Centre for European Policy Studies) Stefan COLLIGNON, Sebastian DIESSNER (Scuola Superiore Sant'Anna, London School of Economics) Ansgar BELKE (University of Duisburg-Essen) Sylvester C.W. EIJFFINGER, Louis RAES (Tilburg University) Guillermo DE LA DEHESA (Centre for Economic Policy Research) RESPONSIBLE ADMINISTRATOR Dario PATERNOSTER EDITORIAL ASSISTANT Iveta OZOLINA LINGUISTIC VERSIONS Original: EN ABOUT THE EDITOR Policy departments provide in-house and external expertise to support EP committees and other parliamentary bodies in shaping legislation and exercising democratic scrutiny over EU internal policies. To contact the Policy Department or to subscribe to its newsletter please write to: Policy Department A: Economic and Scientific Policy European Parliament B-1047 Brussels E-mail: [email protected] Manuscript completed in July 2014 © European Union, 2014 This document is available on the internet at: http://www.europarl.europa.eu/committees/en/econ/monetary-dialogue.html DISCLAIMER The opinions expressed in this document are the sole responsibility of the authors and do not necessarily represent the official position of the European Parliament. -
Lecture 20: Technical Analysis Steven Skiena
Lecture 20: Technical Analysis Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794–4400 http://www.cs.sunysb.edu/∼skiena The Efficient Market Hypothesis The Efficient Market Hypothesis states that the price of a financial asset reflects all available public information available, and responds only to unexpected news. If so, prices are optimal estimates of investment value at all times. If so, it is impossible for investors to predict whether the price will move up or down. There are a variety of slightly different formulations of the Efficient Market Hypothesis (EMH). For example, suppose that prices are predictable but the function is too hard to compute efficiently. Implications of the Efficient Market Hypothesis EMH implies it is pointless to try to identify the best stock, but instead focus our efforts in constructing the highest return portfolio for our desired level of risk. EMH implies that technical analysis is meaningless, because past price movements are all public information. EMH’s distinction between public and non-public informa- tion explains why insider trading should be both profitable and illegal. Like any simple model of a complex phenomena, the EMH does not completely explain the behavior of stock prices. However, that it remains debated (although not completely believed) means it is worth our respect. Technical Analysis The term “technical analysis” covers a class of investment strategies analyzing patterns of past behavior for future predictions. Technical analysis of stock prices is based on the following assumptions (Edwards and Magee): • Market value is determined purely by supply and demand • Stock prices tend to move in trends that persist for long periods of time. -
The Option to Stock Volume Ratio and Future Returns$
Journal of Financial Economics 106 (2012) 262–286 Contents lists available at SciVerse ScienceDirect Journal of Financial Economics journal homepage: www.elsevier.com/locate/jfec The option to stock volume ratio and future returns$ Travis L. Johnson n, Eric C. So Stanford University, Graduate School of Business, 655 Knight Way Stanford, CA 94305, United States article info abstract Article history: We examine the information content of option and equity volumes when trade Received 15 November 2010 direction is unobserved. In a multimarket asymmetric information model, equity Received in revised form short-sale costs result in a negative relation between relative option volume and future 11 November 2011 firm value. In our empirical tests, firms in the lowest decile of the option to stock Accepted 28 November 2011 volume ratio (O/S) outperform the highest decile by 0.34% per week (19.3% annualized). Available online 17 May 2012 Our model and empirics both indicate that O/S is a stronger signal when short-sale costs JEL classification: are high or option leverage is low. O/S also predicts future firm-specific earnings news, G11 consistent with O/S reflecting private information. G12 & 2012 Elsevier B.V. All rights reserved. G13 G14 Keywords: Short-sale costs Options Trading volume Return predictability 1. Introduction creates additional incentives to generate private informa- tion. In this way, trades in derivative markets may provide In recent decades, the availability of derivative secu- more refined and precise signals of the underlying asset’s rities has rapidly expanded. This expansion is not limited value than trades of the asset itself. -
Technical Analysis: Technical Indicators
Chapter 2.3 Technical Analysis: Technical Indicators 0 TECHNICAL ANALYSIS: TECHNICAL INDICATORS Charts always have a story to tell. However, from time to time those charts may be speaking a language you do not understand and you may need some help from an interpreter. Technical indicators are the interpreters of the Forex market. They look at price information and translate it into simple, easy-to-read signals that can help you determine when to buy and when to sell a currency pair. Technical indicators are based on mathematical equations that produce a value that is then plotted on your chart. For example, a moving average calculates the average price of a currency pair in the past and plots a point on your chart. As your currency chart moves forward, the moving average plots new points based on the updated price information it has. Ultimately, the moving average gives you a smooth indication of which direction the currency pair is moving. 1 2 Each technical indicator provides unique information. You will find you will naturally gravitate toward specific technical indicators based on your TRENDING INDICATORS trading personality, but it is important to become familiar with all of the Trending indicators, as their name suggests, identify and follow the trend technical indicators at your disposal. of a currency pair. Forex traders make most of their money when currency pairs are trending. It is therefore crucial for you to be able to determine You should also be aware of the one weakness associated with technical when a currency pair is trending and when it is consolidating. -
A Linear Process Approach to Short-Term Trading Using the VIX Index As a Sentiment Indicator
Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 29 July 2021 Article A Linear Process Approach to Short-term Trading Using the VIX Index as a Sentiment Indicator Yawo Mamoua Kobara 1,‡ , Cemre Pehlivanoglu 2,‡* and Okechukwu Joshua Okigbo 3,‡ 1 Western University; [email protected] 2 Cidel Financial Services; [email protected] 3 WorldQuant University; [email protected] * Correspondence: [email protected] ‡ These authors contributed equally to this work. 1 Abstract: One of the key challenges of stock trading is the stock prices follow a random walk 2 process, which is a special case of a stochastic process, and are highly sensitive to new information. 3 A random walk process is difficult to predict in the short-term. Many linear process models that 4 are being used to predict financial time series are structural models that provide an important 5 decision boundary, albeit not adequately considering the correlation or causal effect of market 6 sentiment on stock prices. This research seeks to increase the predictive capability of linear process 7 models using the SPDR S&P 500 ETF (SPY) and the CBOE Volatility (VIX) Index as a proxy for 8 market sentiment. Three econometric models are considered to forecast SPY prices: (i) Auto 9 Regressive Integrated Moving Average (ARIMA), (ii) Generalized Auto Regressive Conditional 10 Heteroskedasticity (GARCH), and (iii) Vector Autoregression (VAR). These models are integrated 11 into two technical indicators, Bollinger Bands and Moving Average Convergence Divergence 12 (MACD), focusing on forecast performance. The profitability of various algorithmic trading 13 strategies are compared based on a combination of these two indicators. -
Trading Volume and Serial Correlation in Stock Returns
Trading Volume and Serial Correlation in Stock Returns The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citation Campbell, John Y., Sanford J. Grossman, and Jiang Wang. 1993. Trading volume and serial correlation in stock returns. Quarterly Journal of Economics 108, no. 4: 905-939. Published Version http://dx.doi.org/10.2307/2118454 Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:3128710 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Other Posted Material, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#LAA TRADING VOLUME AND SERIAL CORRELATION IN STOCK RETURNS* JOHN Y. CAMPBELL SANFORD J. GROSSMAN JIANG WANG This paper investigates the relationship between aggregate stock market trading volume and the serial correlation of daily stock returns. For both stock indexes and individual large stocks, the first-order daily return autocorrelation tends to decline with volume. The paper explains this phenomenon using a model in which risk-averse "market makers" accommodate buying or selling pressure from "liquidity" or "noninformational" traders. Changing expected stock returns re- ward market makers for playing this role. The model implies that a stock price decline on a high-volume day is more likely than a stock price decline on a low-volume day to be associated with an increase in the expected stock return. I. INTRODUCTION There is now considerable evidence that the expected return on the aggregate stock market varies through time.