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.
November 14, 2019 - Technical Trading
A subscriber asked for an update on the effectiveness of applying a two-period Relative Strength Index, RSI(2), to leveraged exchange-traded funds (ETF), with two pairs of trade entry (oversold) and exit (overbought) settings:
- Buy when RSI(2) falls below 10 and sell when it subsequently rises over 90 (10-90).
- More conservatively, buy when RSI(2) falls below 5 and exit when it subsequently rises over 70 (5-70).
To investigate, we run simple tests on ProShares Ultra S&P 500 (SSO) with RSI(2) calculations based on the RSI template from StockCharts. Using daily adjusted SSO opens and closes during July 2006 (the first full month SSO is available) through October 2019, we find that: Keep Reading
November 7, 2019 - Technical Trading
A subscriber inquired whether “The Only Indicator You Will Ever Need” really works. This technical indicator, a form of the Coppock Guide (or curve or indicator), applied to the Dow Jones Industrial Average by Jay Kaeppel, is a multi-parameter composite based on monthly closes as follows:
- Calculate the asset’s return over the past 11 months.
- Calculate the asset’s return over the past 14 months.
- Average these two past returns.
- Each month, calculate the 10-month front-weighted moving average (WMA) of this average (multiply the most recent value by 10, the next most recent by 9, the value for the month before that by 8, etc). Then sum the products and divide by 55.
- Hold the asset (cash) if this WMA is above (below) its value three months ago.
We designate this indicator 11-14WMA3. To test 11-14WMA3 in realistic scenarios, we apply it to the entire available histories for three exchange-traded funds (ETF): SPDR S&P 500 (SPY), SPDR Dow Jones Industrial Average (DIA) and iShares Russell 2000 (IWM). We consider buy-and-hold and a conventional 10-month simple moving average timing strategy (SMA10) as benchmarks. SMA10 holds the ETF (cash) when the ETF’s most recent monthly close is above (below) its 10-month SMA. Using monthly dividend-adjusted and unadjusted closes for the ETFs from their respective inceptions through September 2019 and contemporaneous 3-month U.S. Treasury bill (T-bill) yield, we find that: Keep Reading
November 4, 2019 - 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 (nearly 26 years); and, (2) the S&P 500 Index (SP500) since January 1948 (limited by UR availability), adjusted monthly by estimated dividends from the Shiller dataset, for longer-term robustness tests (nearly 71 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. We make the simplifying assumptions that UR for a given month is available for SMA12 calculation and signal execution at the market close for that same 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 or tax considerations, we do calculate the number of switches for each scenario. Using specified monthly data through September 2019, we find that: Keep Reading
November 1, 2019 - Individual Gurus, Technical Trading
A reader asked about the usefulness of the S&P Short-range Oscillator as sometimes used by Jim Cramer to forecast U.S. stock market returns. The self-reported “Performance” of the oscillator, relying on in-sample visual inspection with snooped thresholds, is of small use. Since continuous historical values of the indicator are not publicly available, we conduct an out-of-sample test by:
- Searching CNBC.com for “Oscillator” “Mad Money” and just “Oscillator” on October 3, 2019 and identifying articles with U.S. stock market forecasts from Jim Cramer based on the S&P Short-range Oscillator.
- Extracting the date for each forecast and determining whether it is call to be “In” or “Out” of the market.
- Calculating for each call a cumulative S&P 500 Index return starting at the next open after the article date (generally timestamped after the market close) for 21 trading days.
- Computing average cumulative performances of “In” and “Out” calls.
- Comparing these averages to that for all days spanning the search results.
Using the 15 qualifying articles and daily opening levels of the S&P 500 Index during June 16, 2008 through October 31, 2019, we find that: Keep Reading
September 13, 2019 - Fundamental Valuation, Technical Trading
Can investors effectively use firm characteristics to screen European stocks? In their August 2019 paper entitled “Predictability and the Cross-Section of Expected Returns: Evidence from the European Stock Market”, Wolfgang Drobetz, Rebekka Haller, Christian Jasperneite and Tizian Otto examine the power of 22 firm characteristics to predict stock returns individually and jointly. They assume market-based characteristics are available immediately and accounting-based characteristics are available four months after firm fiscal year end. For multi-characteristic predictions, they consider 5-characteristic, 8-characteristic and 22-characteristic models. For regression-based forecasts, they use either 10-year rolling or inception-to-date monthly inputs. For economic tests, they form equal-weighted or value-weighted portfolios that are each month long (short) the tenth, or decile, of stocks with the the highest (lowest) expected next-month returns based on 22-characteristic regression outputs. To estimate net performance, they apply one-way trading frictions of 0.57%. Using groomed monthly data for all firms in the STOXX Europe 600 index during January 2003 through December 2018, they find that:
Keep Reading
August 26, 2019 - Economic Indicators, Equity Premium, Technical Trading
In response to “OFR FSI as Stock Market Return Predictor”, a subscriber suggested overlaying a 10-month simple moving average (SMA10) technical indicator on the Office of Financial Research Financial Stress Index (OFR FSI) fundamental indicator for timing SPDR S&P 500 (SPY). The intent of the suggested overlay is to expand risk-on opportunities safely. To test the overlay, we add four strategies (4 through 7) to the prior three, each evaluated since January 2000 and since January 2009:
- SPY – buy and hold SPY.
- OFR FSI-Cash – hold SPY (cash as proxied by 3-month U.S. Treasury bills) when OFR FSI at the end of the prior month is negative or zero (positive).
- OFR-FSI-VFITX – hold SPY (Vanguard Intermediate-Term Treasury Fund Investor Shares, VFITX, as a more aggressive risk-off asset than cash) when OFR FSI at the end of the prior month is negative or zero (positive).
- SMA10-Cash – hold SPY (cash) when the S&P 500 Index is above (at or below) its SMA10 at the end of the prior month.
- SMA10-VFITX – hold SPY (VFITX) when the S&P 500 Index is above (at or below) its SMA10 at the end of the prior month.
- OFR-FSI-SMA10-Cash – hold SPY (cash) when either signal 2 or signal 4 specifies SPY. Otherwise, hold cash.
- OFR-FSI-SMA10-VFITX – hold SPY (cash) when either signal 3 or signal 5 specifies SPY. Otherwise, hold VFITX.
Using end-of-month values of OFR FSI, SPY total return and level of the S&P 500 Index during January 2000 (OFR FSI inception) through June 2019, we find that:
Keep Reading
July 23, 2019 - Momentum Investing, Technical Trading
Some traders use a Relative Strength Index (RSI) range to identify trend and RSI extremes to signal turning points. How long should they require that RSI remain in range, and how often should they require that RSI recapture a momentum threshold? In his December 2018 paper entitled “Finding Consistent Trends with Strong Momentum – RSI for Trend-Following and Momentum Strategies”, Arthur Hill systematically tests the predictive power of 14-day RSI range and momentum signals on S&P 500 stocks. Specifically, he tests each of the following five signals over lookback intervals of 25, 50, 75, 100 and 125 trading days:
- RSI Bull Range: RSI between 40 and 100.
- RSI Bear Range: RSI between 0 and 60.
- RSI Bull Momentum: highest high value of RSI greater than 70.
- RSI Bear Momentum: lowest low value of RSI less than 30.
- RSI Bull Range-Momentum: combination of 1 and 3.
For example, 25-day RSI Bull Range signals buy at the close when 14-day RSI has been between 40 and 100 over the last 25 trading days and sell at the open when it next crosses below 40. His performance metrics are gross Success Rate (frequency of positive/negative returns after buy/sell signals) and gross Profit/Loss Ratio (average gain of successful trades divided by average loss of failed trades). Using daily prices for historical S&P 500 stocks during July 1998 through June 2018, he finds that:
Keep Reading
July 12, 2019 - Calendar Effects, Technical Trading
A subscriber commented and asked:
“Some have suggested that the end-of-the-month effect benefits monthly simple moving average strategies that trade on the last day of the month. Is there an optimal day of the month for long-term SMA calculation and does the end-of-the-month effect explain the optimal day?”
To investigate, we compare 21 variations of a 10-month simple moving average (SMA10) timing strategy generated by shifting the monthly return calculation cycle relative to trading days from the end of the month (EOM). Specifically, the 21 variations represent calculation cycles ranging from 10 trading days before EOM (EOM-10) to 10 trading days after EOM (EOM+10). We apply the strategy to the S&P 500 Index as a proxy for the U.S. stock market. The strategy holds the S&P 500 Index (cash) whenever the index is above (below) its SMA10 as of the most recent monthly calculation. Using daily S&P 500 Index closes and 3-month Treasury bill (T-bill) yields as the return on cash during January 1990 through mid-June 2019, we find that: Keep Reading
April 26, 2019 - Technical Trading
How well do trailing stop-loss rules work for U.S. stocks? In their March 2019 paper entitled “Risk Reduction Using Trailing Stop-Loss Rules”, Bochuan Dai, Ben Marshall, Nick Nguyen and Nuttawat Visaltanachoti evaluate effectiveness of trailing stop-loss rules. Traditional stop-loss rules are price-based or time-based. Trailing stop rules sell (buy back) a stock when it declines X% from a high price (rises X% above a low price). The initial trailing stop is X% below the purchase price, remaining at this level unless the stock price rises and escalates to X% below each new high. Stock sales occur at the close on the day after respective stop-loss triggers, with proceeds moved to U.S. Treasury bills (T-bills). Stock re-entries occur at the close on the day after respective buy triggers (see the figure below). They consider trailing stop thresholds of 1%, 5%, 10% and 20%. They use buy-and-hold as a benchmark. Using daily returns for 25,997 common stocks, including delisted stocks, during July 1926 through December 2016, they find that:
Keep Reading
April 18, 2019 - Momentum Investing, Strategic Allocation, Technical Trading
What are optimal allocations during retirement years for a portfolio of stocks and bonds, without and with a trend following overlay? In their March 2019 paper entitled “Absolute Momentum, Sustainable Withdrawal Rates and Glidepath Investing in US Retirement Portfolios from 1925”, Andrew Clare, James Seaton, Peter Smith and Steve Thomas compare outcomes across two sets of U.S. retirement portfolios since 1925:
- Standard – allocations to the S&P 500 Index and a bond index ranging from all stocks to all bonds in increments of 10%, rebalanced at the end of each month.
- Trend following – the same portfolios with a trend following overlay that shifts stock index and bond index allocations to U.S. Treasury bills (T-bills) when below respective 10-month simple moving averages at the end of the preceding month.
They consider investment horizons of 2 to 30 years to assess glidepath effects. They consider both U.S. Treasury bonds and U.S. corporate bonds to assess credit effects. For comparison of portfolio outcomes, they use real (inflation-adjusted) returns and focus on Perfect Withdrawal Rate (PWR), the maximum annual withdrawal rate that results in zero terminal value (requiring perfect foresight). Using monthly data for the S&P 500 Index, U.S. government and corporate bond indexes and U.S. inflation during 1926 through 2016, they find that: Keep Reading