

^{.}
A Test To Find The Best Moving Average Sell Strategy
By Dr. Winton Felt
In order to develop or refine our trading systems and algorithms, our traders often conduct experiments, tests, optimizations, and so on. We have tested several sell strategies and are now sharing some of those findings. R. Donchian, popularized the system in which a sale occurs if the 5day moving average crosses below the 20day moving average. R.C. Allen popularized the system in which a sale occurs if the 9day moving average crosses below the 18day moving average. Some traders feel they give up less of the gains they achieve if they use a shorter long moving average. These people prefer to sell if the 5day moving average crosses below the 10day moving average. Traders have used variations on these ideas (some touting the benefits of one variation and others touting the benefits of another). One trader told us about the crossover of the 7day and 13day exponential moving averages. Because that system appeared to have some merit, it was included in the tests for comparison purposes. The strategies covered in this particular series of tests included all dual systems in which the shorter moving average was between 4 days and 50 days and the longer moving average was between the short moving average in length and 200 days. Here we report on some of the most popular systems and on variations of those systems.
 Sell if the stock’s simple 9day moving average crosses below its simple 18day moving average,
 Sell if the stock’s simple 10day moving average crosses below its simple 18day moving average,
 Sell if the stock’s simple 10day moving average crosses below its simple 19day moving average,
 Sell if the stock’s simple 9day moving average crosses below its simple 19day moving average,
 Sell if the stock’s simple 9day moving average crosses below its simple 20day moving average,
 Sell if the stock’s simple 10day moving average crosses below its simple 20day moving average,
 Sell if the stock’s simple 4day moving average crosses below its simple 18day moving average,
 Sell if the stock’s simple 5day moving average crosses below its simple 18day moving average,
 Sell if the stock’s simple 4day moving average crosses below its simple 20day moving average,
 Sell if the stock’s simple 5day moving average crosses below its simple 20day moving average,
 Sell if the stock’s simple 5day moving average crosses below its simple 9day moving average,
 Sell if the stock’s simple 4day moving average crosses below its simple 9day moving average,
 Sell if the stock’s simple 4day moving average crosses below its simple 10day moving average,
 Sell if the stock’s simple 5day moving average crosses below its simple 10day moving average,
 Sell if the stock’s exponential 7day moving average crosses below its exponential 13day moving average,
 Sell if the stock’s exponential 7day moving average crosses below its exponential 14day moving average.
We wanted to avoid "curvefitting." That is, we wanted to test these strategies over a wide range of stocks representing a variety of industries and market sectors. Also, we wanted to test over a variety of market conditions. Therefore, we tested the strategies on each of about 3000 stocks over a period of about 9 years (or over the period during which the stock traded if it traded for less than 9 years), factoring in commissions but not "slippage." Slippage results when the sell order is for $30 but the price at which the sale is executed is $29.99. In this case, the slippage would be one penny a share. The same "buy" strategy was consistently used for each test. The only variable was the rule for selling. For each strategy, we totaled the returns on all stocks. We performed a total of 47,312 tests.
The idea behind this experiment was to find out which of these sell disciplines achieved the best results most of the time for most stocks. Remember that the profitability of a system that is applied to a single stock (even if this is repeated for 3000 stocks as in our test) does not paint the whole picture. Profitability per unit of time invested is a better way to compare systems. In conducting this test at stockdisciplines.com, we required that each system had to wait for a new buy signal in the particular stock being tested. In real life, a trader could jump to another stock immediately after a sale. Therefore the trader would have little or no "dead time" while waiting to make the next purchase. A system that is less profitable but that exits a position earlier could therefore generate greater profits over a year by reinvesting in a different security as soon as the first one is sold. On the other hand, it would be a poorer performer if it had to wait for the next buy signal on the same stock while another slower system was still holding and making money. Thus, a system that captures a 10% profit in 20 days may not compare well with another system that captures only a 7% profit in the first 10 days of that same move and then sells to take another position elsewhere.
The various sell systems are arranged below in order of their profitability. The left column is the short moving average and the middle column is the long moving average. The sell signals were generated when the short average crossed below the long average. The right column is the total profitability for all stocks tested. The key item of comparison is not the actual magnitude of gain for each sell system. This would vary considerably with different "buy" and "sell" system combinations. We were not testing for the profitability of any complete system, but for the relative merit of the various "sell" systems in isolation from their respective optimum "buy" disciplines. As you can see from the table, selling when the 9day moving average crossed below the 18day moving average was not as profitable as selling when the 10day moving average crossed below the 20day moving average. Donchian’s 5day moving average cross of the 20day average was also more profitable than the 9day average cross of the 18day average. All tests were identical. The only variable was the combination of moving averages selected. The two exponential systems were at the bottom of the list in profitability.
Do not read this report without reading the followup report by clicking on the link below the table. The table provides only part of the story. Also, this study was not an attempt to measure the relative efectiveness of complete systems. For example, R.C. Allen's system (as a complete system) may very well outperform either of the systems above it on the following table. The entry point of a system has a great deal to do with the profit obtained at the exit point of a system. The entry points of the various systems have been ignored in this study.
Short 
Long 
Profitability 
10 
20 
$8,162,053 
9 
20 
$8,110,532 
9 
19 
$8,103,470 
10 
19 
$8,064,746 
5 
20 
$8,005,192 
10 
18 
$7,999,700 
4 
20 
$7,987,995 
9 
18 
$7,964,701 
4 
18 
$7,825,873 
5 
18 
$7,802,725 
5 
10 
$7,211,461 
4 
10 
$7,090,950 
4 
9 
$6,983,627 
5 
9 
$6,813,519 
This study supports the notion that the sell side of a triple moving average system based on the 5, 10, and 20day moving averages is likely to be more profitable than the sell side of the similar 4, 9, 18day moving average combination. It has the additional advantage of enabling us to monitor the downward crossing of the 5day moving average relative to the 20day moving average. The latter is Donchian’s system, and it is a strong system in its own right (It also gives earlier signals than either the 918 or the 1020 combinations). Therefore, including the 5, 10, and 20day moving averages on our charts gives us an additional option. We can use the 5, 10, and 20day triple moving average system to generate our sell signals or we can use Donchian’s 5, 20day dual moving average system. If the stock pattern does not look or "feel" right to us, the 5day moving average cross will give us an earlier exit. Otherwise, we can wait for the 1020 crossover. While we could distinguish differences between the top systems, it should be remembered that the differences in net total return over the entire time of testing were very small on a percentage basis. For example, the difference between the top ranked system and the one in eighth place amounted to only about 2.4%. If you spread that out over the entire time of the study, you wil see that the yearly differences are really quite small. With regard to complete systems, the 9, 18day system may be more profitable than either the 10, 20day system or the Donchian system. For those considerations and other comments and information, please see the followup report: A Test To Find The Best Moving Average Sell Strategy: Comments and Observations.
Get more on this, and see a list of tutorials on disciplines for investors and traders.
Copyright © 2008  2016 by StockDisciplines.com a.k.a. Stock Disciplines, LLC
Dr. Winton Felt maintains a variety of free tutorials, stock alerts, and scanner results at www.stockdisciplines.com has a market review page at www.stockdisciplines.com/marketreview has information and illustrations pertaining to presurge "setups" at www.stockdisciplines.com/stockalerts and information and videos about volatilityadjusted stop losses at www.stockdisciplines.com/stoplosses
Notice to Webmasters
If you wish to publish this article on your blog or Web site, you may do so if and only if you abide by our Publisher's Terms of Use and Agreements. By publishing this article, you thereby agree to abide by and to be bound by our Publisher's Terms of Use and Agreements. You may read the Publisher's Terms of Use and Agreements by clicking on the following blue "Terms" link. Terms
Return To Home Page & Descriptive Site Directory
All pages on this Web site are protected by copyright
Copyright © 2008  2015 by StockDisciplines.com
No part of this publication may be reproduced or distributed in any form by any means.

StockDisciplines.com
1590 Adams Avenue #4400
Costa Mesa, CA 92628 USA.
Trading and/or investing in the securities markets involves risk of loss. This Web site NEVER recommends that ANY individual buy or sell ANY securities. It does not give individual investment advice, and nothing herein should be interpreted as if it does. Readers of this site's content should seek advice from a licensed professional regarding their personal investments. StockDisciplines.com will not be responsible for any loss that results from using information provided on this Web site.
IMPORTANT NOTICE
By using this site, you agree to our Terms of Use and Privacy Policy. See them by clicking on their links near bottom of menu on left side of every page.


