Evidence-based investing research
Value Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
Cash TLT LQD SPY
Momentum Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
1st ETF 2nd ETF 3rd ETF

True Out-of-Sample Test of “Best” Technical Trading Rules

Steve LeCompte | | Posted in: Technical Trading

Key Insight

The 26 best technical trading rules from 1897-1986 DJIA underperformed buy-and-hold ($0.85 vs $3.87 terminal value; 1987-2011 out-of-sample test; long-short positions per signals; true prospective design avoiding retrospective bias).

How do the technical trading rules that work best in a past study perform for new data? In the March 2012 version of their paper entitled “Predictability of the Simple Technical Trading Rules: An Out-of-Sample Test”, Jiali Fang, Ben Jacobsen and Yafeng Qin re-test performances of the 26 best technical trading rules from a 20-year old study with new data. This true out-of-sample approach avoids biases arguably endemic in retrospective testing. The selected 26 trading rules are those that perform best as applied to the Dow Jones Industrial Average (DJIA) during 1897 through 1986. These best rules are reasonably representative of rules applied in practice, comprising three groups: variable-holding interval moving average rules; fixed-holding interval moving average rules; and, trading range breakout rules. Analysis assumes long and short positions according to buy and sell signals (not long and cash). Using daily closes for DJIA during January 1987 through March 2011 and during February 1885 through December 1896, and for the S&P 500 Composite Index during January 1987 through March 2011, they find that:

  • Overall, there is little or no evidence from 1987- 2011 DJIA data supporting belief in the continued effectiveness of the 26 best technical trading rules from 1897-1986. In fact, returns for most sell signals in the new data are positive.
  • Removing the post-2008 financial crisis subperiod does not affect this conclusion.
  • Nor does evidence from 1987-2011 S&P 500 Composite Index data or 1885-1895 DJIA data support belief in effectiveness of these 26 trading rules.
  • The 1897-1986 profitability of these rules does not gradually attenuate after 1986 but rather disappears abruptly in the new data, indicating that sample bias rather than increasing market efficiency is the likely explanation of the past effectiveness.

The following chart, taken from the paper, compares the cumulative value of $1.00 initial investments in an 1897-1986 “best” technical trading rule, the (1, 50) variable-holding interval moving average rule, and a buy-and-hold approach using 1987-2011 DJIA data. This rule is long (short) when the daily DJIA close is above (below) the 50-day moving average. Terminal values at the end of March 2011 are $0.85 for the (1, 50) trading rule and $3.87 for buy-and-hold. The cumulative value of the trading rule ranges between $0.55 and $1.41, seldom outperforming the market.

Results for the other 25 1897-1986 “best” trading rules are similar.

trading rule performance

In summary, evidence from true out-of-sample tests on the best technical trading rules from 1897-1986 indicates that testing biases are the source of their past outperformance.

Cautions regarding findings include:

  • Returns are gross, not net. Including reasonable trading frictions, which vary considerably over the sample period, would reduce reported technical trading rule returns depending on number of trades (to the advantage of buying and holding the index).
  • Shorting costs would also reduce reported returns while on sell signals.
  • Testing on indexes rather than tradable assets ignores the costs (trading frictions and management fees) involved in establishing and maintaining actual portfolios.

Frequently Asked Questions

What are technical trading rules such as moving average and trading range breakout rules?

Technical trading rules are signal-based strategies that generate buy and sell signals from past price data rather than fundamentals. The article studies three groups: variable-holding interval moving average rules, fixed-holding interval moving average rules, and trading range breakout rules. For example, the (1, 50) rule is long when the daily DJIA close is above its 50-day moving average and short when below.

Do the best historical technical trading rules still beat buy-and-hold on new data?

The 26 best technical trading rules from 1897-1986 did not continue to beat buy-and-hold in 1987-2011 DJIA data, which offers little or no evidence of continued effectiveness. For the (1, 50) moving average rule, $1.00 grew to $0.85 versus $3.87 for buy-and-hold by March 2011, and the other 25 rules performed similarly. Results held when excluding the post-2008 financial crisis period and when using S&P 500 data or 1885-1895 DJIA data.

How do you run a true out-of-sample test of technical trading rules?

A true out-of-sample test of technical trading rules selects the best-performing rules from an earlier period and then applies them unchanged to new data. Here, the 26 best rules from DJIA data for 1897-1986 were tested on daily closes for 1987 through March 2011, assuming long positions on buy signals and short positions on sell signals (not long and cash). The rules were also checked on the S&P 500 Composite Index for 1987-2011 and on DJIA data for 1885-1896, which avoids the biases of retrospective testing.

Does the failure of past trading rules mean markets became more efficient or the original results were biased?

The failure of the 26 best technical trading rules is more consistent with sample bias than with increasing market efficiency. Profitability from 1897-1986 did not gradually fade after 1986 but disappeared abruptly in the new data. This indicates that testing biases, rather than rising efficiency, are the likely source of the rules' past outperformance.

What are the limitations of backtesting technical trading rules on index data?

The reported returns for the technical trading rules are gross, not net, so they ignore trading frictions that vary considerably over the sample period. Including those costs would reduce rule returns in proportion to the number of trades, favoring buy-and-hold, and shorting costs on sell signals would reduce returns further. Testing on indexes rather than tradable assets also ignores the trading frictions and management fees of maintaining actual portfolios.

Guru Grades

1,206 predictions by 42 market gurus since 2022: 41% right. Always saying stocks will go higher: 62%.

As of the Nov 20, 2026 close

  1. 1 Ed Yardeni A 71%
  2. Always bullish B 62%
  3. 2 Jim Paulsen B 61%
  4. 3 Sam Stovall B 58%
  5. 4 Adam Turnquist B 58%
  6. 5 Ryan Detrick B 56%

Full leaderboard ›