August 28, 2009
I figured I'd go a little more vertical, a la Michael Stoke's post at MarketSci, while working on the horizontal structure and content of this site. I wanted to follow up with MarketSci's series of posts on the Golden Cross and run some backtests on a broader range of markets.
System Rules:
Rules for both systems are the same except for the length of the SMA's being used
- Enter position at the open if the previous day's faster SMA(10,50) crosses the slower SMA(50,200)
- Long Entry = 10(50) SMA > 50(200) SMA
- Short Entry = 10(50) SMA < 50(200) SMA
- Exit position at the open if the previous day's faster SMA(10,50) crosses the slower SMA(50,200) in the opposite direction
- Long Exit = 10(50) SMA < 50(200) SMA
- Short Exit = 10(50) SMA > 50(200) SMA
- Risk 1% of Equity on each Trade
- Position Size = ((Account Equity * 1%)/2 ATR)
- Transaction Slippage = 2 ticks
- Markets Traded: ES, NQ, TF, GC, SI, HG, CL, HO, NG, RB, ZC, CC, CT, KC, ZW, LE, HE, ZS, SB, AUD, GBP, JPY, EUR, CHF
Results:
10/50 SMA
50/200 SMA
Start Date
19840103
19840103
End Data
20090818
20090818
Trade Days
6449
6449
Years
25.59
25.59
Winning Months
167
186
Losing Months
140
121
Best Month
42%
27%
Worst Month
-20%
-16%
CAGR
14.27%
16.63%
Max DrawDown
-63.86%
-45.44%
MAR
.22
.37
Lake Ratio
43.39%
17.36%
R-Squared
.61
.77
Sharpe Ratio
.61
.83
Total Return
3024%
5190%
Starting Equity
$ 1,000,000
$ 1,000,000
Ending Equity
$ 31,239,488
$ 52,902,806
The 50/200 SMA Crossover Strategy resulted in much more robust results, with the 10/50 having an extended drawdown of 10+ years.
The trade distributions exhibit the classic fat tails of trend follow strategies. Without any stops in place there were a large number of trades that resulted in a loss greater than the 1% used to calculate positions size. Possible follow-up with stops added.
System Rules:
Rules for all systems are the same except for the type (SMA,EMA) and length(10/50,50/200) of the MA's being used
- Enter position at the open if the previous day's faster MA(10,50) crosses the slower MA(50,200)
- Long Entry = 10(50) MA > 50(200) MA
- Short Entry = 10(50) MA < 50(200) MA
- Exit position at the open if the previous day's faster MA(10,50) crosses the slower MA(50,200) in the opposite direction
- Long Exit = 10(50) MA < 50(200) MA
- Short Exit = 10(50) MA > 50(200) MA
- Risk 1% of Equity on each Trade
- Position Size = ((Account Equity * 1%)/2 ATR)
- Transaction Slippage = 2 ticks
- Markets Traded: ES, NQ, TF, GC, SI, HG, CL, HO, NG, RB, ZC, CC, CT, KC, ZW, LE, HE, ZS, SB, AUD, GBP, JPY, EUR, CHF
Results:
10/50 SMA
10/50 EMA
50/200 SMA
50/200 EMA
Start Date
19840103
19840103
19840103
19840103
End Data
20090818
20090818
20090818
20090818
Trade Days
6449
6449
6449
6449
Years
25.59
25.59
25.59
25.59
Winning Months
167
170
186
176
Losing Months
140
137
121
131
Best Month
42%
41%
27%
27%
Worst Month
-20%
-21%
-16%
-19%
CAGR
14.27%
14.90%
16.63%
12.31%
Max DrawDown
-63.86%
-47.71%
-45.44%
-43.70%
MAR
.22
.31
.37
.28
Lake Ratio
43.39%
21.44%
17.36%
15.23%
R-Squared
.61
.82
.77
.68
Sharpe Ratio
.61
.66
.83
.68
Total Return
3024%
3500%
5190%
1897%
Starting Equity
$ 1,000,000
$ 1,000,000
$ 1,000,000
$ 1,000,000
Ending Equity
$ 31,239,488
$ 36,003,739
$ 52,902,806
$ 19,973,241
Without digging deeper into the trade data and looking at the periods of divergence between the SMA and EMA strategies, I find it interesting how quickly
the outperformance of the 10/50 SMA vs the 10/50 EMA was reversed, then how much the two tracked each other.
The 50/200 cross strategies are long term strategies which makes less trade data available (even going back 25yrs). I'm cautious not to put too much weight
on the outperformance of the 50/200 SMA over the 50/200 EMA strategy, in light of what was seen in the 10/50 cross strategies.
System Rules:
Simple Donchian 40/20 Strategy
Rules for both systems are the same except for the type (SMA,EMA) of the MA's being used
- Enter position on break of 40 day Donchian Channel
Long Entry at 40 day High
Filter: only enter Long position if 50 MA > 200 MA
Short Entry at 40 day Low
Filter: only enter Short position if 50 MA < 200 MA
- Exit position on break of 20 day Donchian Channel in opposite direction
- Long Exit at 20 day Low
- Short Exit at 20 day High
- Risk 1% of Equity on each Trade
- Position Size = ((Account Equity * 1%)/2 ATR)
- Transaction Slippage = 2 ticks
- Markets Traded: ES, NQ, TF, GC, SI, HG, CL, HO, NG, RB, ZC, CC, CT, KC, ZW, LE, HE, ZS, SB, AUD, GBP, JPY, EUR, CHF
Results:
Without Filter
SMA Filter
EMA Filter
Start Date
19840103
19840103
19840103
End Data
20090818
20090818
20090818
Trade Days
6450
6450
6450
Years
25.60
25.60
25.60
Winning Months
167
172
174
Losing Months
140
135
133
Best Month
43%
40%
42%
Worst Month
-19%
-15%
-15%
CAGR
12.03%
15.23%
14.82%
Max DrawDown
-45.61%
-37.53%
-33.92%
MAR
.26
.41
.44
Lake Ratio
25.15%
16.83%
15.46%
R-Squared
.79
.82
.82
Sharpe Ratio
.55
.75
.73
Total Return
1775%
3770%
3437%
Starting Equity
$ 1,000,000
$ 1,000,000
$ 1,000,000
Ending Equity
$ 18,750,928
$ 38,701,582
$ 35,365,733
Donchian 40/20 Without Filter
Donchian 40/20 SMA Filter
Donchian 40/20 EMA Filter
ALL CONTENT ON THIS SITE IS PROVIDED FOR INFORMATION PURPOSES ONLY. NOTHING HEREIN SHOULD BE CONSTRUED AS AN OFFER TO BUY OR SELL SECURITIES, OR TO PROVIDE INVESTMENT ADVICE. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE DISCUSSED ON THIS WEB SITE. THE PAST PERFORMANCE OF ANY TRADING SYSTEM OR METHODOLOGY IS NOT NECESSARILY INDICATIVE OF FUTURE RESULTS.