Moving Average Trading Strategy: Price Crossover – A Closer Look

The Moving Average Price Crossover strategy can be applied to multiple trading styles.  In order to simplify our analysis and provide what could be actionable ideas, we have broken down the performance of this technical trading systems into five different categories or assets to trade. Each asset can be analyzed based on the trading style: Day Trade, Swing Trade (shorter term) & Swing Trade (longer term).

The trading style is simply a function of the size of candles used in the simulation. For example, a day trading system would use smalelr candles such as 1 minute, 5 minute or 10 minute. Contrast that with a Longer Term Swing Trading system which would use daily candles.

Moving Average Price Crossover System: Equities

Trade Entry/Exit Rules

Stop Settings:
No Stop Used

Limit Settings:
No Limit (target) Used

Buy Trigger(s):
Moving Average #1 Close Above, New Close Only

Sell Trigger(s):
Moving Average #1 Close Below, New Close Only

INTC (Intel Corporation) Buy & Hold

The following data represents the Buy & Hold results during the period analyzed. This data assumes 100 shares were purchased at the beginning of the back-tested period and sold towards the end. It can be used to compare the Trading Strategies performance with the baseline, Buy & Hold results.

Simulation Setting
Asset Type Equities
Symbol INTC
Start Date 08/29/1991
End Date 07/31/2017
Trading Session Time Regular Session Hours
Trading Application Swing Trade (longer term)
Candle Size 1 Day
Direction Long
Moving Average Type SMA
Moving Average Length 300
Performance Metric
Profit Factor 0.00
Net Profit ($) $3314.00
Gross Profit ($) $3314.00
Gross Loss ($) $ 0.00
Total Trades 1
Average Gain/Trade $3314.00 Per Trade
Percent Profitable 100.00%
Maximum Drawdown $-6280.00
Intel-Corp-INTC-Performance-No-Strategy-EC

LONG Entry Results: Day-Trade

 

Simulation Setting
Asset Type Equities
Symbol INTC
Start Date 03/06/1991
End Date 07/31/2017
Trading Session Time 930EST to 1600EST
Trading Application Day Trade
Candle Size 10 Minutes
Direction Long
Moving Average Type SMA
Moving Average Length 300
Performance Metric
Profit Factor 0.64
Net Profit ($) $-10209.00
Gross Profit ($) $17899.00
Gross Loss ($) $-28108.00
Total Trades 3376
Average Gain/Trade $-3.02 Per Trade
Percent Profitable 20.17%
Maximum Drawdown $-10220.00

LONG Entry Results: Swing-Trade (shorter term)

 

Simulation Setting
Asset Type Equities
Symbol INTC
Start Date 03/06/1991
End Date 07/31/2017
Trading Session Time 930EST to 1600EST
Trading Application Swing Trade (shorter term)
Candle Size 60 Minutes
Direction Long
Moving Average Type SMA
Moving Average Length 235
Performance Metric
Profit Factor 1.14
Net Profit ($) $2108.00
Gross Profit ($) $17112.00
Gross Loss ($) $-15004.00
Total Trades 631
Average Gain/Trade $3.34 Per Trade
Percent Profitable 16.48%
Maximum Drawdown $-4551.00

LONG Entry Results: Swing Trade (longer term)

 

Simulation Setting
Asset Type Equities
Symbol INTC
Start Date 08/29/1991
End Date 07/31/2017
Trading Session Time Regular Session Hours
Trading Application Swing Trade (longer term)
Candle Size 1 Day
Direction Long
Moving Average Type SMA
Moving Average Length 165
Performance Metric
Profit Factor 1.82
Net Profit ($) $4369.00
Gross Profit ($) $9677.00
Gross Loss ($) $-5308.00
Total Trades 124
Average Gain/Trade $35.23 Per Trade
Percent Profitable 25.81%
Maximum Drawdown $-2426.00

CFTC RULE 4.41: Results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under-or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical 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 profits or losses similar to these being shown.

Moving Average Price Crossover Trading Strategy: Market Indexes

Trade Entry/Exit Rules

Stop Settings:
No Stop Used

Limit Settings:
No Limit (target) Used

Buy Trigger(s):
Moving Average #1 Close Above, New Close Only

Sell Trigger(s):
Moving Average #1 Close Below, New Close Only

S&P 500 Buy & Hold

The following data represents the Buy & Hold results during the period analyzed. This data assumes 1 contract was purchased at the beginning of the back-tested period and sold towards the end. It can be used to compare the Trading Strategies performance with the baseline, Buy & Hold results.

Simulation Setting
Asset Type Futures
Symbol @ES
Start Date 11/18/1998
End Date 08/01/2017
Trading Application Buy and Hold
Direction Long
Net Profit ($) $61,132.50
Maximum Drawdown -$54,962.50

LONG Entry Results: Day-Trade

 

Simulation Setting
Asset Type Futures
Symbol @ES
Start Date 08/23/1999
End Date 08/01/2017
Trading Session Time 930EST to 1610EST
Trading Application Day Trade
Candle Size 10.00 Minutes
Direction Long
Moving Average Type EMA
Moving Average Length 190
Performance Metric
Profit Factor 1.11
Net Profit ($) $28365.00
Gross Profit ($) $291165.00
Gross Loss ($) $-262800.00
Total Trades 3062
Average Gain/Trade $9.26 Per Trade
Percent Profitable 29.29%
Maximum Drawdown $-11428.75

LONG Entry Results: Swing-Trade (shorter term)

 

Simulation Setting
Asset Type Futures
Symbol @ES
Start Date 11/11/1997
End Date 08/01/2017
Trading Session Time 930EST to 1610EST
Trading Application Swing Trade (shorter term)
Candle Size 60.00 Minutes
Direction Long
Moving Average Type EMA
Moving Average Length 110
Performance Metric
Profit Factor 1.34
Net Profit ($) $63635.00
Gross Profit ($) $251000.00
Gross Loss ($) $-187365.00
Total Trades 793
Average Gain/Trade $80.25 Per Trade
Percent Profitable 27.11%
Maximum Drawdown $-15202.50

LONG Entry Results: Swing Trade (longer term)

 

Simulation Setting
Asset Type Futures
Symbol @ES
Start Date 11/18/1998
End Date 08/01/2017
Trading Session Time Regular Session Hours
Trading Application Swing Trade (longer term)
Candle Size 1 Day
Direction Long
Moving Average Type SMA
Moving Average Length 300
Performance Metric
Profit Factor 2.21
Net Profit ($) $38420.00
Gross Profit ($) $70165.00
Gross Loss ($) $-31745.00
Total Trades 46
Average Gain/Trade $835.22 Per Trade
Percent Profitable 26.09%
Maximum Drawdown $-17691.25

CFTC RULE 4.41: Results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under-or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical 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 profits or losses similar to these being shown.

Step 6.  Grade The Trading System

How Good Is This Strategy?

First pass criteria include looking at Profit Factor , Maximum Drawdown and Total Number of Trades. For AlgorithmicTrading.net, if a trading systems passes an initial step of testing, we will analyze it further to include performing multiple cross optimizations, performing in-sample & out-of-sample testing using the Tradestation Walk-Forward Analysis test.

Price Crossing Moving Average Trading Strategy: LONG Entry

t

Very Small Number of Trades

This strategy has less than 200 trades in the back-testing. The larger number of trades in the back-testing, the more reliable the study. Many swing trading algorithms which hold for a longer duration will have a much smaller number of trades. As long as it is back-tested through Bull & Bear markets, it is simply a warning.

R

Very High Profit Factor

This strategy has a profit factor above 1.30.

Q

Large Draw down

This strategy has a very high drawdown (compared to potential gains). This is a very big red flag. Per unit trade size allocation should be approximately 2-3X the max drawdown size. This implies the system could have a lot of volatility and potential gains (on a percent basis) will be lower.

R

Low Risk of Curve Fitting

This strategy only utilizes two inputs, the SMA/EMA and Moving Average Lengths between 5 and 300 days (5 day increments). Optimization increments are fairly large (5 day’s). Schmoo of moving average length shows a stead progression of performance as the moving average length increases. This is a solid positive in that there is consistency.

R

Large Average Gain Per Trade

This strategy has a very large average gain per trade. This helps ensure that an increase in slippage (from bad fills) does not have a large impact on the systems performance. Trading strategies that hold for longer periods will typically do better than systems which enter and exit the same day.

Q

Risk of Large Loss

This strategy does not use a stop. Systems that don’t use stops tend to have better performance numbers, however there is a larger risk than normal, given that a large move against this position could create an unpredictably large loss.

Price Crossing Moving Average: Final Grade

The entry & exit rules for this strategy are explained in a consistent way – in probably every single book on technical analysis. The biggest problem with their rules is that they are almost always too vague.  They leave it up to the reader to pick the chart size (5 min, 10 min, 60 min or daily) and tend to reference the 20 day, 50 day and 200 day moving averages as being good ones to use.

The Good

The Moving Average Price Crossover strategy is consistently defined across multiple sources. Most reference daily charts – which appear to be more reliable than using this strategy as a day trade. At least using daily charts, there is consistency with regard to the most optimal Moving Average Length.  As the length increases, so do potential profits until a plateau is reached.

The Bad

The Moving Average Price Crossover strategies you will find online are good at being vague. They leave it up to the trader to determine the best Moving Average Length. Some are braver than others – referencing the 200 Day, 50 Day and 20 Day moving averages.

The Ugly

Drawdowns are too large as compared to potential gains.

Final AlgoGrader Score

Our opinion is that this strategy – as defined in this study – is not worthy of additional testing (walk-forward then live trades). While the back-testing does show gains and a fairly high profit factor, there are simply too many negatives to ignore.  The primary issue being the drawdown.

%

AlgoGrader Score: D

Summary Of Our Findings & Best Practices

  1. The larger the Moving Average Length the better, up until a certain point – where increases to profitability reach a plateau.
  2. The EMA does appear to provide a small benefit with this trading system (compared to using an SMA). Preference should be given to Exponentially Weighted Moving Averages.
  3. As defined in this study, the strategy (both long and short) has some potential, however the small number of trades and large drawdowns are issues.

Start Auto-Trading Today With One of Our Portfolios



AlgorithmicTrading.net provides trading algorithms based on a computerized system, which is also available for use on a personal computer. All customers receive the same signals within any given algorithm package. All advice is impersonal and not tailored to any specific individual's unique situation. AlgorithmicTrading.net, and its principles, are not required to register with the NFA as a CTA and are publicly claiming this exemption. Information posted online or distributed through email has NOT been reviewed by any government agencies — this includes but is not limited to back-tested reports, statements and any other marketing materials. Carefully consider this prior to purchasing our algorithms. For more information on the exemption we are claiming, please visit the NFA website: http://www.nfa.futures.org/nfa-registration/cta/index.html. If you are in need of professional advice unique to your situation, please consult with a licensed broker/CTA.

DISCLAIMER: Commodity Futures Trading Commission Futures trading has large potential rewards, but also large potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures markets. Don't trade with money you can't afford to lose. This is neither a solicitation nor an offer to Buy/Sell futures. No representation is being made that any account will or is likely to achieve profits or losses similar to those discussed on this website or on any reports. The past performance of any trading system or methodology is not necessarily indicative of future results.

Unless otherwise noted, all returns posted on this site and in our videos is considered Hypothetical Performance. HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS.

With the exception of the statements posted from live accounts on Tradestation and/or Gain Capital, all results, graphs and claims made on this website and in any video blogs and/or newsletter emails are from the result of back-testing our algorithms during the dates indicated. These results are not from live accounts trading our algorithms. They are from hypothetical accounts which have limitations (see CFTC RULE 4.14 below and Hypothetical performance disclaimer above). Actual results do vary given that simulated results could under — or over — compensate the impact of certain market factors. Furthermore, our algorithms use back-testing to generate trade lists and reports which does have the benefit of hind-sight. While back-tested results might have spectacular returns, once slippage, commission and licensing fees are taken into account, actual returns will vary. Posted maximum draw downs are measured on a closing month to closing month basis. Furthermore, they are based on back-tested data (refer to limitations of back-testing below). Actual draw downs could exceed these levels when traded on live accounts.

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.

Statements posted from our actual customers trading the algorithms (algos) include slippage and commission. Statements posted are not fully audited or verified and should be considered as customer testimonials. Individual results do vary. They are real statements from real people trading our algorithms on auto-pilot and as far as we know, do NOT include any discretionary trades. Tradelists posted on this site also include slippage and commission.

This strictly is for demonstration/educational purposes. AlgorithmicTrading.net does not make buy, sell or hold recommendations. Unique experiences and past performances do not guarantee future results. You should speak with your CTA or financial representative, broker dealer, or financial analyst to ensure that the software/strategy that you utilize is suitable for your investment profile before trading in a live brokerage account. All advice and/or suggestions given here are intended for running automated software in simulation mode only. Trading futures is not for everyone and does carry a high level of risk. AlgorithmicTrading.net, nor any of its principles, is NOT registered as an investment advisor. All advice given is impersonal and not tailored to any specific individual.

* Published percentage per month is based on back-tested results (see limitations on back-testing above) using the corresponding package. This includes reasonable slippage and commission. This does NOT include fees we charge for licensing the algorithms which varies based on account size. Refer to our license agreement for full risk disclosure.