# Technical Trading

Does technical trading work, or not? Rationalists dismiss it; behavioralists investigate it. Is there any verdict? These blog entries relate to technical trading.

**January 19, 2018** - Economic Indicators, Technical Trading

A subscriber proposed: “It would be interesting to do an analysis of the Chemical Activity Barometer [CAB] to see if it has predictive value for the stock market. Either [look] at stock prices when [CAB makes] a two percent pivot down [from a preceding 6-month high] as a sell signal and one percent pivot up as a buy signal…[or when CAB falls] below its x month moving average.” The American Chemistry Council claims that CAB “determines turning points and likely future trends of the wider U.S. economy” and leads other commonly used economic indicators. To investigate its usefulness for U.S. stock market timing, we consider the two proposed strategies, plus two benchmarks, as follows:

- CAB SMAx Timing – hold stocks (the risk-free asset) when monthly CAB is above (below) its simple moving average (SMA). We consider SMA measurement intervals ranging from two months (SMA2) to 12 months (SMA12).
- CAB Pivot Timing – hold stocks (the risk-free asset) when monthly CAB most recently crosses 1% above (2% below) its maximum value over the preceding six months. We look at a few alternative pivot thresholds.
- Buy and Hold (B&H) – buy and hold the S&P Composite Index.
- Index SMA10 – hold stocks (the risk-free asset) when the S&P Composite Index is above (below) its 10-month SMA (SMA10), assuming signal execution the last month of the SMA measurement interval.

Since CAB data extends back to 1912, we use Robert Shiller’s S&P Composite Index to represent the U.S. stock market. For the risk-free rate, we use the 3-month U.S. Treasury bill (T-bill) yield since 1934. Prior to 1934, we use Shiller’s long interest rate minus 1.59% (the average 10-year term premium since 1934). We assume a constant 0.25% friction for switching between stocks and T-bills as signaled. We focus on number of switches, compound annual growth rate (CAGR) and maximum drawdown (MaxDD) as key performance metrics. Using monthly data for CAB, the S&P Composite Stock Index, estimated dividends for the stocks in this index (for calculation of total returns) and estimated long interest rate during January 1912 through December 2017 (about 106 years), and the monthly T-bill yield since January 1934, *we find that:* Keep Reading

**December 19, 2017** - Economic Indicators, Technical Trading

In reaction to “Combine Market Trend and Economic Trend Signals?”, a subscriber suggested adding an interest rate trend signal to those for the U.S. stock market and U.S. unemployment rate for the purpose of timing the S&P 500 Index (SP500). To investigate, we look at combining:

We consider scenarios when the SP500 trend is positive, the UR trend is positive, the T-bill trend is positive, at least one trend is positive (>=1), at least two trends are positive (>=2) or all three trends are positive (All). For total return calculations, we adjust the SP500 monthly with estimated dividends from the Shiller dataset. When not in the index, we assume return on cash from the broker is the specified T-bill yield. We focus on gross compound annual growth rate (CAGR), maximum drawdown (MaxDD) and annual Sharpe ratio as key performance metrics. We use the average monthly T-bill yield during a year as the risk-free rate for that year in Sharpe ratio calculations. While we do not apply any stocks-cash switching frictions, we do calculate the number of switches for each scenario. Using the specified monthly data through October 2017, *we find that:* Keep Reading

**November 29, 2017** - Economic Indicators, Technical Trading

A subscriber requested review of an analysis concluding that combining economic trend and market trend signals enhances market timing performance. Specifically, per the example in the referenced analysis, we look at combining:

- The 10-month simple moving average (SMA10) for the broad U.S. stock market. The trend is positive (negative) when the market is above (below) its SMA10.
- The 12-month simple moving average (SMA12) for the U.S. unemployment rate (UR). The trend is positive (negative) when UR is below (above) its SMA12.

We consider scenarios when the stock market trend is positive, the UR trend is positive, either trend is positive or both trends are positive. We consider two samples: (1) dividend-adjusted SPDR S&P 500 (SPY) since inception at the end of January 1993 (24 years); and, (2) the S&P 500 Index (SP500) since January 1950, adjusted monthly by estimated dividends from the Shiller dataset, as a longer-term robustness test (67 years). Per the referenced analysis, we use the seasonally adjusted civilian UR, which comes ultimately from the Bureau of Labor Statistics (BLS). BLS generally releases UR monthly within a few days after the end of the measured month. When not in the stock market, we assume return on cash from the broker is the yield on 3-month U.S. Treasury bills (T-bill). We focus on gross compound annual growth rate (CAGR), maximum drawdown (MaxDD) and annual Sharpe ratio as key performance metrics. We use the average monthly T-bill yield during a year as the risk-free rate for that year in Sharpe ratio calculations. While we do not apply any stocks-cash switching frictions, we do calculate the number of switches for each scenario. Using the specified monthly data through October 2017, *we find that:* Keep Reading

**November 15, 2017** - Strategic Allocation, Technical Trading, Volatility Effects

A subscriber requested comparison of four variations of an “Ivy 5” asset class allocation strategy, as follows:

- Ivy 5 EW: Assign equal weight (EW), meaning 20%, to each of the five positions and rebalance annually.
- Ivy 5 EW + SMA10: Same as Ivy 5 EW, but take to cash any position for which the asset is below its 10-month simple moving average (SMA10).
- Ivy 5 Volatility Cap: Allocate to each position a percentage up to 20% such that the position has an expected annualized volatility of no more than 10% based on daily volatility over the past month, recalculated monthly. If under 20%, allocate the balance of the position to cash.
- Ivy 5 Volatility Cap + SMA10: Same as Ivy 5 Volatility Cap, but take completely to cash any position for which the asset is below its SMA10.

To perform the tests, we employ the following five asset class proxies:

iShares 7-10 Year Treasury Bond (IEF)

SPDR S&P 500 (SPY)

Vanguard REIT ETF (VNQ)

iShares MSCI EAFE Index (EFA)

PowerShares DB Commodity Index Tracking (DBC)

We consider monthly performance statistics, annual performance statistics, and full-sample compound annual growth rate (CAGR) and maximum drawdown (MaxDD). The DBC series in combination with the SMA10 rule are limiting with respect to sample start date and the first return calculations. Using daily and monthly dividend-adjusted closing prices for the five asset class proxies and the yield on 13-week U.S. Treasury bills (T-bills) as a proxy for return on cash during February 2006 through October 2017 (141 months), *we find that:* Keep Reading

**September 25, 2017** - Momentum Investing, Strategic Allocation, Technical Trading

Does adding a position take-profit (stop-gain) rule improve the performance of the “Simple Asset Class ETF Momentum Strategy” (SACEMS) by harvesting some upside volatility? SACEMS each month picks winners from the following set of exchange-traded funds (ETF) based on total returns over a specified lookback interval:

PowerShares DB Commodity Index Tracking (DBC)

iShares MSCI Emerging Markets Index (EEM)

iShares MSCI EAFE Index (EFA)

SPDR Gold Shares (GLD)

iShares Russell 2000 Index (IWM)

SPDR S&P 500 (SPY)

iShares Barclays 20+ Year Treasury Bond (TLT)

Vanguard REIT ETF (VNQ)

3-month Treasury bills (Cash)

To investigate the value of stop-gains, we augment SACEMS with a simple rule that: (1) exits to Cash from any current winner ETF when its intra-month return rises above a specified threshold; and, (2) re-sets positions per winners at the end of the month. We focus on gross compound annual growth rate (CAGR) and gross maximum drawdown (MaxDD) as key performance statistics for the Top 1, equally weighted (EW) Top 2 and EW Top 3 portfolios of monthly winners. Using monthly total (dividend-adjusted) returns and intra-month maximum returns for the specified assets during February 2006 (limited by DBC) through August 2017, *we find that:* Keep Reading

**September 22, 2017** - Momentum Investing, Strategic Allocation, Technical Trading

Does adding a position stop-loss rule improve the performance of the “Simple Asset Class ETF Momentum Strategy” (SACEMS) by avoiding some downside volatility? SACEMS each month picks winners from the following set of exchange-traded funds (ETF) based on total returns over a specified lookback interval:

PowerShares DB Commodity Index Tracking (DBC)

iShares MSCI Emerging Markets Index (EEM)

iShares MSCI EAFE Index (EFA)

SPDR Gold Shares (GLD)

iShares Russell 2000 Index (IWM)

SPDR S&P 500 (SPY)

iShares Barclays 20+ Year Treasury Bond (TLT)

Vanguard REIT ETF (VNQ)

3-month Treasury bills (Cash)

To investigate the value of stop-losses, we augment SACEMS with a simple rule that: (1) exits to Cash from any current winner ETF when its intra-month return falls below a specified threshold; and, (2) re-sets positions per winners at the end of the month. We focus on gross compound annual growth rate (CAGR) and gross maximum drawdown (MaxDD) as key performance statistics for the Top 1, equally weighted (EW) Top 2 and EW Top 3 portfolios of monthly winners. Using monthly total (dividend-adjusted) returns and intra-month drawdowns for the specified assets during February 2006 (limited by DBC) through August 2017, *we find that:* Keep Reading

**September 11, 2017** - Technical Trading

Is market breadth a reliable indicator of future stock market returns? To investigate, we perform simple tests on four daily U.S. stock market breadth metrics:

- RSP-SPY – Total return for Guggenheim S&P 500 Equal Weight (RSP) minus total return for SPDR S&P 500 (SPY).
- NYSE A/D – Number of NYSE advancing stocks divided by number of NYSE declining stocks.
- NYSE Up/Down Volume – Volume for NYSE advancing stocks divided by volume of NYSE declining stocks.
- NYSE 52-Week Highs-Lows – Number of NYSE 52-week highs minus number of NYSE 52-week lows.

We use SPY as a proxy for the U.S. stock market. We use correlation tests that assume linear relationships between breadth metrics and future SPY returns and ranking tests that do not. Samples commence May 2003 (initial RSP availability) for the first three and late October 2005 for the fourth. Using daily dividend-adjusted levels of RSP and SPY and daily data for components of the other three breadth metrics from specified start dates through most of August 2017, *we find that:* Keep Reading

**September 5, 2017** - Strategic Allocation, Technical Trading

Does simple asset price trend following based on 10-month simple moving average (SMA10) reliably boost the performance of retirement portfolios? In their July 2017 paper entitled “Can Sustainable Withdrawal Rates Be Enhanced by Trend Following?”, Andrew Clare, James Seaton, Peter Smith and Steve Thomas compare effects of asset class diversification and trend following on safe withdrawal rates from UK retirement portfolios. They consider 60-40 UK stocks-bonds, 30-70 UK stocks-bonds and equally weighted UK stocks, global stocks, bonds, commodities and UK real estate (EW Multi-asset). They further consider risk parity (RP) multi-asset (each class weighted by the inverse of its prior-year volatility) and 100% global stocks (equally weighted across five regions). They focus on a 20-year retirement period (but also consider 30-year), assume annual withdrawals the first day of each year and ignore taxes and rebalancing frictions. They use both in-sequence historical asset returns and Monte Carlo simulations (random draws with replacement from the historical annual returns of each portfolio). They apply trend following separately to each asset by holding the asset (cash) when asset price is above (below) its SMA10. Their key portfolio performance metric is Perfect Withdrawal Rate (PWR), the constant real (inflation-adjusted) withdrawal rate as a percentage of initial portfolio value that exactly exhausts the portfolio at the end of the retirement period. Using monthly total returns in pounds sterling for the selected asset classes and values of the UK consumer price index during 1970 through 2015, *they find that:* Keep Reading

**August 3, 2017** - Momentum Investing, Strategic Allocation, Technical Trading

Does an asset class breadth rule work better than a class-by-class exclusion rule for momentum strategy crash protection? In their July 2017 paper entitled “Breadth Momentum and Vigilant Asset Allocation (VAA): Winning More by Losing Less”, Wouter Keller and Jan Keuning introduce VAA as a dual momentum asset class strategy aiming at returns above 10% with drawdowns less than -20% deep. They specify momentum as the average of annualized total returns over the past 1, 3, 6 and 12 months. This specification gives greater weight to short lookback intervals than a simple average of past returns over these intervals. Specifically, they:

- Each month rank asset class proxies based on momentum.
- Each month select a “cash” holding as the one of short-term U.S. Treasury, intermediate-term U.S. Treasury and investment grade corporate bond funds with the highest momentum.
- Set (via backtest) a breadth protection threshold (B). When the number of asset class proxies with negative momentum (b) is equal to or greater than B, the allocation to “cash” is 100%. When b is less than B, the base allocation to “cash” is b/B.
- Set (via backtest) the number of top-performing asset class proxies to hold (T) in equal weights. When the base allocation to “cash” is less than 100% (so when b<B), allocate the balance to the top (1-b/B)T asset class proxies with highest momentum (irrespective of sign).
- Mitigate portfolio rebalancing intensity (when B and T are different) by rounding fractions b/B to multiples of 1/T.

They construct four test universes from: a short sample of 17 (mostly simulated) exchange traded fund (ETF)-like global asset class proxies spanning December 1969 through December 2016; and, a long sample of 21 index-like U.S. asset classes spanning December 1925 through December 2016. After reserving the first year for initial momentum calculations, they segment each sample into halves for in-sample optimization of B and T and out-of-sample testing. For all cases, they apply 0.1% one-way trading frictions for portfolio changes. Their key portfolio performance metrics are compound annual growth rate (CAGR), maximum drawdown (MaxDD) and a composite of the two. Using monthly returns for the selected ETF-like and index-like assets over respective sample periods, *they find that:*

Keep Reading

**June 21, 2017** - Technical Trading

A subscriber requested tests exploring whether a recent death cross for the Dow Jones Industrial Average (DJIA) portends an index crash. To investigate, we consider two ways of evaluating DJIA performance after death crosses and conversely defined golden crosses:

- Behavior of the index during the 126 trading days (six months) after death and golden crosses.
- Behavior of the index between converse crosses (death cross-to-golden cross, and golden cross-to-death cross).

We focus on distributions of average returns and maximum drawdowns (MaxDD) during specified periods. We also check robustness by repeating DJIA tests on the S&P 500 Index. Using daily DJIA closes since October 1928 and daily S&P 500 Index closes since January 1950, both through May 2017, *we find that:* Keep Reading