SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 1 of 14



                       best free news updates on market timing trading systems methods money management

                                www.robertwcolby.com
                              Technical Market Indicators
                        best free news updates on market timing trading systems methods money management




      Exponential Moving Average (EMA)
      Exponential Smoothing

      The following is an abbreviated excerpt from our all new,
      completely revised, 820-page research book,
      Colby, Robert W.,
      The Encyclopedia of Technical Market Indicators, Second Edition,
      McGraw-Hill Publishing, 2003 (click here for a description).

      The Exponential Moving Average (EMA) is the best of the moving average
      techniques, and it is increasingly preferred by technical analysts over other moving
      average methods. Behaviorally, in its responsiveness to new data being generated by
      the markets, the EMA represents an excellent compromise between the overly
      sensitive weighted moving average and the overly sluggish simple moving averages.
      Compared to other averaging techniques, the EMA follows the trend of the current
      data smoothly and seamlessly, minimizing jumps, wiggles, and lags.

      Computationally, the EMA is the simplest and most streamlined of all moving
      average techniques. The EMA requires the fewest calculations, the least data
      handling, and the least data history. The EMA requires numerical values for only two
      data periods: the most recently available raw data and the immediate past period’s
      EMA. For example, working with daily data, we need only today’s observed,
      unprocessed data and yesterday’s EMA in order to calculate today’s EMA. Thus, the
      EMA eliminates the need to keep and handle long lists of historical data.

      A significant advantage of this superior computational method is that the EMA is
      never distorted by old data suddenly dropping out of the calculation. Old data is
      never suddenly dropped because it is not actually part of the calculation. For
      practical purposes, the effect of past data fades away gradually due to the ever
      decreasing weighting of yesterday’s EMA. The EMA’s method of calculation
      correctly avoids the problem of erratic current movement caused solely by irrelevant
      and obsolete data dropping out of the calculation.

      An Exponential Moving Average is calculated as follows:

      EMA = (C - Ep)K + Ep

      where

      EMA = the Exponential Moving Average for the current period.
      C = the closing price for the current period.




http://www.robertwcolby.com/EMAreport.html                                                                 10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 2 of 14



      Ep = the Exponential Moving Average for the previous period.
      K = the exponential smoothing constant, equal to 2 / (n+1).
      n = the total number of periods in a simple moving average
      to be roughly approximated by the EMA.

      The exponential smoothing constant formula, K = 2/(n+1), allows an approximate
      comparison of any EMA to the more sluggish Simple Moving Average of length n.
      As the number of days n increases, the value of K grows ever smaller, and the EMA
      becomes increasingly less sensitive to the newer data.

      [Our table for converting from simple n days to exponential smoothing constants (K),
      and back, can be seen on page 262 of the book.]

      When first starting a new EMA, it takes approximately n days of calculations for an
      accurate reading. For a quick startup of a EMA, on the first day of calculation we
      may use a n-day simple moving average to approximate the previous day’s EMA
      (Ep) in the formula, EMA = (C - Ep)K + Ep. After that first day, we will never need
      any data other than yesterday’s EMA and today’s fresh data to maintain our EMA.

      [Our table illustrating how to compute an EMA of four periods, which is also known
      as a 40% EMA, named for the exponential smoothing constant, K, can be seen on
      page 263 of the book.]

      Indicator Strategy Examples for Exponential Moving Average (EMA) Crossover

      Based on the daily closing prices for the Dow-Jones Industrial Average from 1900 to
      2001, Exponential Moving Average Crossover Strategies of all lengths from 1 day to
      300 days would have been profitable and would have beaten the passive buy-and-
      hold-strategy by at least 69%.

      The five-, three- and two-day EMA would have produced maximum net profits in
      excess of six billion dollars, assuming we start with one hundred dollars in 1900. All
      EMA period lengths of 1 to 20 days would have produced net profits in excess of ten
      million dollars, and all 20 lengths would have outperformed buy-and-hold by more
      than 540 to one.

      The 5-Day Exponential Moving Average (EMA) crossover is the best simple trend-
      following indicator we tested against daily DJIA daily closing data from 1900 to
      2001. Starting with $100 and reinvesting profits, total net profits for this 5-day EMA
      Crossover Strategy would have been $16 billion, assuming a fully-invested strategy,
      reinvestment of profits, no transactions costs and no taxes. This would have been 78
      million percent better than buy-and-hold. Short selling would have been profitable.
      Trading frequency would have been hyperactive with one trade every 5.88 calendar
      days. There would have been 2417 profitable trades and 3889 losing trades, for a
      winning percentage of only 38.33% profitable. [Our Equity graph and Equis
      MetaStock® "System Report" (profit and loss summary statistics) table can be seen
      on page 268 and 269 of the book.]




http://www.robertwcolby.com/EMAreport.html                                             10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 3 of 14




      All EMA period lengths of 1 to 60 days would have produced net profits in excess of
      one million dollars, and all 60 lengths would have outperformed buy-and-hold by
      more than 64 to one. Of the "intermediate-term" lengths, the 44-day EMA would
      have produced the best results, net profit of $3,251,721, which would have been
      more than 162 times the buy-and-hold-strategy’s $20,105.

      Performance deteriorated as the moving average period length increased. The
      popular 200-day EMA Crossover Strategy would have produced much less profit of
      $109,158, which would have been only 5.4 times the buy-and-hold-strategy’s
      $20,105 net profit.

      Of the "long-term" EMA period lengths of 150 days or more, the 171-day EMA
      Crossover Strategy would have produced the maximum profit on a purely
      mechanical trend-following signal basis with no subjectivity, no sophisticated
      technical analysis, and no judgement.

      Of all the EMA period lengths in excess of 100 days, the 120-day EMA Crossover
      Strategy would have produced the maximum profit. Starting with $100 and
      reinvesting profits, total net profits for this 120-day EMA Crossover Strategy would
      have been $508,772.91, assuming a fully-invested strategy, reinvestment of profits,
      no transactions costs and no taxes. This would have been 2,430.53 percent better
      than buy-and-hold. Short selling would have been profitable, but not since the Crash
      of ‘87. Trading frequency would have been moderate with one trade every 33.57
      calendar days. There would have been 240 profitable trades and 862 losing trades,
      for a winning percentage of only 21.78% profitable. But because this trend-following
      strategy cuts losses and lets profits run, it makes money despite being wrong on most
      of its signals. This is typical of the longer-term trend-following strategies. Such a
      strategy may be used alone, and it also can be useful as a filter to other trading
      systems. [Our Equity graph and Equis MetaStock® "System Report" (profit and loss
      summary statistics) table can be seen on page 266 and 267 of the book.]

      Trading Rules for EMA Crossover Strategy

      Enter Long (Buy) at the current daily price close of the Dow-Jones Industrial
      Average when this close is greater than the previous day’s 120-day exponential
      moving average of the daily closing prices.

      Close Long (Sell) at the current daily price close of the Dow-Jones Industrial
      Average when this close is less than the previous day’s 120-day exponential moving
      average of the daily closing prices.

      Enter Short (Sell Short) at the current daily price close of the Dow-Jones Industrial
      Average when this close is less than the previous day’s 120-day exponential moving
      average of the daily closing prices.

      Close Short (Cover) at the current daily price close of the Dow-Jones Industrial




http://www.robertwcolby.com/EMAreport.html                                               10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 4 of 14



      Average when this close is greater than the previous day’s 120-day exponential
      moving average of the daily closing prices.

      The Equis International MetaStock® System Testing rules are written as follows:

      Enter long: CLOSE > Ref(Mov(CLOSE,opt1,E),-1)
      Close long: CLOSE < Ref(Mov(CLOSE,opt1,E),-1)
      Enter short: CLOSE < Ref(Mov(CLOSE,opt1,E),-1)
      Close short: CLOSE > Ref(Mov(CLOSE,opt1,E),-1)

      where the number of days used for opt1 EMA can be allowed to vary from 1 day to
      300 days, by a step size of 1 day.
      ...

      The following material is not included in my book.
      ...

      The TradeStation ™ Easy Language Code is written as follows:

      { Strategy #XA1, Easy Language Code for
      Evolving Exponential Moving Average Crossover Strategy
      with One Input Length
      Copyright © 2000 by Robert W. Colby. All rights reserved. }

      Inputs: N(1), ShowText(False), Length(200);
      Variables: Number(1); Number=(100000/Close[1])*(100000+NetProfit)/100000;
      IF BarNumber > 1 Then Begin


      If Close Crosses Above XAverage(Close,Length)[1]
      Then Buy Number of Shares This Bar on Close;


      If Close Crosses Below XAverage(Close,Length)[1]
      Then Sell Number of Shares This Bar on Close;


      IncludeSystem: "LastDay"; End
      ...

      Settings for TradeStation Easy Language Code:
      start with Initial Capital of $100,000;
      invest $100,000 Per Transaction;
      allow $15 for commission per transaction;
      execute this bar market on close; and
      load 80 years of daily data from Historybank.com for the Dow-Jones Industrial
      Average (INDU).




http://www.robertwcolby.com/EMAreport.html                                             10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 5 of 14



      We set Maximum Bars Back for 2, because that is all we need to calculate
      exponential smoothings, which are also known as exponential moving averages, and
      the Easy Language name is Xaverage. No matter how large our value for the
      XAverage, Omega Research TradeStation software needs only 2 bars to calculate any
      Xaverage. Therefore, we simply click continue to bypass the warning dialog that tells
      us our input value for our XAverage exceeds Maximum Bars Back.

      Net Profit for Strategy Optimization using TradeStation:
      In testing I conducted in year 2000 using TradeStation, which is not shown in my
      book, I again found that the EMA Crossover Strategy results were consistently
      profitable, although not as profitable as my test using MetaStock. Variations in
      results obviously were caused by differences in the date ranges loaded, the initial
      software settings, transactions costs ($0 for MetaStock versus $15 for TradeStation),
      and reinvestment rules (100% of profits reinvested for MetaStock versus a limit of
      $100,000 Per Transaction for TradeStation) used with the two different software
      programs. I used TradeStation with daily data from the Omega Research
      HISTORYBANK.COM Financial Database CD for the Dow-Jones Industrial
      Average (INDU) over the 80 years from 1920 to 2000, sampling daily closing prices
      only. With MetaStock, I used an entirely different database sampling daily closing
      prices over 101 years from 1900 to 2001. All these differences obviously add up to
      substantial differences in the end results.

      I tested all XAverages from 50 to 3000 days, with an increment of 50 days. A Net
      Profit graph (not shown here) showed that the profits of the EMA Crossover Strategy
      (which I named #XA1) were robust, with all tested lengths profitable.

      The best Net Profits were found at the shorter lengths, 200 days and below. Further
      fine tuning revealed that a length of just 2 days produced the highest Net Profit of
      $816 million on an original $100,000 investment.

      Trading for the 2-day length would have been very active: 7011 trades, one trade
      every four calendar days on average, given 28,734 calendar days. Of these 7011
      trades, 2836 or 40.45% would have been profitable, a fairly typical winning
      percentage for trend following strategies.

      With trading this active, the strategy is highly dependent on low transactions costs,
      that is, low commissions and slippage. Fortunately, low transactions costs are widely
      available through a large number of highly competitive deep discount online brokers.


      Long trades would have made 91% of the profit, and shorts would have made 9%.
      This result reflects the strong long-term price uptrend over the period studied.

      The annual rate of return would have been 12.12%, the Profit Factor would have
      been 1.41, and the Return on Account would have been 1365.06%, or 17.28%
      annually.




http://www.robertwcolby.com/EMAreport.html                                            10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 6 of 14



      Of course, all these numbers are from an optimization run, so we would expect lesser
      results in actual trading, which is seldom optimal. Nevertheless, these studies do
      offer encouragement for your further research, which also should include extensive
      walk-forward simulation. (See my book, pages 10-26.)
      ...

      The EMA Crossover Strategy is one of many technical momentum strategies
      included in my book.
      ...

      “The majority of the newsletters at the top of the Hulbert Financial Digest's rankings
      for long-term performance are those that, in one way or another, employ momentum
      strategies. Momentum strategies work because the markets detect trends before they
      are widely known among the investment public. We only discover in hindsight what
      is causing a move.” -- Mark Hulbert
      ...

      CFTC Rule 4.41: Hypothetical or simulated performance results have certain
      limitations. Unlike an actual performance record, simulated results do not represent
      actual trading. Also, since the trades have not been executed, the results may have
      under- or-over compensated for the impact, if any, of certain market factors, such as
      lack of liquidity. Simulated trading programs in general are also subject to the fact
      that they are designed with the benefit of hindsight. No representation is being made
      that any account will or is likely to achieve profit or losses similar to those shown.

      Copyright © 2000-2008 by www.robertwcolby.com. All rights reserved.

      Except as permitted under the United States Copyright act of 1976, no part of this
      publication may be reproduced or distributed in any form or by any means, or stored
      in a data base or retrieval system, without the prior written permission of the
      publisher.

      Trading and investing involve risk of significant loss. Your use of this site means that
      you have read, understood, and accepted our Disclaimer.

      return to home page: www.robertwcolby.com




http://www.robertwcolby.com/EMAreport.html                                              10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 7 of 14




http://www.robertwcolby.com/EMAreport.html                                          10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 8 of 14




http://www.robertwcolby.com/EMAreport.html                                          10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 9 of 14




http://www.robertwcolby.com/EMAreport.html                                          10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indica... Page 10 of 14




http://www.robertwcolby.com/EMAreport.html                                         10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indica... Page 11 of 14




http://www.robertwcolby.com/EMAreport.html                                         10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indica... Page 12 of 14




http://www.robertwcolby.com/EMAreport.html                                         10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indica... Page 13 of 14




http://www.robertwcolby.com/EMAreport.html                                         10/27/2008
EMA report FREE PREVIEW best top-performing market timing method model indica... Page 14 of 14




http://www.robertwcolby.com/EMAreport.html                                         10/27/2008

Contenu connexe

En vedette

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Http Www Robertwcolby Com Em Areport

  • 1. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 1 of 14 best free news updates on market timing trading systems methods money management www.robertwcolby.com Technical Market Indicators best free news updates on market timing trading systems methods money management Exponential Moving Average (EMA) Exponential Smoothing The following is an abbreviated excerpt from our all new, completely revised, 820-page research book, Colby, Robert W., The Encyclopedia of Technical Market Indicators, Second Edition, McGraw-Hill Publishing, 2003 (click here for a description). The Exponential Moving Average (EMA) is the best of the moving average techniques, and it is increasingly preferred by technical analysts over other moving average methods. Behaviorally, in its responsiveness to new data being generated by the markets, the EMA represents an excellent compromise between the overly sensitive weighted moving average and the overly sluggish simple moving averages. Compared to other averaging techniques, the EMA follows the trend of the current data smoothly and seamlessly, minimizing jumps, wiggles, and lags. Computationally, the EMA is the simplest and most streamlined of all moving average techniques. The EMA requires the fewest calculations, the least data handling, and the least data history. The EMA requires numerical values for only two data periods: the most recently available raw data and the immediate past period’s EMA. For example, working with daily data, we need only today’s observed, unprocessed data and yesterday’s EMA in order to calculate today’s EMA. Thus, the EMA eliminates the need to keep and handle long lists of historical data. A significant advantage of this superior computational method is that the EMA is never distorted by old data suddenly dropping out of the calculation. Old data is never suddenly dropped because it is not actually part of the calculation. For practical purposes, the effect of past data fades away gradually due to the ever decreasing weighting of yesterday’s EMA. The EMA’s method of calculation correctly avoids the problem of erratic current movement caused solely by irrelevant and obsolete data dropping out of the calculation. An Exponential Moving Average is calculated as follows: EMA = (C - Ep)K + Ep where EMA = the Exponential Moving Average for the current period. C = the closing price for the current period. http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 2. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 2 of 14 Ep = the Exponential Moving Average for the previous period. K = the exponential smoothing constant, equal to 2 / (n+1). n = the total number of periods in a simple moving average to be roughly approximated by the EMA. The exponential smoothing constant formula, K = 2/(n+1), allows an approximate comparison of any EMA to the more sluggish Simple Moving Average of length n. As the number of days n increases, the value of K grows ever smaller, and the EMA becomes increasingly less sensitive to the newer data. [Our table for converting from simple n days to exponential smoothing constants (K), and back, can be seen on page 262 of the book.] When first starting a new EMA, it takes approximately n days of calculations for an accurate reading. For a quick startup of a EMA, on the first day of calculation we may use a n-day simple moving average to approximate the previous day’s EMA (Ep) in the formula, EMA = (C - Ep)K + Ep. After that first day, we will never need any data other than yesterday’s EMA and today’s fresh data to maintain our EMA. [Our table illustrating how to compute an EMA of four periods, which is also known as a 40% EMA, named for the exponential smoothing constant, K, can be seen on page 263 of the book.] Indicator Strategy Examples for Exponential Moving Average (EMA) Crossover Based on the daily closing prices for the Dow-Jones Industrial Average from 1900 to 2001, Exponential Moving Average Crossover Strategies of all lengths from 1 day to 300 days would have been profitable and would have beaten the passive buy-and- hold-strategy by at least 69%. The five-, three- and two-day EMA would have produced maximum net profits in excess of six billion dollars, assuming we start with one hundred dollars in 1900. All EMA period lengths of 1 to 20 days would have produced net profits in excess of ten million dollars, and all 20 lengths would have outperformed buy-and-hold by more than 540 to one. The 5-Day Exponential Moving Average (EMA) crossover is the best simple trend- following indicator we tested against daily DJIA daily closing data from 1900 to 2001. Starting with $100 and reinvesting profits, total net profits for this 5-day EMA Crossover Strategy would have been $16 billion, assuming a fully-invested strategy, reinvestment of profits, no transactions costs and no taxes. This would have been 78 million percent better than buy-and-hold. Short selling would have been profitable. Trading frequency would have been hyperactive with one trade every 5.88 calendar days. There would have been 2417 profitable trades and 3889 losing trades, for a winning percentage of only 38.33% profitable. [Our Equity graph and Equis MetaStock® "System Report" (profit and loss summary statistics) table can be seen on page 268 and 269 of the book.] http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 3. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 3 of 14 All EMA period lengths of 1 to 60 days would have produced net profits in excess of one million dollars, and all 60 lengths would have outperformed buy-and-hold by more than 64 to one. Of the "intermediate-term" lengths, the 44-day EMA would have produced the best results, net profit of $3,251,721, which would have been more than 162 times the buy-and-hold-strategy’s $20,105. Performance deteriorated as the moving average period length increased. The popular 200-day EMA Crossover Strategy would have produced much less profit of $109,158, which would have been only 5.4 times the buy-and-hold-strategy’s $20,105 net profit. Of the "long-term" EMA period lengths of 150 days or more, the 171-day EMA Crossover Strategy would have produced the maximum profit on a purely mechanical trend-following signal basis with no subjectivity, no sophisticated technical analysis, and no judgement. Of all the EMA period lengths in excess of 100 days, the 120-day EMA Crossover Strategy would have produced the maximum profit. Starting with $100 and reinvesting profits, total net profits for this 120-day EMA Crossover Strategy would have been $508,772.91, assuming a fully-invested strategy, reinvestment of profits, no transactions costs and no taxes. This would have been 2,430.53 percent better than buy-and-hold. Short selling would have been profitable, but not since the Crash of ‘87. Trading frequency would have been moderate with one trade every 33.57 calendar days. There would have been 240 profitable trades and 862 losing trades, for a winning percentage of only 21.78% profitable. But because this trend-following strategy cuts losses and lets profits run, it makes money despite being wrong on most of its signals. This is typical of the longer-term trend-following strategies. Such a strategy may be used alone, and it also can be useful as a filter to other trading systems. [Our Equity graph and Equis MetaStock® "System Report" (profit and loss summary statistics) table can be seen on page 266 and 267 of the book.] Trading Rules for EMA Crossover Strategy Enter Long (Buy) at the current daily price close of the Dow-Jones Industrial Average when this close is greater than the previous day’s 120-day exponential moving average of the daily closing prices. Close Long (Sell) at the current daily price close of the Dow-Jones Industrial Average when this close is less than the previous day’s 120-day exponential moving average of the daily closing prices. Enter Short (Sell Short) at the current daily price close of the Dow-Jones Industrial Average when this close is less than the previous day’s 120-day exponential moving average of the daily closing prices. Close Short (Cover) at the current daily price close of the Dow-Jones Industrial http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 4. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 4 of 14 Average when this close is greater than the previous day’s 120-day exponential moving average of the daily closing prices. The Equis International MetaStock® System Testing rules are written as follows: Enter long: CLOSE > Ref(Mov(CLOSE,opt1,E),-1) Close long: CLOSE < Ref(Mov(CLOSE,opt1,E),-1) Enter short: CLOSE < Ref(Mov(CLOSE,opt1,E),-1) Close short: CLOSE > Ref(Mov(CLOSE,opt1,E),-1) where the number of days used for opt1 EMA can be allowed to vary from 1 day to 300 days, by a step size of 1 day. ... The following material is not included in my book. ... The TradeStation ™ Easy Language Code is written as follows: { Strategy #XA1, Easy Language Code for Evolving Exponential Moving Average Crossover Strategy with One Input Length Copyright © 2000 by Robert W. Colby. All rights reserved. } Inputs: N(1), ShowText(False), Length(200); Variables: Number(1); Number=(100000/Close[1])*(100000+NetProfit)/100000; IF BarNumber > 1 Then Begin If Close Crosses Above XAverage(Close,Length)[1] Then Buy Number of Shares This Bar on Close; If Close Crosses Below XAverage(Close,Length)[1] Then Sell Number of Shares This Bar on Close; IncludeSystem: "LastDay"; End ... Settings for TradeStation Easy Language Code: start with Initial Capital of $100,000; invest $100,000 Per Transaction; allow $15 for commission per transaction; execute this bar market on close; and load 80 years of daily data from Historybank.com for the Dow-Jones Industrial Average (INDU). http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 5. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 5 of 14 We set Maximum Bars Back for 2, because that is all we need to calculate exponential smoothings, which are also known as exponential moving averages, and the Easy Language name is Xaverage. No matter how large our value for the XAverage, Omega Research TradeStation software needs only 2 bars to calculate any Xaverage. Therefore, we simply click continue to bypass the warning dialog that tells us our input value for our XAverage exceeds Maximum Bars Back. Net Profit for Strategy Optimization using TradeStation: In testing I conducted in year 2000 using TradeStation, which is not shown in my book, I again found that the EMA Crossover Strategy results were consistently profitable, although not as profitable as my test using MetaStock. Variations in results obviously were caused by differences in the date ranges loaded, the initial software settings, transactions costs ($0 for MetaStock versus $15 for TradeStation), and reinvestment rules (100% of profits reinvested for MetaStock versus a limit of $100,000 Per Transaction for TradeStation) used with the two different software programs. I used TradeStation with daily data from the Omega Research HISTORYBANK.COM Financial Database CD for the Dow-Jones Industrial Average (INDU) over the 80 years from 1920 to 2000, sampling daily closing prices only. With MetaStock, I used an entirely different database sampling daily closing prices over 101 years from 1900 to 2001. All these differences obviously add up to substantial differences in the end results. I tested all XAverages from 50 to 3000 days, with an increment of 50 days. A Net Profit graph (not shown here) showed that the profits of the EMA Crossover Strategy (which I named #XA1) were robust, with all tested lengths profitable. The best Net Profits were found at the shorter lengths, 200 days and below. Further fine tuning revealed that a length of just 2 days produced the highest Net Profit of $816 million on an original $100,000 investment. Trading for the 2-day length would have been very active: 7011 trades, one trade every four calendar days on average, given 28,734 calendar days. Of these 7011 trades, 2836 or 40.45% would have been profitable, a fairly typical winning percentage for trend following strategies. With trading this active, the strategy is highly dependent on low transactions costs, that is, low commissions and slippage. Fortunately, low transactions costs are widely available through a large number of highly competitive deep discount online brokers. Long trades would have made 91% of the profit, and shorts would have made 9%. This result reflects the strong long-term price uptrend over the period studied. The annual rate of return would have been 12.12%, the Profit Factor would have been 1.41, and the Return on Account would have been 1365.06%, or 17.28% annually. http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 6. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 6 of 14 Of course, all these numbers are from an optimization run, so we would expect lesser results in actual trading, which is seldom optimal. Nevertheless, these studies do offer encouragement for your further research, which also should include extensive walk-forward simulation. (See my book, pages 10-26.) ... The EMA Crossover Strategy is one of many technical momentum strategies included in my book. ... “The majority of the newsletters at the top of the Hulbert Financial Digest's rankings for long-term performance are those that, in one way or another, employ momentum strategies. Momentum strategies work because the markets detect trends before they are widely known among the investment public. We only discover in hindsight what is causing a move.” -- Mark Hulbert ... CFTC Rule 4.41: Hypothetical or simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under- or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown. Copyright © 2000-2008 by www.robertwcolby.com. All rights reserved. Except as permitted under the United States Copyright act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a data base or retrieval system, without the prior written permission of the publisher. Trading and investing involve risk of significant loss. Your use of this site means that you have read, understood, and accepted our Disclaimer. return to home page: www.robertwcolby.com http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 7. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 7 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 8. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 8 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 9. EMA report FREE PREVIEW best top-performing market timing method model indicato... Page 9 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 10. EMA report FREE PREVIEW best top-performing market timing method model indica... Page 10 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 11. EMA report FREE PREVIEW best top-performing market timing method model indica... Page 11 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 12. EMA report FREE PREVIEW best top-performing market timing method model indica... Page 12 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 13. EMA report FREE PREVIEW best top-performing market timing method model indica... Page 13 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008
  • 14. EMA report FREE PREVIEW best top-performing market timing method model indica... Page 14 of 14 http://www.robertwcolby.com/EMAreport.html 10/27/2008