Dividends and Backtesting

by Chris White on December 26, 2010

When backtesting it is important that the data you use is adjusted for splits and dividends. The necessity of adjustment for splits is more obvious due to the larger effects on price.

For instance if a stock is trading at $40 and gets a 2:1 split, it suddenly appears to be quoted on the exchanges at $20. If the previous prices were not adjusted in some way the chart would look as though there was a huge gap down and that would suggest a bad news announcement or problem with the company. Any indicators that you use for trading would also be affected and might signal a trade entry or exit when in fact there has been no real change in the overall market cap of the company.

To combat this, all price and volume figures prior to the split announcement are back-adjusted using a multiplication factor. In the case of a 2:1 split the multiplication factor is 0.5 for price and 2.0 for volume. So a prior day actual price of $38 now shows on the chart as $19 and a volume of 300,000 shares now shows as 600,000.

The same type of adjustment needs to be made for any cash dividend for all prices prior to the ex-dividend date (an adjustment for volume is not necessary).

Here’s a real-world example from a recent dividend for the Diamonds ETF (symbol DIA):

November 19th Dividend - Not adjusted on chart

November 19th Dividend - Adjusted on chart

You can see from the above two charts that an entry was generated in both cases but an exit signal was not generated in the non dividend-adjusted chart.

If you look closely at the candles you can see that the Nov 19th close price is above the prior day’s close when the chart is adjusted and below the prior day’s close when the chart is not adjusted.

So, what has actually happened to your position on November 19th? Well, you were registered to receive your cash dividend payment of $0.361 and the open price for the ETF was changed by the exchange to reflect the fact that it is now worth $0.361 less due to the cash dividend.

The chart that has no back-adjustments for dividends therefore tells a misleading story – it indicates that price fell (which it did) but you got yourself a cash payment of that same amount, so that added to the positive price action for the day meant that price really rose.

When you are back-testing you really need to use a dividend-adjusted data provider to account for these situations. It means that any trade entry/exit prices will be printed as the back-adjusted prices and take into account dividends that are paid out to you.

Also, when looking at charting applications you should be aware if they are showing adjustments for dividends or not. Here’s an example where it really looks like the security is having a bad time, whereas in reality it is behaving very well:

No Dividend Adjustment

Dividend Adjustment

You might be surprised to find out that Yahoo! online charts do not adjust for dividends even though their data contains the Adj Close column. In fact, when EdgeRater uses Yahoo! data it performs the back-adjustment for Open, High, Low and Close automatically and so any charts displayed in EdgeRater are adjusted properly.

StockCharts.com is one online charting application which does the necessary adjustments for dividends.

It’s worthwhile to ask your charting service whether they are adjusting for dividends or not and it’s really important to know whether your back-testing software is using split and dividend adjusted data.

{ 2 comments }

RSI 25/75 Long Strategy Results (Dec 10)

by Chris White on December 10, 2010

The ETF Trading Bandit software program gives signals based on the book ‘High Probability ETF Trading’ by Larry Connors and Cesar Alvarez. The results are tracked based on entering and exiting the next day at market open after a signal has been generated. The list of ETFs that are tracked here are the original 20 ETFs that were documented in the book.

Since the release of ETF Trading Bandit (October 2010), here are the results as of December 10th 2010. These results are based on taking the first signal only and not using the aggressive scale-in signals:

RSI 25/75 Long Strategy

Entry Date Entry Shares Symbol Exit Date Exit Days P/L %
10/5/2010 49.03 203 QQQQ 10/6/2010 49.6 2 1.16
10/13/2010 13.46 742 EWT 10/15/2010 13.64 3 1.34
10/20/2010 77.95 128 EWZ 11/2/2010 79.14 10 1.53
10/20/2010 45.64 219 EEM 10/26/2010 46.23 5 1.29
10/20/2010 13.31 751 EWT 10/25/2010 13.81 4 3.76
10/29/2010 54.79 182 IYR 11/3/2010 55.82 4 1.88
11/2/2010 9.98 1002 EWJ 11/5/2010 10.29 4 3.11
11/15/2010 77.33 129 EWZ 11/22/2010 76.41 6 (1.19)
11/15/2010 14.03 712 EWT 11/22/2010 14.18 6 1.07
11/15/2010 31.04 322 XLV 11/22/2010 30.96 6 (0.26)
11/15/2010 46.64 214 EEM 12/2/2010 46.21 13 (0.92)
11/15/2010 52.78 189 QQQQ 11/23/2010 52.37 7 (0.78)
11/15/2010 112 89 DIA 11/22/2010 111.6 6 (0.37)
11/15/2010 32.46 308 XLI 11/19/2010 32.56 5 0.31
11/15/2010 52.58 190 ILF 11/19/2010 52.28 5 (0.57)
11/16/2010 54.13 184 IYR 11/26/2010 54.1 8 (0.06)
11/16/2010 44.72 223 FXI 12/2/2010 44.45 12 (0.60)
11/17/2010 19.13 522 EWH 12/2/2010 19.38 11 1.31
11/17/2010 130.8 76 GLD 11/23/2010 133.6 5 2.16
11/17/2010 10.22 978 EWJ 11/19/2010 10.44 3 2.15
11/17/2010 70.8 141 IWM 11/19/2010 72 3 1.69
11/17/2010 56.35 177 EFA 11/19/2010 57.31 3 1.70
11/17/2010 34.48 290 XLB 11/22/2010 35.24 4 2.20
11/17/2010 118.2 84 SPY 11/22/2010 119.7 4 1.25
11/24/2010 55.96 178 EFA 12/3/2010 56.9 7 1.68
11/24/2010 75.46 132 EWZ 12/2/2010 76.87 6 1.87
12/1/2010 30.61 326 XLV 12/2/2010 30.9 2 0.95
Avg 5.70 1.02
Overall:
  • 27 Trades
  • 70% Winners
  • 30% losers
  • Average Hold Period: 5.7 Days
  • Average P/L of all trades (winners and losers): 1.02%

To see all of these signals on a chart and to monitor this strategy on a daily basis download the forever free ETF Trading Bandit Trial.

{ 0 comments }

The ETF Trading Bandit forever free trial allows you to see the trades triggered by  Larry Connors’ ‘High Probability ETF Trading’ RSI25/75 strategy.
If you haven’t yet downloaded the software you can get it from here:

Download Here

So far this month there has been 1 long side trade from the group of 20 ETFs that have been used as the test list in Larry’s book.

Here’s that trade:

Trade Details:

  • Entry signal fired on 11/1/2010 @9.92
  • EWJ Purchased next day at open @9.98
  • Exit signal fired on 11/4/2010 @10.25
  • EWJ Sold next day at open @10.29

Total length of time in trade: 4 days

Total P/L: 0.31 or 3.1%

You can follow along with the trades generated from the RSI25/75 strategy for free forever with the ETF Trading Bandit trial:

Download Here

Once you are convinced that you want to trade these signals you can get access to the full PRO version of the program which includes this strategy along with the other 6 High Probability ETF trading strategies from Larry Connors’ book.

The PRO version also allows you to view as many ETFs as you like, so instead of the 20 default ETFs you can get signals for over 800 that are traded in the US.

{ 0 comments }

7 Profitable Strategies That Anyone Can Follow

by Chris White on October 13, 2010

I’ve just finished working on an information series on High Probability ETF Trading and have produced a set of videos with all the information you need to take advantage of these strategies.

Check it out here:
http://www.etftradingbandit.com/

The strategies are all based on published work by Larry Connors and Cesar Alvarez but with a twist. I’ve modified the entry and exit rules so that you don’t have to watch the markets during the day. The strategies have been fully backtested using EdgeRater and the results are documented in a PDF report attached to the video series.

The best thing is that you don’t need expensive software or a monthly subscription to a web site in order to follow the strategies. I’ve included a free spreadsheet that you can use to find tomorrow’s signals.

Check it out here:
http://www.etftradingbandit.com/

{ 0 comments }

Webinar Wednesday…

by Chris White on July 31, 2010

This coming Wednesday (August 4th 2010) I will be hosting a Webinar with Ron Brown and Ian Woodward centered around integration points between EdgeRater and HGSI

We have a limited number of seats (already sold-out once and had to increase availability), so if you are interested, please sign up immediately.  For those of you who cannot attend, we will record and post the webinar.

Sign up here:
Webinar Sign-Up

We plan to discuss three topics:

1.  I will give an overview of EdgeRater and HGS Investor integration.
2.  Ron will backtest for signals using Elder’s Force Index.
3.  Ian will discuss %B buckets and how they reflect market conditions and market extremes.

These and similar ideas will be covered at the HGSI October seminar in Palos Verdes.  I will be attending and demonstrating version 4.0 of EdgeRater with an emphasis on integration with HGSI software.

The webinar will last one hour and will begin at 3:15 Central time.

Sign up here:
Webinar Sign-Up

Chris White
CEO, EdgeRater LLC

{ 0 comments }

e-mini S&P 500 strategy analysis

by Chris White on July 26, 2010

Would you trade this strategy?

After my last post regarding the CME data import functionality an EdgeRater user told me about a winning strategy using the e-mini S&P 500 contract.

It appears that my post was very timely because he had heard about the strategy the day after the post appeared.

Being eager to use this new data capability in the program I decided to run the strategy through the trade simulator to see for myself…

I thought what I found might intrigue you and so I put together another video that shows the exact rules for the strategy and the results of running it over the last 5 years of data.

Feel free to comment at the bottom of the video page.

The Strategy:
VIDEO: e-mini S&P 500 strategy

Happy trading!

{ 0 comments }

EdgeRater V4.1 Released

by Chris White on July 22, 2010

Last weekend I completed work on 2 new data providers for EdgeRater:

  • MetaStock Data Provider
  • ASCII Dated Files Data provider

Yesterday I published these changes to the install location and made it a point release so that the current version is now 4.1. This is the only difference between V4.0 and V4.1.

What this means…

There are now four different ways of getting data into EdgeRater for analysis and prospecting; Yahoo!, Quotes-Plus, ASCII and MetaStock.

Say you wanted to create a trading strategy using the e-mini S&P 500 contract. You would of course need data from the Chicago Mercantile Exchange (CME) in order to do this and CME data is not available from Yahoo! or Quotes-Plus.

ASCII data provider to the rescue…

I put togther a 10 minute video describing how to achieve this using the new ASCII data provider and you will find that here:

VIDEO: Using ASCII Data files

Enjoy!

{ 0 comments }

Last week I went online with Ron Brown of HGSI to experiment with Ian Woodward’s %B buy and sell system for stocks and ETFs. We wanted to see the characteristics of the system in both a down and an up market and we used the SPY as a comparison benchmark. I recorded the session and you can see it here:

http://www.edgerater.com/Videos/IanPctBTradingSystem_Ron.aspx

Enjoy,

Chris.

{ 1 comment }

Relative Strength Trading webinar with Ron Brown

by Chris White on May 22, 2010

Last week I did a webinar with Ron Brown from HGSI on the virtues of Relative Strength trading and how you can analyze strategies like this in EdgeRater. The recording is now available for all to see at:

/Videos/RelativeStrengthWebinar_Ron.aspx

{ 0 comments }

Upcoming EdgeRater feature preview: Exit Events

by Chris White on April 15, 2010

EdgeRater V4.0 is due for release at the end of June. In this video I walk through the upcoming features that are currently on my development machine.

{ Comments on this entry are closed }