• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Decoding Markets

  • Top Posts
  • Courses
  • Resources
    • Books
  • Free Class
  • Blog
You are here: Home / Strategies/ Systems / Trend Following With ETFs and Large Cap Stocks

December 20, 2020 By Joe Marwood 2 Comments

Trend Following With ETFs and Large Cap Stocks

I was browsing Quantpedia and came across an investment strategy called Asset Class Trend Following, originally credited to Meb Faber.

The strategy is very simple so I decided to run a couple of quick backtests and see if I could find anything interesting. 

Asset Class Trend Following Rules

The rules are straightforward…

“Using an investment universe of 5 large ETFS (SPY for US stocks, EFA for foreign stocks, BND for bonds, VNQ for REITs and GSG for commodities) we will hold each ETF whenever it is over its 10-month Simple Moving Average and whenever the ETF moves below the 10-month SMA we will move into cash. The portfolio will be equal weighted and we will use the 3-month Treasury bill for cash.“

The idea behind this strategy is to create something robust and reliable that any ordinary investor can follow.

We are going to hold up to 5 liquid ETFs whenever they are above their 10-month moving average. When we are not invested in an ETF, the remaining cash will earn interest according to the 3-month Treasury bill.

Essentially, this strategy combines the benefits of momentum and asset allocation in one model. 

Backtest Results

The strategy on Quantpedia is shown as having an indicated performance of 11.27% between 1973-2008 with a low volatility of 6.87%.

However, I was surprised to get a very different result when backtesting the same strategy. 

When I ran the system from the beginning of the out-of-sample in 1/2008 to 12/2020 I produced an annualised return of only 3.41% with a maximum drawdown of -11.23%. 

As you can see from the following graphics, the return in this period is low and equates to only a 3.41% CAR. However, the drawdown is very manageable which means some leverage could be used:

trend following with etfs equity curve
trend following with etfs profit table

Meanwhile, the strategy on Quantpedia is shown as producing an 8.6% annualised return over the same time period with a -13.7% drawdown. This is using the backtest engine from Quantconnect:

quantconnect backtest result

I’m not sure what I’m missing here as the rules appear to be identical but my annualised return is significantly lower than reported on the website. I spent some time investigating this but not sure why I get such different numbers.

Nevertheless, I like the simplicity of this strategy so I decided to persevere and see if I could come up with something for individual equities.

Trend Following Using S&P 100 Stocks

Inspired by the monthly asset strategy above I decided to test a few more ideas this time using equities instead of ETFs.

Focussing on S&P 100 stocks I decided to keep the 10-month trend rule the same. The main difference is that I introduced a ranking rule based on strength of the stock and the industry it belongs to.

Here’s what I came up with: 

Buy and Sell Rules

  • Buy when Close > 10-month SMA
  • Sell when Close < 10-month SMA

Ranking

  • Industry RSI(14) + stock RSI(14) – highest values preferred.

The ranking uses the Relative Strength Index indicator (RSI) and consists of two different scores which are combined together. We then take the stocks with the highest combined score.

In other words, we take the RSI(14) score for the industry that the stock belongs to, then we combine it with the RSI(14) score for the stock itself. 

For example, Bank of America (BAC) belongs to the Banking and Invesments sector and is further classified in Reuters as belonging to the S&P 1500 Diversified Banks Sub Index. 

If we just look at the most recent date, the RSI(14) score for the industry on the 15th December was 51.88 and the RSI(14) score for Bank of America was 54.96. This gives the stock a combined score of 106.83.

bank of america example

Bank of America is also trading above its 10-month SMA so it will be bought if the ranking score is high enough.

Backtest Settings

To backtest this strategy we are going to use the following settings:

  • Universe: S&P 100 stocks (includes delisted stocks)
  • Starting Capital: $50,000
  • Timeframe: Monthly
  • Backtest dates: 1/1995 – 12/2020
  • Max portfolio Size: 10
  • Position Size: 10% (equal weight)
  • Commissions: $0.005 per share
  • Ranking: Combined RSI score (as above)
  • Execution: All trades placed on same monthly close

Backtest Results

To recap, this strategy buys stocks from the S&P 100 index that are trading above their 10-month SMA and sells when they drop below the 10-month SMA. 

We ranks stocks according to a combined score of the industry RSI and individual stock RSI and take the highest scores first. 

It is therefore a system that buys strong stocks in strong industries.

The following statistics and equity curve show the results of this strategy backtested on S&P 100 stocks back to January 1995:

  • Trades: 391
  • Annualised Return: 12.58%
  • Risk-adjusted Return: 13.12%
  • Max Drawdown: -39.54%
  • CAR/MDD: 0.32
  • Win Rate: 44.25%
  • Sharpe: 0.20
large cap stocks trend following equity curve
large cap stocks trend following profit table

Overall, first impressions are good. For comparison, a buy and hold return on the S&P 500 over the period was 10.3% with a drawdown of -55%.

Highest Ranked Stock

Out of interest, the highest ranked stock as of December 2020 is Thermo Fisher Scientific Inc. (TMO).

TMO trades above its 10-month moving average with an RSI(14) score of 81.04 and it’s industry (healthcare services & equipment) RSI(14) score is 76.59. That means it has a combined score of 157.63.

TMO trade example

Conclusions

In this article I tested a well known market timing strategy that holds a selection of liquid ETFs when they trade above their 10-month moving average. 

I didn’t find the results I was looking for and decided to migrate the strategy over to an equity universe. 

With the help of a simple scoring mechanism (combining RSI at the industry level and RSI as the stock level) we produced an annualised return of 12.6% over 26 years with a maximum drawdown of -40% and a win rate of 44.25%. 

The results are not bad for such a simple strategy and may be suited to some investors. The strategy would take just a few minutes to run and can be further fine tuned with human input. The drawdown profile is also fairly mild with only five losing years out of 26.

Full code for this strategy is provided in our program Marwood Research.

Notes

Data used for this analysis comes from Norgate Data and includes historical constituents and delisted stocks so as to minimize survivorship-bias. Data also includes dividends, is adjusted for splits and corporate actions. Stock charts and analysis produced in Amibroker.


Thank You For Reading

joe marwood profile pictureJoe Marwood is an independent trader and the founder of Decoding Markets. He worked as a professional futures trader and has a passion for investing and building mechanical trading strategies. If you are interested in more quantitative trading strategies, investing ideas and tutorials make sure to check out our program Marwood Research.


Disclaimer

This post expresses the opinions of the writer and is for information, entertainment purposes only. Joe Marwood is not a registered financial advisor or certified analyst. The reader agrees to assume all risk resulting from the application of any of the information provided. Past performance is not a reliable indicator of future returns and financial trading is full of risk. Margin trading can lead to losses more than in your account. Mistakes in backtesting and presenting of analysis regularly occur. Please read the Full disclaimer.

Filed Under: Investing, Stocks, Strategies/ Systems Tagged With: stocks, trading systems

Recommended Educational Resources:


  • Discover New Trading Strategies
  • Learn Japanese Candlesticks (Free)
  • Mental Models For Trading (Free)
  • Indicators For Amibroker (Free)
  • Tools For Options Traders (Free)
  • Historical Data For 8000 Stocks (Free)

Reader Interactions

Comments

  1. Anonymous says

    December 21, 2020 at 4:25 pm

    Hi Joe,
    This is interesting as I like very simple systems.
    Logged onto Marwood Research and can’t find the system.
    Help?

    All the best,
    Helena

    Reply
    • Joe Marwood says

      December 21, 2020 at 6:13 pm

      It is listed in expert trading strategies, here: https://marwoodresearch.teachable.com/courses/bonus-trading-strategies/lectures/27852068

      Thanks

      Reply

Leave a Reply Cancel reply

Your email address will not be published.

Primary Sidebar

Access Marwood Research image

Popular

Testing The RSI Model From The Quantitative Technical Analysis Book By Howard Bandy

Should You Combine Trading Strategies?

roadmap to successful financial trading

Zero To Hero: 5 Steps For Financial Trading Success

best moving average test on s&p 500

Which Is The Best Moving Average? Test Results Reveal The Truth

26 Stock Market Strategies That Beat Buy And Hold

RSI trade divergence example

Testing 3 Simple Divergence Trading Strategies

Which Trailing Stop Is The Best?

does technical analysis work? one in 5 hedge funds use it

Does Technical Analysis Work? Evidence From The Social Sciences

Search

Recommended Resources

  • Discover New Trading Strategies
  • Learn Japanese Candlesticks (Free)
  • Mental Models For Trading (Free)
  • Indicators For Amibroker (Free)
  • Tools For Options Traders (Free)
  • Hist. Data For 8000 Stocks (Free)

Financial Disclaimer

Financial trading is risky and you can lose money. Joe Marwood is not a registered investment advisor and nothing on this site is to be regarded as personalized investment advice. Past performance is not indicative of future results. Data errors and mistakes do occur. Please see the full disclaimer.

Footer

About The Author

Joe Marwood is an independent trader and investor specialising in financial market analysis and trading systems. He worked as a professional futures trader for a trading firm in London and has a passion for building mechanical trading strategies. He has been in the market since 2008 and working with Amibroker since 2011.

Joe Marwood Profile PIc

Recent Posts

  • Investing With Intelligent Machines
  • Trend Following With ETFs and Large Cap Stocks
  • Should You Trade This Earnings Pullback Strategy?
  • Simple Algo Trading With Alpaca And Streak
  • Is Value Investing Dead? Dissecting The Value Investing Narrative
  • How To Screen For Stocks With Norgate Data
  • Do Stocks Have A Floor?
  • What Trading Signals Work Best For Long-Term Investors?

Search

Privacy policy | Contact | Disclaimer | All Rights reserved. JB Marwood.