Avoiding Stock Market Crashes with the Hi-Lo Index of the S&P500

  • This daily indicator is calculated as the ratio of the number of S&P500 stocks that have reached new 3-month-highs minus those that have reached new 3-month-lows, divided 500.
  • Exiting and entering the stock market according the indicator’s signals would have avoided major drawdowns of the market during the backtest period from Jan-2000 to Aug-2015.
  • Switching according to the signals between stock ETFs and the Intermediate Treasury Bond ETF IEF would have produced much higher returns and lower drawdowns than buy-and-hold of the stock ETFs.

The Hi-Lo Index

The index, expressed as a percentage, can vary from +100% to -100%. Over the backtest period it ranged from a minimum of -93% to a maximum of 62%, with the August 24, 2015 value being the third lowest at -77%, indicating that about 440 stocks of the S&P500 made a new 3-month low on that day.

The Hi-Lo Index- Hi-lo index

Buy and Sell Rules

Trading signals are generated only at the end of a week, with trades following on the first trading day thereafter.

Figure 1 shows the Index and its 40-day moving average (SMA:40). The most recent sell signal was generated when the SMA:40 moved from above to below the trigger line on April 27, 2015. Currently the SMA:40 value is -5.4% and will have to increase to above value of 5.0% for a buy signal.

Data analyzed: 40-day Moving Average (SMA:40) of the index.

Buy and Sell Rules:

  • A stock market entry is signaled when SMA:40 of the (Hi-Lo) Index becomes greater than 5.0%.
  • A stock market exit is signaled when SMA:40 of the (Hi-Lo) Index becomes less than 5.0%.

Performance

Figure 2 shows the performance from Jan-2000 to Aug-2015 of an investment in SPY, the ETF tracking the S&P500 adjusted for dividends, when following the signals and for buy-and-hold.

 performance from Jan-2000 to Aug-2015 of an investment in SPY- Hi-lo index

Following this market timer would have provided an annualized return of 6.1% with a maximum drawdown of minus 22.5%, assuming no trading costs. A constant investment in SPY would have returned only 3.5% annualized with a maximum drawdown of minus 55.2% over the same period. One would have been invested 54% of the time in SPY and 46% of the time in cash.

Figure 3 shows the performance of a trading system which switches to IEF, the intermediate Treasury Bond ETF, instead of cash when not in SPY.

 performance of a trading system which switches to IEF, the intermediate Treasury Bond ETF, instead of cash when not in SPY.

The ETFs are bought and sold at the next day’s average of the Low and High price after a signal is generated. Variable slippage of about 0.10% of a trade amount was applied to provide for transaction slippage and brokerage fees. This would have provided an annualized return of 10.5% with a maximum drawdown of minus 22.1%.

Better returns can be obtained by using the sector ETFs XLY or XLV instead of SPY. As an example, the performance when switching between XLV, the health care ETF, and IEF is shown in Figure 4.

performance when switching between XLV, the health care ETF, and IEF- Hi-lo index

The annualized return would have been a high 12.3% with a maximum drawdown of only minus 16.7%. This is considerably better than the 6.8% annualized return of XLV with a maximum drawdown of minus 39.2% over the same period. In the almost 16-year long period there were only 45 completed trades with a win rate of 73%. Currently the model has been in IEF since April 27, 2015 and thus avoided the recent market decline.

Robustness

Robustness is the ability of a financial trading system to remain effective under different market conditions. Using an excessive number of parameters may induce overfitting. A model that has been overfitted will generally have poor predictive (out-of-sample) performance, as it can exaggerate minor fluctuations in the data.

This model uses only two parameters, the length of the moving average, and the trigger value for the signals. The trigger value of 5% was found by optimizing the model which switches between SPY and cash, but using trigger values ranging from 3.5% to 6.0% all resulted in higher returns with lower drawdowns than a constant investment in SPY.

There is a “solid theory” behind this model, namely determining the trend of the S&P500 index by counting the number of stocks which make new 3-month highs and lows.

Also, since there are only two parameters that can be varied, and the trigger value is insensitive to variations by up to a fifth of its value, this model should be very robust and have good predictive performance characteristics.

Following the Hi-Lo Market Timer

This model can be followed live at iMarketSignals, where it will be updated weekly together with our other trading and timing models.

Appendix

The table below lists all buy/sell transactions that the 3-mo Hi-Lo Index would have generated since 1/3/2000, and the Figure 5 plots the index over said time period.

Hi-Lo Index –  Transactions 2000 to 2015
and Value of $100 invested on 1/3/2000
SymbolOpenCloseDaysValuePct
SPY12/1/20144/27/2015147519.702.69%
IEF9/2/201412/1/201490504.431.80%
SPY10/28/20139/2/2014309486.6513.82%
IEF10/7/201310/28/201321427.601.07%
SPY1/14/201310/7/2013266419.3114.38%
IEF11/19/20121/14/201356365.62-1.65%
SPY8/13/201211/19/201298369.68-1.90%
IEF5/14/20128/13/201291375.121.11%
SPY1/17/20125/14/2012118367.123.98%
IEF12/27/20111/17/201221353.131.31%
SPY12/5/201112/27/201122347.860.10%
IEF6/13/201112/5/2011175343.816.98%
SPY9/27/20106/13/2011259318.3611.41%
IEF6/14/20109/27/2010105283.616.21%
SPY3/22/20106/14/201084267.06-4.96%
IEF3/1/20103/22/201021281.03-0.05%
SPY5/4/20093/1/2010301276.5224.45%
IEF6/23/20085/4/2009315214.277.51%
SPY5/12/20086/23/200842199.33-5.64%
IEF7/23/20075/12/2008294203.529.45%
SPY4/30/20077/23/200784185.203.38%
IEF4/9/20074/30/200721179.251.01%
SPY9/18/20064/9/2007203176.489.43%
IEF5/22/20069/18/2006119158.841.22%
SPY12/12/20055/22/2006161155.46-0.06%
IEF9/19/200512/12/200584153.36-2.27%
SPY6/20/20059/19/200591156.891.40%
IEF2/28/20056/20/2005112152.871.63%
SPY10/4/20042/28/2005147148.855.74%
IEF4/19/200410/4/2004168138.130.97%
SPY9/8/20034/19/2004224135.289.89%
IEF8/18/20039/8/200321123.141.10%
SPY5/12/20038/18/200398120.866.34%
IEF1/6/20035/12/2003126112.183.48%
SPY12/9/20021/6/200328107.802.06%
IEF5/20/200212/9/2002203104.537.07%
SPY12/17/20015/20/200215497.03-3.11%
IEF7/16/200112/17/200115499.900.27%
SPY5/29/20017/16/20014899.62-4.97%
IEF3/5/20015/29/200185104.82-2.09%
SPY1/2/20013/5/200162107.06-4.28%
IEF6/12/20001/2/2001204111.827.23%
SPY5/22/20006/12/200021104.234.80%
IEF1/3/20005/22/200014099.50-0.50%

 

Hi-Lo Index

Disclaimer

One should be aware that all results shown are from a simulation and not from actual trading. All results are presented for informational and educational purposes only, and shall not be construed as advice to invest in any assets. Out-of-sample performance may be much different. Backtesting results should be interpreted in light of differences between simulated performance and actual trading, and an understanding that past performance is no guarantee of future results. All investors should make investment choices based upon their own analysis of the asset, its expected returns and risks, or consult a financial adviser. The designer of this model is not a registered investment adviser.

–By by Georg Vrba from imarketsignals

About the Author System Trader Success Contributor

Contributing authors are active participants in the financial markets and fully engrossed in technical or quantitative analysis. They desire to share their stories, insights and discovers on System Trader Success and hope to make you a better system trader. Contact us if you would like to be a contributing author and share your message with the world.

>