Moving Averages, CrossOvers and the MACD

Similar documents
Quad EMA Strategy. by Admiral Markets Trading Camp

GUIDE TO STOCK trading tools

INTERMEDIATE EDUCATION GUIDE

TD AMERITRADE Technical Analysis Night School Week 2

BackTesting Report Presents The Official Study Guide For The Truth About MACD Video Series

Understanding Oscillators & Indicators March 4, Clarify, Simplify & Multiply

Notices and Disclaimer

Moving Average Convergence Divergence (MACD) by

Williams Percent Range

Chapter 2.3. Technical Analysis: Technical Indicators

TECHNICAL INDICATORS

Figure (1 ) + (1 ) 2 + = 2

The goal for Part One is to develop a common language that you and I

Technical Analysis Workshop Series. Session Ten Semester 2 Week 4 Oscillators Part 1

Using Oscillators & Indicators Properly May 7, Clarify, Simplify & Multiply

Technical Analysis and Charting Part II Having an education is one thing, being educated is another.

The Schaff Trend Cycle

INTRODUCTION TO OPTION PUTS SERIES 9

Convergence and Divergence

Real-time Analytics Methodology

Chapter 2.3. Technical Indicators

1 P a g e. Executive Summary

Advanced Trading Systems Collection MACD DIVERGENCE FOREX TRADING SYSTEM

Table of Contents. Risk Disclosure. Things we will be going over. 2 Most Common Chart Layouts Anatomy of a candlestick.

Profiting. with Indicators. By Jeff Drake with Ed Downs

Table Of Contents. Introduction. When You Should Not Use This Strategy. Setting Your Metatrader Charts. Free Template 15_Min_Trading.tpl.

Resistance remains in the SPX S/R zone, with a break out targeting 2170s.

RISK DISCLOSURE STATEMENT / DISCLAIMER AGREEMENT

Introductory Fundamental and Technical Analysis

Introduction 3. Charts: line, bar and candle 4. Critical price levels 6

Maybank IB. Understanding technical analysis. by Lee Cheng Hooi. 24 September Slide 1 of Maybank-IB

IVolatility.com E G A R O N E S e r v i c e

RISK DISCLOSURE STATEMENT / DISCLAIMER AGREEMENT

The Carlucci Indicator

OSCILLATORS. TradeSmart Education Center

Chapter 24 DIVERGENCE DECISIONS

Compiled by Timon Rossolimos

Top 10 BEST Forex Trading Strategies PDF Report Ebook Author

BUY SELL PRO. Improve Profitability & Reduce Risk with BUY SELL Pro. Ultimate BUY SELL Indicator for All Time Frames

Class 7: Moving Averages & Indicators. Quick Review

EZ Trade FOREX Day Trading System. by Beau Diamond

Momentum Trading. Explained

Introduction. Technical analysis is the attempt to forecast stock prices on the basis of market-derived data.

Introduction. Technicians (also known as quantitative analysts or chartists) usually look at price, volume and psychological indicators over time.

Raising Investment Standards TRADING SEMINAR

How I Trade Profitably Every Single Month without Fail

RELATIVE CURRENCY STRENGTH -ADDON-

Technical analysis & Charting The Foundation of technical analysis is the Chart.

FOREX INDICATORS. THEIR PRIORITY and USE

REPORT ON THE FINANCIAL EVALUATION:

The very first calculations for average gain and average loss are simple 14- period averages.

Strategies for the Simple Timing Indicator (STI) and MACD to Improve Investment Performance

The One Path Trading System. The foundation of the trading system is Supply and Demand and Support and Resistance.

Stock Market Basics Series

Intermediate-a? SPX2533

THE CYCLE TRADING PATTERN MANUAL

IVGraph Live Service Contents

The Technical Edge Page 1. The Technical Edge. Part 1. Indicator types: price, volume, and moving averages and momentum

Tradeonix 2.0. (An Updated Version Of Tradeonix) By Russ Horn

RISK DISCLOSURE STATEMENT / DISCLAIMER AGREEMENT

Fast Track Stochastic:

1 P a g e. Executive Summary

Find Elusive MACD Divergences Easily

1. Introduction 2. Chart Basics 3. Trend Lines 4. Indicators 5. Putting It All Together


Market Observations as of Nov 17, 2017

Presents FOREX ALPHA CODE


Technical Analysis. Dealing Room Peter Leonidou. Peter Leonidou

4 Keys to Trend Trading Tech Analysis. There is no Holy Grail of Trading Only Tools & Rules

Stay on the Right Side & Finishing the Year Strong! From the Active Trend Trader

Russ Horn Presents. Forex Money Bounce

Technical Analysis for Options Trading. Fidelity Brokerage Services LLC, Member NYSE, SIPC, 900 Salem Street, Smithfield, RI

Technical Indicators

Measuring abnormal returns on day trading - use of technical analysis. By Rui Ma

Bulkowski s Trading Quiz

Trading Financial Market s Fractal behaviour

Presents. Forex Profit Boost

BY JIM PRINCE

What Would It Take to Trigger a Secular Reversal in Bond Yields?

What is Technical Analysis

Chris Capre, Founder - Second Skies

Our aim at S.T.I. is to make Technical Analysis as simple and uncomplicated as possible.

Forexsignal30 Extreme ver. 2 Tutorials

FOREX PROFITABILITY CODE

Compass FX

JOURNAL INTRODUCING THE HPO ROBERT KRAUSZ'S. Volume 2, Issue 2. ear Trader,

In here, you will learn the trading rules on how to use trade teh 200 exponential moving average with the Awesome Oscillator Indicator.

Trading the Hidden Divergence. Presented by Sunil Mangwani

BONUS. www. candlecharts.com/special/swing-trading-2/

.. /-!"::- '..- ( \.- - '-/../ '

Icoachtrader Consulting Service WELCOME TO. Trading Boot Camp. Day 5

Technical Indicators that Really Work

Forex Sentiment Report Q2 FORECAST WEAK AS LONG AS BELOW April

EJ_4H Method Part III

Binary Options Trading Strategies How to Become a Successful Trader?

1 P a g e. Executive Summary

MULTI-TIMEFRAME TREND TRADING

SuperADX. Written on: October 11 th 2009

Analysis and Trading with Bill Williams Indicators (Bill Williams Indicators) Bill M. Williams, a leader in the self-education of investors first

Transcription:

Moving Averages, CrossOvers and the MACD October 14, 2017 Introduction: Moving averages are the most widely used indicators in technical analysis, and help smoothing out short-term fluctuations (or volatility) in order to highlight a longer-term trend. Traders classically use the past daily (or intraday) prices to compute their time series, applying different variations of moving averages. We are going to look at the two popular ones: the Simple and Exponential Moving Averages. 1 Simple Moving Average (SMA) The SMA is an arithmetic moving average that is calculated usually taking the closing prices p t as a time series. It has only one parameter n, which is the number of periods, and is computed as the following: SMA t = 1 n 1 p t i (1) n You can implement a basic trading strategy where you would go long if current spot rate of a currency pair is above its SMA and short if it is below. However, I don t trade on those signals, and I prefer to look at the SMA lines as resistance or support in order to set up my entry levels, stops and exit levels. For instance, the popular SMA is the 200-day moving average. Figure 1 shows the daily USD/EUR spot rates over the past 2 years with its 200-day SMA in red. I highlighted a few moments when we saw a technical rebound after the currency pair was flirting with its long-term moving average. These opportunities can be interesting for a ST intraday trader who assumes that currency pairs usually experience a short-term consolidation when they hit their 200 SMA. i=0 1

Figure 1: USD/EUR spot rate and the 200-day SMA 2 Exponential Moving Average (EMA) In contrast to a simple moving average, the EMA adds more weight to the latest data and therefore reacts faster to price changes. The EMA has one parameter (number of periods n) and is computed in two steps. There are different ways of computing the EMA, but here are the calculations I used in my Excel file. The general formulation of the EMA is expressed as the following: EMA t = p t multiplier + EMA t 1 (1 multiplier) (2) where p t corresponds to the [closing] price observed at time t and multiplier (we called it Smoothing Constant in our VBA macro) is the weighting multiplier, which is computed as the following: multiplier = 2 n + 1 As we can notice in equation (2), the EMA computation at time t depends on the EMA value at time t-1, hence the question that we should ask immediately is: How do we compute the first term EMA 0? Again, there are several ways to solve this, for instance some people set the first term at zero (EMA 0 = 0), but I just take the previous [closing] price to compute the first term instead of the previous EMA: EMA 0 = p t multiplier + p t 1 (1 multiplier)(4) (3) 2

We now have all the elements to compute some trend-following strategies using those moving averages. The first popular one is called CrossOvers, and use two moving averages (simple, exponential or mixed) to set up the signals. The second is the MACD (Moving Average Convergence Divergence) oscillator, developed in the late 1970s by Gerald Appel, which uses a combination of EMA. 3 Crossovers In this strategy, traders build a trading signal based on moving average crossovers, by taking a long position if the shorter (faster) moving average is above the longer (slower) moving average, and a short position if the shorter moving average is below the longer moving average. In equities, the famous terms Golden Cross and Death Cross result from crossovers of the 50 SMA and the 200 SMA. As you can imagine, Death Cross is when the 50 SMA crosses the 200 SMA to the downside, signaling a potential long-term bear market. In the FX market, we know that momentum strategies work using short-term developments, hence the popular crossovers are the 5 and 20 (day) SMA or EMA. If we apply the 5-20 EMA crossover strategy to the USD/AUD using daily spot rates from August 4 th 2015 to July 3 rd 2017, we get a Sharpe ratio of 1.45, much higher than the 0.23 of (just) being long USD/AUD: Table 1: Annualized Perf. and Ratios for EMA(5,20) Perf. Benchmark L/S Portfolio Excess ret. (%) 2.39 14.72 Volatility (%) 10.48 10.17 SR 0.23 1.45 The equity curve also looks interesting (Figure 2); even though the Aussie Dollar has been trading within a 10-cent range against the greenback over the past couple of years (AUDUSD trading between $0.70 and $0.80), the EMA(5,20) managed to capture short-term developments, especially for the past year. 3

Figure 2: L/S Portfolio using EMA(5,20) as signal 4 MACD: Moving Average Convergence Divergence Different trading signals can be built from the MACD, but the main trading strategy is to capture short-term momentum in periods of volatile markets (The MACD should not be used in ranging markets). The traditional MACD is computed in two steps using exponential moving averages. First, we compute the difference between the fast (12 periods) and slow (26 periods) EMA of the [closing] prices: MACD t (12, 26) = EMA t (12) EMA t (26) (5) Then, we compute the signal line by taking the 9-day EMA of the MACD: Signal t = EMA(9, MACD t ) (6) One basic signal that we can built using the data we have is to look at the MACD Histogram (Also called the MACD Forest), which is the difference between the MACD Line and the Signal Line: MACDF orest t = MACD t (12, 26) Signal t (7) The strategy then consist in taking a long position when the MACD Forest is positive, and a short position when the MACD Forest is negative. The MACD Forest (of USD/AUD) is represented in green (histograms) in the sub-chart of Figure 3. 4

Figure 3: USD/AUD and the MACD Forest As you can see, if the MACD Forest is oscillating around zero (red line in Figure 3), the volalitity on the currency pair USD/AUD is low and therefore the signals are unreliable. In addition, if we backtest the strategy in our Excel File, we can see that the returns are pretty poor (3.69% annualized) for a Sharpe ratio of 0.37. Therefore, a more profitable strategy using the MACD trading signal consist in looking at large swings in the MACD and Signal lines. In that case, we are going to look at the MACD and Signal lines instead of the MACD Forest. Figure 4 represents the USD/AUD on the top chart and the MACD and Signal Lines on the botom chart. We used green arrows for entry levels (i.e. long position) and red arrows for exit levels (i.e. liquidate our long position). The orange line (of the sub-chart) represents the MACD line and the blue line the Signal line. As you can see, we take a long position if the MACD line crosses the Signal line to the upside if and only if the two lines are diverging far below the zero horizontal line. In the other hand, there are two different ways of exiting the trade: the first one is if the MACD Line crosses the Signal line to the downside if the two lines are [well] above the zero line, or the second one is if the MACD and Signal lines start to trade around the zero line (the one that I circled on Figure 4). IF the two lines are oscillating around the zero line, it means that the volatility is low and that you should get out of the trade for the moment and potentially do some range trading. This strategy is more discretionary and relies on the conviction of each specific trader, hence I did not program it in the excel file. 5

Figure 4: USD/AUD and the MACD Swing Lines 6