# 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.

**March 6, 2023** - Technical Trading, Volatility Effects

Can investors use volatility signals to identify short-term stock market trend changes? In his February 2023 paper entitled “Using Volatility to Add Alpha and Control Portfolio Risk”, John Rothe uses Welles Wilder’s Average True Range (ATR) volatility metric to generate buy and sell signals for broad U.S. stock market indexes. Specifically, he each trading day:

- Computes the true range of a broad equity exchange-traded fund (ETF) as the greatest of: (a) daily high minus low; (b) absolute value of daily high minus previous close; and, (c) absolute value of daily low minus previous close.
- Calculates ATR as the simple average of the last five true ranges (including the current one).
- Generates a Wilder Volatility Stop (WVS) by multiplying ATR by a factor of 2.5 as representative of investor volatility risk tolerance.
- When out of the asset, he buys when the asset closes above a dynamic trendline apparently defined by a trend minimum plus current WVS (breakout). When in the asset, he sells when the asset closes below a dynamic trendline apparently defined by a trend maximum minus current WVS (breakdown).

He focuses on SPDR S&P 500 ETF Trust (SPY) during 2000-2010 (beginning of 2000 through 2009) but also looks at both Invesco QQQ Trust (QQQ) and iShares Russell 2000 ETF (IWM). In an appendix, he provides similar results for 2010-2020. He assume trades occur at the same closes as breakout and breakdown signals. He ignores effects of dividends and trading frictions. He uses buy-and-hold SPY as the benchmark for the strategy applied to SPY. Using daily raw (not dividend-adjusted) data for SPY, QQQ and IWM during January 2000 through December 2019, *he finds that:* Keep Reading

**February 15, 2023** - Technical Trading, Volatility Effects

Are there different patterns of short-term stock return reversal based on stock liquidity (measured by size, volatility or turnover)? In their January 2023 paper entitled “Reversals and the Returns to Liquidity Provision”, Wei Dai, Mamdouh Medhat, Robert Novy-Marx and Savina Rizova examine interactions between short-term reversal returns and stock liquidity metrics. They select reversal candidates from the fifth (quintile) of stocks with the highest (winners) and lowest (losers) industry-relative returns over the last 1, 5 or 21 trading days, excluding 3-day returns around earnings announcements. They separately sort stocks into quintiles by size (market capitalization), volatility (standard deviation of daily returns over the last 63 days) or turnover (average percentage of shares outstanding traded daily over the last 63 days). While the sample includes all NYSE, AMEX and NASDAQ common stocks, quintile breakpoints come from NYSE stocks only. Finally, they look at returns to value-weighted intersections of reversal candidate quintiles and size, volatility or turnover quintiles. Using the specified inputs for all listed U.S. common stocks, measured monthly, during January 1973 through December 2021, *they find that:*

Keep Reading

**February 14, 2023** - Technical Trading

What is the best short-term reversal indicator for equity exchange-traded funds (ETF)? In his January 2023 paper entitled “A Comparison of Short-Term Mean-Reversion Indicators for Global Equities”, Raymond Micaletti tests several short-term mean reversion indicators on equity ETFs. Specifically, he tests 306 trade setups, encompassing:

- Four broad U.S. equity ETFs, 10 U.S. equity sector ETFs and three non-U.S. equity ETFs.
- 17 indicators, including 14 widely known price oscillators and three oscillator modifications.
- Three short-term holding intervals (1, 3 and 5 days).
- Long and short positions.
- Three levels of signal intensity: top (bottom) 10%, 20% or 30% for long (short) trades.

He ranks indicators by aggregate performance across all ETFs and across all signal intensities for all strategies, for all long strategies, for all short strategies and for each holding period (all, long or short). Using 1-minute open-high-low-close-volume data, adjusted for splits and dividends, to calculate indicators and daily returns for all ETFs during 2003 through 2022, *he finds that:* Keep Reading

**January 17, 2023** - Technical Trading

Is there an optimal net (incorporating trading frictions) trend-following strategy for broad stock portfolios? In their November 2022 paper entitled “Optimal Trend-Following With Transaction Costs”, Valeriy Zakamulin and Javier Giner develop and test a simple model that incorporates short-term return persistence (trend) and trading frictions (half bid-ask spread, fees and impact of trading). Their trend-following strategy switches between a stock portfolio and the risk-free asset (Treasury bills). They model trend as typically positive, linearly decreasing daily return autocorrelations for lags up to 25 trading days. For empirical tests, they focus on small-capitalization U.S. stocks (bottom fifth of market capitalizations). Based on past studies, they test 1-way proportional trading frictions in the range 0% to 1%. Using theoretical analyses and daily returns for small stocks/Treasury bill yields during January 1952 through December 2021, *they find that:* Keep Reading

**December 21, 2022** - Momentum Investing, Strategic Allocation, Technical Trading

In response to a prior analysis (updated here), a subscriber asked whether adding a simple moving average (SMA) filter to “Simple Asset Class ETF Momentum Strategy” (SACEMS) assets, either before or after ranking them based on past returns, improves strategy performance. SACEMS each month picks winners from among the a set of eight asset class exchange-traded fund (ETF) proxies plus cash based on past returns over a specified interval. Since many technical traders use a 10-month SMA (SMA10), we test effectiveness of requiring that each asset pass an SMA10 filter as follows:

- Baseline – SACEMS as presented at “Momentum Strategy” (no SMA10 filter).
- Apply an SMA10 filter after asset ranking (SACEMS R-F) – Run Baseline SACEMS and then apply SMA10 filters to dividend-adjusted prices of winners. If a winner is above (below) its SMA10, hold the winner (Cash).
- Apply an SMA10 filter before asset ranking (SACEMS F-R) – If a SACEMS asset is above (below) its SMA10, apply SACEMS ranking rules to it (exclude it from ranking). If there are not enough ranked assets to populate multi-position SACEMS portfolios, put the positions in Cash.

We focus on compound annual growth rates (CAGR), annual Sharpe ratios and maximum drawdowns (MaxDD) of SACEMS Top 1, equally weighted (EW) Top 2 and EW Top 3 portfolios. To calculate Sharpe ratios, we use average monthly 3-month U.S. Treasury bill (T-bill) yield during a year as the risk-free rate for that year. Using monthly dividend-adjusted closing prices for the asset class proxies and the (T-bill) yield for Cash over the period February 2006 through November 2022, *we find that:* Keep Reading

**December 20, 2022** - Momentum Investing, Technical Trading

What are optimal intrinsic/absolute/time series momentum (IM) and simple moving average (SMA) lookback intervals for different asset class proxies? To investigate, we use data for the following eight asset class exchange-traded funds (ETF), plus Cash:

- PowerShares DB Commodity Index Tracking (DBC)
- iShares JPMorgan Emerging Markets Bond Fund (EMB)
- 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)

For IM tests, we invest in each ETF (Cash) when its return over the past one to 12 months is positive (negative). For SMA tests, we invest in each ETF (Cash) when its price is above (below) its average monthly price at the ends of the last two to 12 months. We focus on compound annual growth rate (CAGR) and maximum drawdown (MaxDD) as key metrics for comparing different IM and SMA lookback intervals since earliest ETF data availabilities based on the longest IM lookback interval. Using monthly dividend-adjusted closing prices for the asset class proxies and the yield for Cash over the period July 2002 (or inception if not available by then) through November 2022, *we find that:*

Keep Reading

**December 5, 2022** - Technical Trading

A subscriber requested an update of April 2015 long-term tests of simple versions of the strategy described by Jason Kelly in *The 3% Signal: The Investing Technique that Will Change Your Life*. We start with a general strategy targeting an X% quarterly increase in a stock fund, as follows:

- Initiate X% rules with either 80%-20% or 60%-40% allocations to a stock fund and a bond fund.
- If over the next quarter the stock fund increases by more than X%, transfer the excess from the stock fund to the bond fund.
- If over the next quarter the stock fund increases by less than X%, make up the shortfall by transferring money from the bond fund to the stock fund.
- If at the end of any quarter the bond fund does not have enough money to make up a shortfall in the stock fund: either draw the bond fund down to 0 and add cash to make up the rest of the shortfall; or, draw the bond fund down to 0 and bear the rest of the shortfall in the stock fund.
- Consider two benchmarks: a 100% allocation to the stock fund (buy and hold); and, 60%-40% allocations to the stock and bond funds, rebalanced quarterly (60-40). Whenever adding cash to the bond fund per Step 4, add equal amounts to the benchmarks.

We consider for X% a range of 2% to 4% in increments of 0.5%. We employ stock and bond mutual funds with long histories: Fidelity Magellan (FMAGX) and Fidelity Investment Grade Bond (FBNDX). We assume there are no trading frictions when adding or withdrawing money from these funds. Using quarterly total (dividend-reinvested) returns for these funds from the first quarter of 1972 (with some early data no longer available from the source retained from the prior test) through the third quarter of 2022 (50.75 years), *we find that:*

Keep Reading

**November 23, 2022** - Fundamental Valuation, Technical Trading

In response to the U.S. stock market timing backtest in “Usefulness of P/E10 as Stock Market Return Predictor”, a subscriber suggested combining a 10-month simple moving average (SMA10) technical signal with a P/E10 (or Cyclically Adjusted Price-Earnings ratio, CAPE) fundamental signal. Specifically, we test:

- SMA10 – bullish/in stocks (bearish/in cash) when prior-month stock index level is above (below) its SMA10.
- SMA10 AND Binary 20-year – in stocks only when both SMA10 and P/E10 Binary 20-year signals are bullish, and otherwise in cash. The latter rule is bullish when last-month P/E10 is below its rolling 20-year monthly average.
- SMA10 OR Binary 20-year – in stocks when one or both of the two signals are bullish, and otherwise in cash.
- NEITHER SMA10 NOR Binary 20-year – in stocks only when neither signal is bullish, and otherwise in cash.

We use Robert Shiller’s S&P Composite Index to represent stocks. We consider buying and holding the S&P Composite Index and the standalone P/E10 Binary 20-year strategy as benchmarks. Using monthly data from Robert Shiller, including S&P Composite Index level, associated dividends, 10-year government bond yields and values of P/E10 as available during January 1871 through September 2022, *we find that:*

Keep Reading

**November 22, 2022** - Momentum Investing, Technical Trading

Does breadth of equity sector performance predict overall stock market return? To investigate, we relate next-month stock market return to sector breadth (number of sectors with positive past returns) over lookback intervals ranging from 1 to 12 months. We consider the following nine sector exchange-traded funds (ETF) offered as Standard & Poor’s Depository Receipts (SPDR):

Materials Select Sector SPDR (XLB)

Energy Select Sector SPDR (XLE)

Financial Select Sector SPDR (XLF)

Industrial Select Sector SPDR (XLI)

Technology Select Sector SPDR (XLK)

Consumer Staples Select Sector SPDR (XLP)

Utilities Select Sector SPDR (XLU)

Health Care Select Sector SPDR (XLV)

Consumer Discretionary Select SPDR (XLY)

We use SPDR S&P 500 (SPY) to represent the overall stock market and also relate next-month SPY return to the sign of past SPY return. Using monthly dividend-adjusted returns for SPY and the sector ETFs during December 1998 through October 2022, *we find that:* Keep Reading

**October 27, 2022** - Technical Trading

Are days with strong stock market return reversals predictive of the future trend? To check, we we use daily opens, lows, highs and closes of the S&P 500 Index to define the following:

- Reversal – days with both (1) lows more than 1% below the open and (2) highs more than 1% above the open.
- Reversal Down – Reversal days for which the close is less than 0.25% above the low.
- Reversal Up – Reversal days for which the close is less than 0.25% below the high.

These thresholds are arbitrary but generate enough signals for some testing. For each group we plot cumulative index returns over the next 21 trading days. Using S&P 500 Index daily levels as specified during January 1962 (limited by availability of daily lows and highs) through September 2022 (15,293 trading days), *we find that:* Keep Reading