back start next


[start] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [ 157 ] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205]


157

In most cases, you will find that the shorter trend periods are unstable. Because consistent short-term trends are rare over long test intervals, such as 10 years, profitable results for a l5-day moving average are usually caused by one or two very large profits, or a sustained move in one direction. The choice of a short-term trend rarely produces profits in the future

The ease of new computerized testing platforms allows a convenient look at robustness. For the single moving average, 20 periods from 5 to lOO dajs were tested in steps of 5 dajs. The last column of Table 21-3 gives the number of profitable tests. Six of the 15 markets tested had no profitable results using any calculation period. Overall, 45% of all tests were profitable. The interest rates show very erratic results with a wide range of best dajs. even for the T-notes and T-bonds, which had a large number of profitable combinations. Only the currencies appear to be robust within a framework of moderate performance.

Channels and Crossovers

This Hochheimer study consisted of two tests. The first is a crossover of two simple moving averages. The shortterm average (fast frend) ranged from 3 to 25 dajs and the longterm from 5 to 50 dajs. The objective was to eliminate the whipsaws that were evident in the first study. The rules for this sjstem were:

1. Each moving average used closing prices only; the long-term number of dajs was ahvajs greater than the shortterm dajs.

TABLE 21-3 Results of a Simple MovinzAverase Model (1986-1996). $50 Transaction Costs

best

Trades

toss

Total

Prof

%Prof

ness

Corn

-937

«.462

0/20

Cotton

62 60

-76.640

18/20

Soybeani

-1325

-11,175

0/20

Silver*

-4B5

-12,720

0/20

Copper*

18.987

-9.000

9/20

GoJd

-3.240

-16.500

0/20

Sviss franc

76.025

-15 00

18/20

German mar1<

46.462

-13.462

20/20

Japanese yen

85.475

-13,737

18/20

British pound

61325

-33,237

14/20

SSPSOO

-4.650

-75,750

0/20

NYSE Index

-7.100

-21.350

0/20

T-Bills

8.350

-6.325

8/20

T-Notes

52.215

-9,235

16/20

T-Bonds

51.084

-14.036

15/20

17 or IMS.

2. A buy signal occurred when the short-term average moved above the long-term average; a sell signal occurred when the short-term average moved below the longterm average.

3. The model was ahvajs in the market.

4. if the high and low prices of the day were equal, a locked-limit day was assumed and no execution occurred.

The use of a longer and shorter frend infroduces the ability to identify a frend bias in the maiket and trade only in that direction. Theoretically, this should apply to the interest rates and to the index maikets, which have either sustained frends or an upward bias. During ttie period of the original tests, it may be the seasonality of the agricultural markets that dominate ttie frend. Using two moving averages, the faster one can be considered a timing mechanism, while the slower one tracks the underljing market direction. In Table 21-4, the number of trades are less than the simple movmg average model, and the percentage of profitable trades was increased, the tjpe of results that indicate a more robust method.

Retesting

The testing performed to find the best set of parameters is never the last test, it is ahvajs important to monitor performance and compare the out-of-sample results with a new optimization to determine the success of the sjstem



rules and the testing process. A 1982 publication of Hochiieimer" provides a rare opportunity to see how the original tests fared and how parameter selection would have changed based on both additional data and changes in price pattems. We can do ttiis ourselves by testing 5- or lO-year periods and comparing the results of the same portfolio, From these results we can visualize an overall change in

TraukL HocUieuuer and Richard J Vaughu. O.JUputenredTradlue Techui,jieE 1£ rnll Lyuch CuiuoditieE. NewYork, 19

TABLE21 -4 Results of Two Simple Moving Average Crossovers

Trades

Run of

Doyj

Tdal

Pwfit

Cocm

7 25

SI76.940

S-4,416

1147

69.275

- 97

Sugar

135.843

-ii.esi

Cown

16 25

3M.4S5

-4.755

Silver

100.790

-8.610

Copper

17 33

212.919

-3.057

So/beans

1650

286.440

-15.665

leso

117.IS5

-8,IS5

Wheal

1147

113.118

-2.660

Pork belies

25 46

11.124

21.SIS

Scybeanoll

14 50

121.749

-6,585

Pl/wood

24 42

18.505

-3,184

14

97.448

-7 05

which the maiket moves. We may find that noise has increased, causmg a shift to longer ttends, or that risk is much greater and the rehims are proportionally smaller.

Crossovers Retested

In the 1982 update of the Crossover Sjstem optimization using data through 1979, it is interesting to note that 11 out of P maikets selected two moving average speeds either identical (in sis cases) or nearly identical to the previous test. Five of the remaining six tests showed new selections that traded slower than the previous test. Only gold resulted in a faster selection, but the original test in 1976 couldhavehadonlyoneyear of data.

Because the results of using the parameters selected in 1976 were not shown in the new study, their performance could not be assessed. Eleven cases, however, in which the new parameters were either identic or had very small changes, can be used as a conservative estimate. Their out-of-sample performance is shown in Table 21-5. If the parameters are not identical, the 1979 test must show results that are higher than the actual out-of sample would have been.

The first reaction to the update of the 1976 crossover test should be very positive. Ahnost identical parameters for 11 out of 17 products originally tested were selected. This means that the ttaders who used this sjstem were using the optimum parameters during the 3-year period fran 1977 through 1979. How did they do?

Table 21-6 is a comparison of ttie out-of-sample period 1977 through 1979. In the cases in which the parameter selection was slightly different, it must be assumed that the total performance, 1970 through 1979, was better than the performance using the original parameters. Therefore, the out-of-sample period should be at least as good as the results actually achieved. Total profits were $201,649, ttading one contract of each market.

Two additional factors should be considered. Although only 3 of the 11 showed losses, the fast nature of this sjstem results in very low profits per ttade in 4 of the remaining 8 maikets. This may not seem serious until the realities of trading are considered, where the exact execution price is rarely achieved. A ttend-following sjstem, with orders entered as inttaday stops, must alwajs allow for slippage caused by lack of liquidity and directly related to the size of the order being executed (see the discussion of liquidity in Chapter 18). In a fast maiket, this slippage can be laige, often hundreds of dollars (in contraci

TABLE21-5 Retesting of ttie Crossover System



Besi IXys

Mitabltl Touil

Pro/its/ Trade

Best Dop

Mitabltl Touil

Corn

1147

$ 69,275

93/225

S 308

1248

S 83.586

129/332

Sugar

5 43

109/311

loeo

348,833

160/419

Cotton

16 25

304.485

223485

16 25

378.440

329/697

Silver

3 26

100790

262/661

3 26

9699S

385/1098

Copper

17 3

211939

177/354

1732

218,790

24S/57I

Wheat

1147

133.118

87/209

1248

151371

130/305

Pork bellies

25 46

13.124

100/226

2546

78.207

137/312

So/oil

14 50

121,749

128*327

14 50

125.848

190/488

Pl/wood

2442

18.505

100/219

2046

1667

132/351

Canle

7 13

147,540

337/792

7 13

162.280

490/1186

T-Bills

6 18

39,710

69/148

6 18

28,210

148/388

value) away from ttie intended price. Even Maifcet-on-Close orders are subject to slippage. A buyer using a Close-Only order should expect to get the high of the closing range; a seller will get the low. in Table 21 -6, the fiirthest right column assumes a conservative slippage, one that should be included in any test program. In some cases, such as copper and bellies, the slippage is small and does not seem to impact on profits; even the large profits of cotton survive well. But in the fastest frading commodities, even the smallest slippage will severely reduce large profits, frequently turning them into losses. The final total shows that those small costs, when applied to every product, were greater than the profits. Instead of making a killing in the market these fraders netted a loss.

T/iides

l-Way Slippage (5% Daily Rartge)

Corn

$ 14.311

36/107

$ 133*

25 X 250

$ -5.350

Sugar

12.990

51/138

ID pis

34500

Cotton

73,995

106/212

10 pis

21,200

Silver

-3.79S

123/437

3.700

Copper

5.851

68/217

20 pts

21.700

Wheat

IB.753

43/96

195*

-2.400

Pork bellies

65,083

37/86

-7 24

Sty oil

4.099

62/161

5<

-9A60

PIpwod

-15,638

32/132

-120*

20 pis

-3,960

Cattle

14.740

153/394

10 pis

-31,520

T-Bills

-II.SOO

79/240

2 pts

-24,000

•Benoj* (could hive been «-. 5 worse).

Crossover Sjstem, 1986 to 1996

Bringing this technique forward to current markets, seen in Table 21-7, there is again a tendency to select longer calculation periods, especially for the short-term frend; therefore, there has been a shift from the optimum frend speeds of 5 to 10 years earlier. The number of total trades has dropped significantly aaoss all markets, and may be attributed to more market noise and less definitive frends. Because the use of two frends greatly increases the chance of overfilling the data, it should not be surprising that all of the markets show profits for some combination of fast and slow moving averages. The last column, indicating the number of profitable combinations, is needed to get a picture of the robustness.

Taking a closer look at Table 21-7, it appears at first ttiat ttie S&P would be highly profitable; however, ttie profit of $194,750, drawdown of $63,650, and profitable frades is deceiving because only 8 of 120 combinations were profitable. As a group, the currencies and interest rates performed well, and the total of all profitable combinations was 56° o, showing that the technique rf using two moving averages is likely to be more robust than the 45S* given by the simple moving average. When making these sjstem comparisons, you must be cautious that these tests represent a comparable range of test speeds.



[start] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [ 157 ] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205]