This website uses cookies to collect usage information in order to offer a better browsing experience. By browsing this site or by clicking on the "ACCEPT COOKIES" button you accept our Cookie Policy.

Options Trading Insights with our 13 Year Technical Analysis Backtest

By:

Head of Product Strategy for OptionsPlay

Overview

Technical analysis is a powerful, yet exceedingly difficult method of analysis to understand and quantify. By leveraging historical data, technical analysis aims to anticipate the future price movement of a financial asset. While many of these strategies may look promising, the reality is that implementation of these strategies can sometimes yield large deviations from the textbook. Moreover, there are a wide array of technical indicators to choose from, but not enough evidence of their long-term performance. There are many resources that promote the use of technical indicators without providing any evidence of its long-term consistency.

At OptionsPlay, we evaluated some of the most popular technical indicators and strategies to see how well they performed. Firstly, we calculated a benchmark return to compare our strategies against. This was calculated by entering a long and short position in completely random stocks on randomly selected dates in the S&P/TSX 60 Index* with a holding period of 30 days. We then tested the same method of buying or selling a stock on a date where a technical indicator generated a buy or sell signal for 30 days. While this does not represent the best possible back-test, it provides a level playing field to gauge all the indicators under equal conditions. The back test was conducted on price data from 2007 to 2020.

The benchmark returns calculations showed that the return on long positions in 2000 randomly selected stocks on random dates, held for 30 days, had an average win ratio of 49.9% with an annualized return of 14.4%.

After the benchmark returns were calculated, we proceeded to test each indicator under the same conditions for both long and short positions, during the same period (2007 – 2020) and the same holding period of 30 days. Analysis of the results provided some surprising observations.

Observations Summary:

  • We were surprised as to how strongly randomly selected stocks on random dates that were held for 30 days performed. This set a very high bar for each technical indicator to beat.
  • Sell signals from the technical analysis strategies performed extremely poorly. Only two technical indicators performed better than the benchmark annualized return for short entries. This speaks to the market’s natural upward drift that puts short positions in a statistical disadvantage and proves how difficult it is to consistently call short trades using technical analysis.
  • The “RSI20 Cross above 25” indicator proved to yield the best annualized return for buy signals. This strategy provided a standout performance compared to the other indicators.
  • Most strategies had a surprising high number of consecutive losses. This is critical for trader’s risk management strategy. With limited amounts of capital to risk for each trade, traders need to understand in a worst-case scenario. The number of consecutive false signals that have historically ever generated by each indicator is important to determine the amount of capital to risk on each trade and avoid account blowups even in a worse case scenario. This is due to the fact that consecutive losing trades are what can cause severe underperformance of a portfolio. An indicator that has a higher number of consecutive false signals, should be traded with a smaller % of the account allocated to each signal. With indicators that have a lower number of false signals, allocations can be larger per trade as a percentage of the total account value.
  • The Simple Moving Average (SMA) performed similar to the Exponential Moving Average (EMA) where both the SMA9 and EMA9 yielded similar results, with the EMA9 slightly outperforming the SMA9 as the best moving average indicator. Moving averages are widely used and fiercely debated as to their efficacy and success rates. While the Moving Average period will vary widely dependent on an investor’s time horizon, we have found that the long period moving averages were the worst performing indicators in the entire study for long trades.

Benchmark Returns

The benchmark returns between 2007 and 2020 were calculated by entering a long/short position with a randomly selected stock and holding this position for 30 days. This resulted in the following benchmarks for long and short positions:

Long

Win ratio: 49.9%
Annualized return: 14.4%

Short

Win ratio: 50.5%
Annualized return: -10.6%

All the results of the strategy back testing are compared to the benchmark return to give an idea of how well they perform.

Summary of Results

Long Positions – Benchmark 14.4%

Short Positions – Benchmark -10.6%

Simple Moving Average

The Simple Moving Average (SMA) strategy calculates the average closing price of a stock over a given number of periods. A buy signal is generated when the stock crosses above the moving average, and a sell signal is generated when the stock crosses below the moving average. It is important to note that the lower the period used for the moving average calculation, the closer the moving average line tracks the current price of the stock. This means that shorter moving averages will generate more signals than longer ones – the SMA(9) calculates the average closing price of the previous 9 candles while the SMA(200) calculates the average closing price over the previous 200 candles.

Results

Long Trades

Short Trades

Notes:

  • Similar win rates in long and short trades for all the SMA combinations
  • SMA periods close to the holding periods tend to provide the best results.
  • The SMA(200) provided the best annualized return for short trades

Exponential Moving Average

The Exponential Moving Average (EMA) strategy follows the same principle as the SMA strategy but the method of calculating the moving average is slightly different. The EMA of a stock places a greater weight on the most recent data points and therefore reacts more significantly to recent price changes instead of the SMA which reacts to all price changes over the given period equally. A buy signal is generated when the stock crosses above the exponential moving average, and a sell signal is generated when the stock crosses below the exponential moving average.

Results

Long Trades

Short Trades

Notes:

  • Higher period EMA’s were the worst performing indicators overall
  • The win rate % for EMA’s are similar in short trades
  • The 9 period EMA was the 2nd best performing bullish indicator overall

Relative Strength Index

The Relative Strength Index (RSI) is a popular indicator based on momentum and is used to identify overbought and oversold conditions. The indicator is displayed as a line graph that moves between 0 and 100 where readings below 30 are considered oversold and over 70 is considered overbought. For the purposes of this study, we tested the RSI values based on the previous 14 periods and previous 20 periods. A buy signal is generated when the RSI value crosses above 25 or 30, well a sell signal is generated when the RSI value crosses below 70 or 75.

Below is an example of RSI(14) generating buy and sell signals crossing above 30 and below 70:

Results

Long Trades

Short Trades

Notes:

  • Long trades produced a relatively low number of consecutive losses while short trades had a much higher disparity between consecutive winners and consecutive losers.
  • For long trades, 3 out of the 4 RSI strategies outperformed the benchmark with only RSI(20) cross above 30 failing to produce better returns than the benchmark. Only the longer 20 period RSI with a 30 buy threshold produced returns that underperformed our benchmarks. This makes RSI one of the best performing indicators in our backtest.
  • RSI(20) crossing above 25 had the best performance overall with an annualized return of 32.4% (more than double the benchmark). However, it also produced very few signals.

Click Here to Read the Full Article

Originally Posted on April 29, 2021 – Options Trading Insights with our 13 Year Technical Analysis Backtest

Dollars expressed are in CAD

The strategies presented in this blog are for information and training purposes only, and should not be interpreted as recommendations to buy or sell any security. As always, you should ensure that you are comfortable with the proposed scenarios and ready to assume all the risks before implementing an option strategy.

This content has been produced by OptionsPlay, LLC. The views, opinions and advice provided in this document reflect those of OptionsPlay, LLC. While Bourse de Montréal Inc. has participated as a sponsor, it has not had any input into the content and neither Bourse de Montréal Inc. nor its affiliates shall be responsible or liable for the same. Before making any investment decision, you should obtain professional investment advice tailored to your needs and taking into account your particular investment goals, financial situation and individual needs. This content does not, nor should it be construed as, providing any trading, legal, accounting, tax, investment, business, financial or other advice, and you should not rely on it for such purposes. This document is provided for informational purposes only and is directed at persons having professional expertise in matters relating to investments. Neither TMX Group Limited nor any of its affiliates represents, warrants or guarantees the completeness or accuracy of the information contained in this document and they are not responsible for any errors or omissions in or your use of, or reliance on, the information. This document or any securities referenced in this document are not endorsed by TMX Group or its affiliated companies, and the information provided in this document is not an invitation to purchase securities listed on Montreal Exchange. TMX and the TMX design are the trademarks of TSX Inc. and are used under license.

* The S&P/TSX 60 Index (the “Index”) is the product of S&P Dow Jones Indices LLC or its affiliates (“SPDJI”) and TSX Inc. (“TSX”). Standard & Poor’s® and S&P® are registered trademarks of Standard & Poor’s Financial Services LLC (“S&P”); Dow Jones® is a registered trademark of Dow Jones Trademark Holdings LLC (“Dow Jones”); and TSX® is a registered trademark of TSX. SPDJI, Dow Jones, S&P, their respective affiliates and TSX do not sponsor, endorse, sell or promote any products based on the Index and none of such parties make any representation regarding the advisability of investing in such product(s) nor do they have any liability for any errors, omissions or interruptions of the Index or any data related thereto.

Disclosure: Montréal Exchange - Option Matters

This material is from Bourse de Montréal Inc. and is being posted with its permission. Opinions expressed in this document do not necessarily represent the views of Bourse de Montréal Inc.

This document is made available for general information purposes only. The information provided in this document, including financial and economic data, quotes and any analysis or interpretation thereof, is provided solely for information purposes and shall not be construed in any jurisdiction as providing any advice or recommendation with respect to the purchase or sale of any derivative instrument, underlying security or any other financial instrument or as providing legal, accounting, tax, financial or investment advice. Bourse de Montréal Inc. recommends that you consult your own advisors in accordance with your needs before making decision to take into account your particular investment objectives, financial situation and individual needs.

Although care has been taken in the preparation of this document, Bourse de Montréal Inc. and/or its affiliates do not guarantee the accuracy or completeness of the information contained in this document and reserve the right to amend or review, at any time and without prior notice, the content of this document.

Neither Bourse de Montréal Inc. nor any of its affiliates, directors, officers, employees or agents shall be liable for any damages, losses or costs incurred as a result of any errors or omissions in this document or of the use of or reliance upon any information appearing in this document.

Disclosure: Interactive Brokers

Information posted on IBKR Traders’ Insight that is provided by third-parties and not by Interactive Brokers does NOT constitute a recommendation by Interactive Brokers that you should contract for the services of that third party. Third-party participants who contribute to IBKR Traders’ Insight are independent of Interactive Brokers and Interactive Brokers does not make any representations or warranties concerning the services offered, their past or future performance, or the accuracy of the information provided by the third party. Past performance is no guarantee of future results.

This material is from Montréal Exchange - Option Matters and is being posted with permission from Montréal Exchange - Option Matters. The views expressed in this material are solely those of the author and/or Montréal Exchange - Option Matters and IBKR is not endorsing or recommending any investment or trading discussed in the material. This material is not and should not be construed as an offer to sell or the solicitation of an offer to buy any security. To the extent that this material discusses general market activity, industry or sector trends or other broad based economic or political conditions, it should not be construed as research or investment advice. To the extent that it includes references to specific securities, commodities, currencies, or other instruments, those references do not constitute a recommendation to buy, sell or hold such security. This material does not and is not intended to take into account the particular financial conditions, investment objectives or requirements of individual customers. Before acting on this material, you should consider whether it is suitable for your particular circumstances and, as necessary, seek professional advice.

Disclosure: Forex

There is a substantial risk of loss in foreign exchange trading. The settlement date of foreign exchange trades can vary due to time zone differences and bank holidays. When trading across foreign exchange markets, this may necessitate borrowing funds to settle foreign exchange trades. The interest rate on borrowed funds must be considered when computing the cost of trades across multiple markets.

Disclosure: Margin Trading

Trading on margin is only for sophisticated investors with high risk tolerance. You may lose more than your initial investment.

For additional information regarding margin loan rates, see ibkr.com/interest

Disclosure: Options Trading

Options involve risk and are not suitable for all investors. For more information read the Characteristics and Risks of Standardized Options, also known as the options disclosure document (ODD). To receive a copy of the ODD call 312-542-6901 or copy and paste this link into your browser:

http://www.optionsclearing.com/about/publications/character-risks.jsp

trading top