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]
31 Spreadsheet Code In the followmg QUATTRO code, the GENERAL DESCRIPTION precedes a row or column that is fixed A6 Date (YYMMDD) (i.e., it does not get copied down).B6 High price C6 Low price Moving average, exponential, and N-day D6 Closing price breakout share the same page, as do the C3 Test period, swing "o, or box size swing breakout and point-and-figure sjstem 5 Point-and-figure number of reversal boxes The price data is not repeated to save space. AN data starts in row 7
To verify that the correct code was entered into the spreaddieet. Figure 5-8 shows a sample of the opening lines of the spreadsheet using sample data. The columns E, F, G, and H have been repeated for eadi of the moving average, exponential smoothing, and N-day breakout sjstems. In Figure 5-9, this approadi has been taken for the swing breakout and point-and-figure sjstems using the same data. TECHNIQUES USING TWO TRENDLINES This section is resU-icted to applications of trendlines; however, do not assume that trendlines conatitute the only timing methods. Any secondarj sjstem that analyzes a shorter time period than the primarj sjstem can be considered as a timing device. Tjpically a 3-day moving average could act as a timing technique for a 10-day average; however, the delajs of 1, 2, 3, or more dajs, discussed earlier, are also for timing. A 5-day delay would not be a sensible choice to be used with a 3-day moving average, because the two periods would be incompatible. Plotting of lag and lead moving average values is another possible timing method. In this section, the use of more than one moving average will be examined (any tjpe of trend approadi would apply) to create a sjstem. In using two averages, the slower one, requiring a longer calculation period, will determine the longterai trend The faster average will be used for timing The long-term moving average generates a signal compatible with the long-term trend, regardless of recent pattems. A trader would be more comfortable knowing that tiiere is a recent shortterm surge of prices in the direction of the new position at the moment of entry To implement this idea, select two moving averages, one noticeably faster than the other, and apply either of the two following rules: 1. Buy when the faster moving average crosses the slower moving average going up. Sell when the faster
moving average crosses the slower moving average going down. 2. Buy when the current price crosses above both moving averages, and close out long positions when prices cross below either moving average. Sell when the current price crosses below both moving averages, and close out short positions when prices cross above either moving average (Figure 5-10). The first set of rules results in constant trading, gomg from long to short and back again as the longterm trend is violated by the faster trend. The second set of rules allows for a neufral position when the current position is closed out and the long-term trend is not penetrated. One problem with this second approach is that the faster moving average may cause whipsaws by being too close to the current price. This can be solved in the same way as the single moving average by placing a band around one or both of the trendlines. There are other variations of these rules that can be listed, but they are not materially different from these two. -I iiiiiiiiiiiiiiiiii 1 3 I "Siiiiiiiiiiiiiiiiiiiiiiiiiii 1 . 1 .1 lllllillimiiiillliilii tllillillllillillliliiiill iliiiiiiliiiiiliiiilii
[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]
|