Downloading . . . If the document you requested does not automatically load, please click here.
UNSYSTEMATIC FUTURES PROFITS WITH TECHNICAL
TRADING RULES: A CASE FOR FLEXIBILITY
Nauzer Balsara, Kathleen Carlson and Narendar V. Rao
Abstract
This paper studies the behavior of a fixed-parameter technical trading rule as applied to four commodity futures contracts. The evidence suggests that fixed-parameter rules are inflexible, leading to wide swings in performance both across commodities and time periods. Consequently, the paper recommends the use of flexible-parameter trading rules which adapt to changes in market conditions, instead of expecting the market to operate within the specifications of an unalterable set of rules.
INTRODUCTION
Considerable research has been conducted on the effectiveness of technical analysis and mechanical trading rules to ascertain the efficiency of the stock and commodity futures markets. Ever since the inception of the "random walk" model of stock and futures prices promoted by Samuelson (1965) and Fama (1970), the utility of technical trading systems has been largely discounted on a theoretical basis. Since the random walk model contends that price fluctuations occur randomly, technical systems which rely upon the existence of price trends cannot be profitable in the long run. However, a distinction is often made between price behavior in the stock market and the commodity futures markets. The random walk hypothesis has had more rigorous testing in stock markets than it has in the commodity futures markets.
In the futures markets, there is some evidence of systematic price changes. For example, Stevenson and Bear (1970) studied day-to-day changes of corn and soybeans futures prices over a seventeen year period and concluded that the use of mechanical rules to enter and exit a market could help a trader outperform the buy-and-hold strategy, given the existence of runs and serial price dependence. This conclusion was supported by Cargill and Rausser (1975), who rejected the random walk model as a realistic description of the futures markets.
More recently, Neftci and Policano (1984) examined the efficacy of two mechanical rules as applied to gold and Treasury bill futures, and found that such rules could be profitable over certain time periods. Tomek and Querin (1984) studied simulated data to show the existence of trends in a random series of numbers, implying that mechanical trading rules could perform a useful role. However, they found that these trends did not recur with measurable regularity.
It is the unsystematic nature of trends that could prove to be the undoing of fixed-parameter mechanical trading rules, since such rules are slow to respond to changes in market conditions. Without questioning the superiority of mechanical trading rules over the simple buy-and-hold strategy, this paper studies the consistency of such rules as applied to historical futures price data across different time periods and commodities. The remainder of this article is organized as follows: section I outlines the hypotheses to be tested; section II explains the research methodology and describes the data used for the study; section III discusses the empirical results of the analysis; section IV summarizes the conclusions.
HYPOTHESES
Given the inherent differences across commodities, it is likely that their price behavior could vary significantly at a given point in time. For example, there is no reason to assume that gold prices will move in step with soybean prices. As a result, there could be significant differences in the profits generated by a given mechanical rule at a point in time across commodities. Accordingly, it is hypothesized that a given trading rule might generate significantly different profits across commodities at a given point in time.
Secondly, it is hypothesized that profits derived from trading rules will vary significantly for a given commodity across time periods. This follows from the fact that market conditions for a given commodity are apt to change across time, and since these changes do not recur with measurable regularity, it is conceivable that a given mechanical rule might not perform consistently well across time periods. For example, in the case of gold, the late 1970's saw prices sky-rocket to as much as $850 an ounce. However, prices have been declining since 1981, and have vacillated between $300 and $400 an ounce between 1983 and 1987. It is hardly surprising, therefore, that the profits generated by a given rule for gold for the period 1979-1981 should substantially outweigh the profits generated by the same rule during 1983-1985 or 1985-1987.
Profit differences across time may also result from inherent differences among trading rules. For example, during periods of market consolidation, when prices are trading within a narrow range, a more sensitive rule may react to market fluctuations with greater precision, and hence greater profitability. However, when markets are trending in a particular direction, a highly sensitive trading rule might well misinterpret a minor correction to be a directional shift in the underlying trend, leading to premature entry into or exit out of a given trade.
RESEARCH METHODOLOGY AND DATA
Research Methodology
The dual moving average crossover rule, commonly used by technical traders, is employed to generate signals for entering into and exiting out of a trade. Moving averages of historic daily settlement prices are calculated. The lengths of the two moving averages are unequal, so as to allow for a crossover between the shorter and longer moving averages. The shorter the time period over which the moving average is calculated, the more responsive it is to price fluctuations. Therefore, when the shorter of the dual moving averages crosses above the longer moving average, this signifies an up-trend in prices, generating a buy signal at the crossover point. Similarly, when the shorter moving average crosses below the longer-term moving average, we have a downtrend in prices, and the crossover signals selling the commodity in question.
For the purposes of this paper, the shorter-term moving average ranges from 3 to 15 days, in increments of 3 days. The longer-term moving average is based on historical data for the past 9 to 45 days, in increments of 6 days. Disregarding duplications and combinations of shorter- and longer-term moving averages which are exactly alike, we have a total of 31 daily moving average combinations in our study. The 31 rules are categorized into five groups according to the length of the shorter moving average parameter used: the three-, the six-, the nine-, the twelve-, and the fifteen-day moving average parameter groups.
The hypotheses will be tested using a two-way analysis of variance (ANOVA) technique. Checking for differences in profit for a given commodity across rules and different time periods, the ANOVA technique allows us to decompose total variance by (a) trading rules, (b) time periods. Similarly, the ANOVA model postulates that differences in performance for a given commodity across time could be a function of either (a) differences across trading rules, or (b) inherent differences in market conditions across time periods. Differences in performance not explained by either trading rule or time period are attributed to a random error term.
The analysis of variance will be carried out both in terms of absolute dollar profits as well as for the standardized "Z" scores of profits, where "Z" measures how many standard deviations the observed profit is above (or below) the mean profit for a given time period. The standardized profits are calculated to gain a clearer understanding of the relative performance of the 31 trading rules. Positive Z scores indicate higher than average profitability, whereas negative Z scores indicate lower than average profitability.
Data
Daily futures price data have been obtained from the Dunn and Hargitt futures data tape for the following four commodities: Comex gold, Treasury bonds, soybeans and Japanese yen. The commodities selected for the study include one metal, one grain, one currency, and one financial instrument, representing each of the major commodity groups traded on the futures exchanges. The period considered for the study ranges from November 1979 to November 1987. The data has been sub-divided into four equal sub-periods of two years each: 1979-1981, 1981-1983, 1983-1985, and 1985-1987. The data has been screened for obvious errors, such as missing values.
A continuous price series is constructed by concatenation of the nearest futures contract at any given time each commodity. A rollover to a new contract is effected about two weeks prior to the expiration of the current contract. Consequently, the price series considers the most actively traded period for each commodity. Moreover, concatenation enables us to work with a larger sample size, enhancing the power of our statistical tests.
RESULTS
Table 1 gives the average profit and standard deviation thereof for each of the four commodities and four sub-periods. It also presents the overall average profit and standard deviation across all four sub-periods. The Table also highlights the minimum and maximum profit earned for each of the commodities, and indicates the percentage of rules that resulted in a loss for a given commodity and time period.
Notice the wide swings in the performance of the moving average crossover rules as applied to gold and soybeans. Whereas 3% of the rules under review resulted in a loss for gold during 1979-1981, as many as 80% of the same rules were unprofitable during 1983-1985. In the case of soybeans, whereas 10% of the rules studied were unprofitable during 1979-1981, as many as 96% were unprofitable between 1985-1987! We observe a greater degree of consistency in the performance of the moving average rules in case of Treasury bonds and the Japanese yen. Whereas the maximum percentage of rules operating at a loss is 29% for Treasury bonds, it is only 16% for the yen, supporting the conclusion that there is a greater degree of consistency in the results achieved by the moving average crossover rules as applied to bonds and the yen.
Table 2 classifies the trading rules into parameter groups according to the length of the shorter moving average used in the dual moving average crossover rule. As a result, we have five groups: the three-day, the six-day, the nine-day, the twelve-day, and the fifteen-day. In the case of gold and soybeans, there is no measurable difference in the average Z scores across the five parameter groups studied. Reiterating the findings reported in Table 1, moving average crossover rules were simply not equipped to capture the price swings in these markets in a timely fashion. Consequently, altering the length of the shorter moving average did not have any marked impact on profitability.
In the case of Treasury bonds and the yen, where the moving average crossover rules performed with a greater degree of consistency, Table 2 suggests that the three- and six-day parameter groups performed better, on average, as compared to the twelve- and fifteen-day groups. The average Z scores for the three-day and six-day groups for Treasury bonds are 0.38 and 0.16 respectively, higher than the average Z scores of -0.18 and -0.38 for the twelve- and fifteen-day groups respectively. Similarly, in case of the yen, the average Z scores for the three- and six-day groups are 0.37 and 0.17, higher than the corresponding Z scores of -0.16 and -0.72 for the twelve- and fifteen-day groups. On balance, therefore, we find that shorter moving averages perform better than longer moving averages in the case of Treasury bonds and yen. Perhaps this is because the shorter the lag length of the moving average, the more responsive it is to changes in market conditions.
In view of the foregoing, a trader might be tempted to adopt a moving average crossover rule with a shorter lag length for trading Treasury bonds or the yen. In order to study the consistency of performance of a given trading rule over different time periods, the Pearson product-moment correlation coefficient was computed for the Z scores for each of the 31 rules across the four sample periods. The results are presented in Table 3. Table 3 clearly shows that in the case of Treasury bonds and the Japanese yen, there are no statistically significant correlations between the Z score for a given trading rule across time periods. Therefore, although shorter lag lengths perform better on average than longer lag lengths, an individual trading rule cannot be depended upon for consistent results.
Further support for this conclusion is found in Tables 4 and 5 which give rule-specific performance data in respect of Treasury bonds and the yen for each of the 31 rules over the four time periods. For example, in case of Treasury bonds, the 3- and 9-day rule has the highest Z score of 2.00 during 1979-1981. However, during 1981-1983, the 9-day has one of the lowest Z scores of -1.92! Similarly, in case of the yen, whereas the 6- and 9-day rule has the lowest Z score of -3.24 during 1979-1981, it is the best performer the following period, 1981-1983, with a Z score of 2.21! Whereas it turns in an above average performance during 1983-1985, it slumps once again in 1985-1987. Clearly, there is an inconsistency in the performance of individual trading rules which is camouflaged when the same rules are categorized into larger, homogeneous groups.
Part 1 of Table 6 gives the results of the ANOVA test of mean differences of profits across commodities and time periods. There is a statistically significant difference in profits across both commodities and time periods, confirming the first hypothesis. This suggests that a rule which works well for one commodity or during one time period need not necessarily work equally well during other time periods or for other commodities. For example, moving average rules did extremely well between 1979 and 1981 for gold, when gold prices sky-rocketed to $800 an ounce. However, in the absence of similar swings in the other commodities the moving average rules did not fare as well for the other commodities over the same period.
Part 2 of Table 6 tests for mean differences of profits for a given commodity across each of four time periods and each of the five categories of trading rules, referred to as "parameter group." The analysis is carried out both in terms of absolute dollars and the standardized Z scores of profits. We observe from Table 6 that changes in market conditions across time period account for a significant proportion of the total profit variation. The variation due to time periods is statistically significant at the .01 level of significance for each of the four commodities studied, suggesting that a rule that works well for a given commodity in one time period need not work equally well for the same commodity across other time periods.
The variation due to parameter groups is significant at the .01 level in case of Treasury bonds, and at the .02 level in case of the Japanese yen. This significance is also observed when the profits are reported in terms of Z scores, albeit at the .05 level of significance in case of Treasury bonds. This confirms the finding that the shorter parameter length moving average crossover rules tended to outperform the longer lag length rules in case of bonds and the yen. However, there is no statistical significance observed across parameter groups in case of gold and soybeans, supporting the conclusion that none of the parameter groups studied were able to turn in a superior performance with any degree of consistency.
CONCLUSION
The conclusions arrived at in this paper support the findings of Stevenson and Bear (1970) to the extent that mechanical trading rules can be profitable at times. However, it would be naive to believe that a given rule will perform consistently well across different commodities and time periods. This is due to the fact that although price trends do exist, these trends do not recur with a regular periodicity. Therefore, the much-touted virtue of blind-faith allegiance to the dictates of a fixed-parameter mechanical system may not be so rewarding after all, given the serious inconsistencies in performance of such systems! The present study shows that strict adherence to a fixed-parameter system is potentially damaging to the technical trader.
These findings have powerful practical implications, in as much as they recommend that traders be wary about using fixed-parameter mechanical trading systems. Instead of expecting the market to adapt to a fixed, time-invariant set of rules, a mechanical system should be flexible in nature, adjusting its parameters dynamically in response to changes in market conditions as soon as they occur. Flexible systems are the key to success in any technical trading program in the futures market.
REFERENCES
[1] Cargill, T. and Rausser, G., "Temporal Price Behavior in Commodity Markets," Journal of Finance, Vol. 30, No. 4, September 1975.
[2] Fama, E.F., "Efficient Capital Markets: A Review of the Theory and Empirical Evidence," Journal of Finance 25, May 1970.
[3] Neftci, S.N. and Policano, A.J., "Can Chartists Outperform The Market? Market Efficiency Tests for Technical Analysis," Journal of Futures Markets, Vol. 4, No. 4, 1984.
[4] Samuelson, P.A., "Proof that Properly Anticipated Prices Fluctuate Randomly," Industrial Management Review, Spring 1965.
[5] Stevenson, R. and Bear, R.,. "Commodity Prices: Trends or Random Walks," Journal of Finance 25, March 1965.
[6] Tomek, W. and Querin, S., "Random Processes in Prices and Technical Analysis," Journal of Futures Markets, Vol. 4, No. 1, 1984.
TABLE 1
Summary Of Performance Of Trading Rules By Time Period & Commodity
Dual Moving Average Rules
CV refers to the Coefficient of Variation, a statistical concept derived by dividing the standard deviation by the average return. Expressed as a percentage, CV reflects the degree of volatility, expressed as a percentage of the average value of a variable: the greater the percentage, the greater the volatility. If the average is a negative value, CV was not computed.
TABLE 2
Comparison Of Moving Average Rules
According To Length Of Shorter Average
TABLE 3
Correlations Of Z Scores
Moving Average Trading Rules
TABLE 4
Summary Of Moving Average Trading Rules
T-Bonds
TABLE 5
Summary Of Moving Average Trading Rules
Japanese Yen
TABLE 6
Summary Of Analyses Of Variance & Comparisons Of Group Means
*In analyses of Z scores, the results for factor of Time Period are not reported, since the Z score transformation made all time the averages of all time periods equal. "Sig" refers to probability of result by chance.