Category: Relative Strength

Introducing the Relative Strength Composite Backtesting Module -- Using a RANGE of Timeframes To Improve Performance Consistency

Instructional video on how to use Composite Relative Strength to improve your ETF backtesting process.  #STUDY

 

to expand video on screen, click the '4 expanding arrows' icon in the bottom right corner of the video screen. Use the settings icon to change to 1080 quality if it seems at all blurry

New Relative Strength Composite Backtest

We have added a new backtest, Relative Strength Composite, which can protect against parameter choice misfortune by making it easy to diversify across a range of lookback values.

When relying solely on a single lookback period, though it may have backtested well, there's always the possibility that it may underperform in the future.  The RS Composite backtest attenuates that risk by stepping through the return lookback periods, from your chosen minimum to maximum, and invests in the top (or bottom) x securities from each.

In the following example, the minimum length is 3-months, the maximum lookback is 12-months and the step value is 1. This means that, each month, the backtest will invest 10% in each of:

  • Top security ranked by 3-month returns
  • Top security ranked by 4-month returns
  • …5-month returns
  • …6-month returns
  • …7-month returns
  • …8-month returns
  • …9-month returns
  • …10-month returns
  • …11-month returns
  • Top security ranked by 12-month returns 

 

click image to view full size version

 

The step value can be increased to assess whether it is possible to retain a significant degree of diversification without needing to employ every return length.  For instance, raising the step value to 3 in the above example will mean that the backtest ranks the portfolio ETFs by 3, 6, 9 and 12-month returns each month and invests 25% in the top ranked security from each of those.

The Relative Strength Composite backtest is available to annual subscribers, both regular and pro.

 

Note:

  1. Just as a diversified portfolio means that some part of it will always be a drag, a composite of model variants will always underperform the single best version of a strategy....but it also avoids being exclusively in the worst.
  2. To see how each of the return lengths performed individually, rather than as a composite, use the RS Parameter Performance Summary

Buy top X hold while in top Y

We have added a Hold Filter option to the Portfolio Relative Strength and RS - Combine Portfolios backtests.

When the Hold Filter is turned on, the ETFs will be held as long as they remain ranked in the top (or bottom) Y.

i.e. If you choose a Buy Top of 2 and a Hold rank of 4, then the backtest will invest in 2 ETFs, but will only rotate out of an ETF when it drops below the top 4.

Using the Hold Filter makes a model less reactive and as a consequence it reduces trade activity.  By not switching each and every time a security moves in and out of the top X, it can also result in fewer whipsaws.  However, the higher the hold rank number is, the less responsive to changes the model will be, so a balance must be struck.

 

click image to view full size version

 

Note: the hold rank must be greater than the buy top / bottom number and be less than the number of securities in the chosen portfolio(s).

Using a Regime Ratio to switch between Mean Reversion and Relative Strength strategies

This example employs a simple credit spread style ratio to define the prevailing risk on / off regime and uses that to switch between different strategies.

When the High Yield / Treasury ratio is trending upwards (i.e. short MA above long MA) the backtest pursues a mean-reversion strategy, investing in the weakest short-term performers (buying wholesale) in a list of broad U.S. equity ETFs.

Conversely, when the HYG / IEI ratio trends down (short MA below long MA), the backtest switches to a Relative Strength strategy; buying the top five from a list of mixed asset class ETFs.   Selecting the strongest five securities from the list provides some diversification while also giving the backtest the opportunity, in bear markets, to allocate 80% to fixed income and, in the most severe periods, to avoid equities entirely. 

 

 

Specific parameters and ETFs are not the focus of this example, rather, it is intended to highlight the backtest functioanlity and to provide a starting point for subscribers to further research and develop.

Instructional video on how to use the Parameter Performance Summary functionality for ETF Backtesting

Instructional video on how to use the Parameter Performance Summary functionality.  #STUDY

to expand video on screen, click the '4 expanding arrows' icon in the bottom right corner of the video screen. Use the settings icon to change to 1080 quality if it seems at all blurry