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]
110 Table 17.4 Information content analysis | Information Content for Buy Input Variables | | TRIX90 | 1.000 | High | 0.177 | ExponMWA30 | 0.064 | Accumulation/Distribution | 0.849 | TrueRangelO | 0.166 | W"illiamsR20 | 0.051 | TRIX30 | 0.752 | ChaikinVolitility30-90 | 0.163 | EaseofMovement | 0.049 | ChaikinOsc30-90 | 0.570 | Price RateChange30 | 0.163 | TrueRange5 | 0.036 | Price VolumeTrend | 0.563 | ExponMwA45 | 0.120 | TRIX26 | 0.032 | VolumeOsc30-90 | 0.560 | TrueRange90 | 0.120 | w-illiamsR15 | 0.032 | Close | 0.446 | TRIX45 | 0.094 | PriceOsc 10-30 | 0.020 | ExponMwA90 | 0.412 | VolumeRateChangel 5 | 0.084 | Price RateChange20 | 0.016 | VerticalHorizontalFilrer28 | 0.337 | ChaikinVolitility3-15 | 0.081 | TrueRange45 | 0.003 | PriceRateChange90 | 0.283 | TrueRangel4 | 0.081 | TrueRange60 | 0.003 | TrueRangel80 | 0.283 | PriceRateChange 15 | 0.072 | TrueRange20 | 0.003 | TrueRange30 | 0.206 | TypicalPrice | 0.067 | | | Open | 0.193 | | 0.065 | | | | Information Content for Sell Input Variables | | | TRIX90 | 1.000 | ChaikinVolitilityl0-30 | 0.177 | TypicalPrice | 0.042 | TRIX45 | 0.753 | TrueRangelO | 0.172 | ChaikinVolitility30-90 | 0.039 | Accumulation/Distribution | 0.629 | ExponMWA21 | 0.142 | ExponMWA45 | 0.039 | ChaikinOsc30-90 | 0.605 | VolumeOsclO-45 | 0.138 | ExponMWAH | 0.038 | TRIX30 | 0.419 | TrueRange30 | 0.130 | Open | 0.031 | TRIX26 | 0.351 | PriceRateChange90 | 0.098 | ChaikinVolitility 10-45 | 0.020 | Close | 0.315 | PriceRateChange 15 | 0.086 | ChaikinVolitility 10-20 | 0.012 | TrueRangel4 | 0.260 | TRIX21 | 0.075 | ExponMWA26 | 0.012 | VerticalHorizontalFilter28 | 0.256 | High | 0.060 | TrueRange20 | 0.003 | TrueRange5 | 0.218 | ExponMWA5 | 0.055 | | | | 0.192 | ExponMWA20 | 0.050 | | |
The normalized information content of each buy and sell type technical indicator is shown. synthesized using subsets E and F; both networks for each Buy/Sell indicator were tested using subsets G and H. This resulted in eight sets of performance results, as shown in Table 17.5. The data shows that predicting Sell indicators (defined by our annual performance target selection and future time period) is somewhat easier than predicting Buy indicators. Network Optimization Typically, the default CPM value of 1.00 does not result in the best performing network model. Therefore, we employed an optimization routine that automatically finds the best CPM value for a specific database and set of input variables, using a search optimization algorithm.12
Buy/Sell | Train/Test Subset | Average Absolute Error | Sell | | 0.347 | Sell | | 0.347 | Sell | | 0.349 | Sell | | 0.349 | | | 0.399 | | | 0.399 | | | 0.400 | | | 0.401 |
Two statistical networks were synthesized for the buy and sell indicators; each of the four networks was evaluated on two independent data subsets. Rightmost column shows the networks average absolute error for each scenario. Table 17.6 shows the results of optimizing for CPM. Here, data subset E was used for training, subset G was used to evaluate each network during optimization, and subset H was used for independent testing. In each case, optimization only slightly increases network performance. Trading Strategy and Results While the statistical performances of these models show promise, their real benefit can only be demonstrated in an actual trading environment to determine whether they actually make money. Each network was used to process the technical indicators for a number of stocks over the 10-year period. Here, we present the results for AT&T and IBM; the results for other companies are comparable. Each model-the Buy network and the Sell network-produces simultaneous indicator signals on the continuous range 0.00 < output < 1.00 for each trading day. Both networks can potentially output any value on this range at the same time. We smoothed the outputs with a three-day moving average and defined activation thresholds for each. The result is either a value of "0" (inactive) or "1" (active) for each indicator on each day ("0" when the signal lies below threshold, and "1" when it is above). Once an indicator begins to activate, it typically remain activated for several days. Table 17.6 CPM optimization results | Train/Evaluate/ | | Buy/Sell | Test Subset | Average Absolute Error | Sell | E/G/H | 0.346 | | E/G/H | 0.399 |
Optimizing the statistical network only improves results slightly. Table 17.5 performance of baseline models
Figure 17.8 Buy/sell indicator periods for AT&T. 2 -, -2 - Source: Microsoft Excel. For our trading strategy, we defined the following rules: • If no signal is currently present and either the Buy or Sell indicator activates, take the appropriate action. • Only take action (Buy/Sell) on the first day the indicator signal becomes active; ignore subsequent identical signals until there is a change. • If one signal is present and the other activates, ignore the second signal while both are on. • If both signals are present and one deactivates, then take the action of the remaining signal. • "No Signal" gaps of one days duration are ignored, that is, two "strings" of Buy indicators with a single day of no signal in the middle is treated as a single string of Buy indicators. In addition, because we allow both long and short positions, we include the following rules: • Long positions are closed out by a Sell signal. • Short positions are closed out by a Buy signal, and a new long position is also established at the same Buy price. Finally, each position was closed out at the end of the 10-year period. Note that there are many methods to interpret the indicators produced by this approach by establishing different sets of rules. Here, we merely present one of many.
[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]
|