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]


159

3. They are the same for all products, impljing an attenpt at robustness.

It would not be possible for either the profits or the equity drops to be better in this model than an optimized strategj, such as the Modified Three-Crossover Method; yet, out of 17 commodity maitets simulated during the 1970 through 1976 period, only two lost money. That is a very impressive record. There should be a greater degree of confidence in this performance than in an optimized program.

Importance of Failed Tests

When the period from 1986 to 1996 is tested, as seen in Table 2 I -II, we see much lower profits, large losses in the index maitets, and uniformly high rid;. Net results are worse than other methods tested. This certainly means that this technique is no longer good. Perhaps it means that a rigid set of frends cannot survive over the long term; the lengths of the underljing frends have changed; they are no longer uniform because of changing maitet participation; or there is more noise in the maitet, making it difficult to identify the frend in a timely fashion

These results should make us rethink the conclusions drawn from the previous tests. We have looked at the best dajs and the robustness of the technique. Because we are no longer confident that the best day of the past will be the best day of the future, we need to depend on the robustness of the sjstem even more. If a laige percentage of all tests are profitable, then there is a much greater chance that any parameter selected win be profitable. Our goal is to find the most robust sjstem.

To remove the dependence upon specific fixed parameters that might retum unstable performance over many years, it is necessary to generalize many of the features in a sjstem. For example, instead of a fixed stop-loss at 10 points or $500, it will be necessarj to allow that stop to varj based on maitet volatility Even the calculation period of the frend may change according to volatility, maitet noise, volume, or some other factors. This approach is discussed fiirther in Chter 17 (Adaptive Techniques").

Test Criteria

The method used in these tests is not bad, but real market factors must be included or the results are deceiving. Although the researchers may have been pleased with the out-ofsample profits, they were only paper profits. In real trading, the chances greatly favor losses.

Testing should closely approximate frading. If there is doubt about the costs, make them larger. A sjstem that can profit under testing penalties should make money when actually fraded. Even when using prepackaged computer optimization software, the slippage

TABLE2I-IIResults of a4-9-I8 Crossover (I986-I996),$50 Transaction Costs

fci- JU.,. Trades

Corn

-425

-12.087

Coaon

26.110

-21,000

Soybeans

-19.087

-33,987

Silver*

-20.740

-21,640

Copper*

-10.062

Gold

2.250

-12.910

Swiss

3,325

-43,350

German mark

11.562

-31.525

Japanese yen

86.412

17 75

British pound

45,512

27,362

S&PSOO

-76.650

-110.350

NYSE Inden*

-31.475

-51 75

T-Bills

-7J32S

14.400

T-Nocei

15,674

-11.406

T-Bonds

-14A68

-44.013

can be added by making the commission costs high; both are per frade costs. If a mistake is to be made, do it by being too conservative; however, it is ahvajs best to be realistic.



Gettmg the Big Picture through Testing

As mentioned throughout this chapter, the key to robustness is to test more data, more maitets, more of everjihing, and then to observe the results looking for a common pattem of overall consistency. There is no better way to tell if a maitet has trends than to test it for a variety of trending methods. A maitet that performs well using an interday breakout, but fails with a dual-trend crossover, is not a good candidate for trending profits in the future.

A comprehensive look at 12 trading methods applied to 12 futures maitets gives us a chance to see generalized performance. The annualized percentage retums for a variety of U.S. maitets are shown for 12 well-defined technical methods in Table 21-12. These trading sjstems are:

CHL,Channel breakout, using the closing price penefration of the N-day high and low

PAR Wilders Parabolic Sjstem, in which the stop and reverse gets closer each day

DRMDirectional Movement, a Wilder method that averages the ups and downs separately

RNQ Range Quotient, basing a breakout on a ratio of current change to past change

DRP Directional Parabolic, combining DRM and PAR sjstems

Ml 1 Price Channel, a breakout sjstem using only the oldest and most recent prices

LSO L-S-0 Price Channel, usmg two parameters, including an interval of oldest prices, to decide a channel breakout

REF Reference Deviation, determining a volatility breakout based on a standard deviation of past closing price changes

L.-sPLukacE Wa.leEfTsen.andSc-ttH Innu, "H-ir to testpfbtatility ftecliuical toW sy.-tems Futures i ber 1

TABLE 21-12 Percentage Retums by Sjstem and Maricet, 1978-1984*

CHL MR DRM FNQ DRP LSO REf DMC DRf AIAB ALX Avtn

22.4

-6.2

30.1 43.3

10.7

37.9

-4-7

22.9

16.0

Cocoa

ID.0

-101.7

-121.9 -345.0

-112.1 -73.6

-256.9 -120.5

-72.9

-281

-219.2

-35.2

144.2

Copper

-IS.4

-46.1

-78.4

-4.2-31.4

-83.0

-66.2 -39

-94.1 -1184

-16.8

-49.3

Cattle

-12.2

-28.4

-12.4

-72.5

-16.5 -34.8

-44.9

-56.3

-11.4

-70.0

-58.9

-5.5

-35.3

Pork bellies

-30.8

22.0

-6.8

-134.4

4 20.6

-117.4

-145.3

-6.5

-127.6

-112.0

-12.1

-S3A

Lumber

38.7

-43.6

-0.4

-19.2

-40.6 JI.3

-46.3

-18.4

36.6

-191

-47.1

24.6

-8.6

Soybeans

-19.1

25.8

-57.9

-100 13.3

-45

-10.7

-22.5

11.1

-10.4

Silver

60.S

54.4

-15.9

82.3 -19.1

12.5

-724

34.2

-76.2

-18.0

55-9

Sugar

1034

46.2

61.2

-42.1

63.4 72.6

-473

82.3

71.6

36.9

British pound

20.7

-36.1

303 1.9

-10.2

-65.8-39

-6-1

German mark

3S.4

18.8

78.0 63.3

19.2

-17.8

46.3

24.6

6.6 -50.0

29.9

T-bills

I0B.7

48.5

132.7

-40.1

225.5 189.9

221.8

239.8 127.8

19.2

-12.0

32.9

109.6

Average

12.6

-69.1

27 231

-26.2

-28.5

21.9

-51

-54.7

-8.9

.JnvichirairniseslinBHJu iO\

DMC Dual Moving Average Crossover, holding a frend position when both moving averages have the same frend

DR] Directional Indicator, a ratio of current price change to total past price change

MAB Moving Average with Price Band, giving a signal when prices pendrate the band

ALX Alexanders Filter Rule, generating signals when prices reverse from a previous swing high or low by a percentage amount



create the results in Table 21-12, each maitet was tested for 3 years and the best parameters used to generate the retums for the nest years, in a step-forward approach. It is easj to see that some maitets are not profitable for any strategj and that some strategies are generally poor. Unless you were creating a strategj for a specific group of markets, you would not want to trade a sjstem that was not profitable in less than 50° of the markets, nor would you want to trade a maitet that failed in most of the trend strategies. For example, cattle lost in every sjstem, and the RNQ, REF, and M AB sjstems were consistently unprofitable; therefore, none of those would be good candidates for trading. The most consistent sjstems were CHL, PAR, MI I, and DMC, each posting 8 of 12 winning maitets; yet, each has a noticeably different technique. T-bills present an interesting choice because the highest profit, 239.8° o. occurred in one of the least reliable sjstems, REF; choosing DRP is likely to be a better choice. Displajing the sjstem results by year for all maitets is another way to look at robustness. In Table 21-13, we see that RNQ and net losses over all maitets in all years, while CHL, Mil, and DMC stand out as very consistent. The combined presentation of results aaoss all maitets and sjstems is a clear way of avoiding overfitting by looking al the big picture.

PRICE SHOCKS

Price shocks are laige changes in price caused by unexpected, unpredictable events. The impact of price shocks on historic tests can change the results from profits to losses, and varj the risk from small to exfremely laige and unfortunately, not enough thought is given to how these moves affect test results and future performance. A discussion of price shocks could easily fill an entire book, but the conc ts that are important can be explained

TABLE 21-13 Percentage Rehims by Sjstem and Year*

Syslem

(978

(979

1980

1981

(982

(983

1984

47.9

81.6

21.8

28.3

ie.5

16.4

54.5

29.9

-31.7

-432

-194

29.3

21.7

92.2

31.6

22.7

-7.3

57.2

-69.0

-9.6

-1521

-31.2

135.5

-lOO.I

34.8

63.8

88.7

31 G

13.4

-200

38-5

12.9

41.6

87.8

30.7

-17.1

-4.0

39.1

-55.1

55.1

-37.6

-595

-133

23.3

53.2

-85.2

-109.6

-69.2

17.6

26.8

8S.4

-1 6

-60.7

15.4

46.3

108 1

-114.4

-105.3

-340

38.0

-44.3

-7.7

-114.4

-91.1

-SIS

-45-7

A1J<

28.3

38.6

82.6

-34.4

-2,0

-14.4

Average

-5.8

12.3

57.8

-36 5

-28.8

-41 9

-23.1

briefly. When it comes to actual trading, the difference between your expected results and actual performance (noi attributed to slippage is entirely dependent on the number of price shocks.

By its very nature, a price shock must be unexpected. However, not all events cause shocks. An assassination, abduction, or political coup is likely to be a surprise, while a crop freeze can be anticipated as weather turns unusually cold. Some economic reports, such as a .5°-<, increase in the Producer Price Index or jump in the balance of trade, will come as a shock, but a low carrjover supply of soybeans or a tightening of the money supply after steadj economic growth can be anticipated. When a change is anticipated, the maitet adjusts to the correct level before the news is announced, when it is wrong, prices react in proportion to how poorly it was anticipated.

The problem comes when you test historic data. We know at the time of a price shock that we could not have anticipated the event; at best we have an even chance of being on the right side of the price move. But the computer doesnt know that, and the best results from a laige series of tests often include profiting fran the laigest price sho(ts-a situation that would be impossible in actual trading. For example, if there were 10 price sho(ts in 10 years of data, and your historic tests profited from 8 of those shocks, then you have overestimated your profits. Even worse, you have underestimated your risk by believing that a price shock produced a profit and not a loss

How can you correct this problem? First, you can look at the pattern of profits and losses fran a series of tests



[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]