Sharing investing and trading ideas. Helping traders get started.
Advertisement

Saturday, April 28, 2012

Accumulation/Distribution Line ADL - Backtest Results and Implementation Issues

Accumulation/Distribution Line (ADL) - Backtest Results and Implementation Issues
Discusses basic issues and results when attempting to back-test the ADL line indicator

Data: S&P500 Emini Futures
Futures Contract Rollover: Arbitrarily set on second Friday of every Mar, Jun, Sep and Dec
Period: 28 Dec 2008 - 31 Mar 2012 (Hourly Chart)
VBA Code: Method B of Code
Excel Version: 2010

Click here for background information, formula, calculation steps and the entire VBA code.

There are multiple variations on how to apply an indicator. I seek your understanding that the work done below are experiments and are for information purposes only.

Summary of Results 
A naive strategy produced profitable results without accounting for transactions costs. Further research is necessary to create expected returns that remain positive after trading costs.

Procedure in Brief
Pasted the code into Excel with changes made as per comments in code to direct application to ranges with input data (High, Low, Close columns). Screen Shot 1 shows the output (the last three columns)

Screen Shot 1

Detailed Findings and Results
1) Conventional implementations of the ADL line suggests that divergence between ADL and prices are meaningful. However, it is difficult to judge divergence based on indicator and price levels alone. 

In my sample period, the ADL line, like price data, is non-stationary. Simply put, the ADL does not fluctuate around a constant mean. Otherwise, I simply did not use enough data to demonstrate the stationarity of the ADL line. Therefore, the ADL line in its raw form may not be easy to interpret. 

Chart 1: ADL line versus S&P 500

2) I tried rescaling the data using the formula -

Adjusted Close = (Close - Low of entire period) / (High of entire period - Low of entire period)
Adjusted ADL = (ADL - ADL Low of entire period) / (ADL High of entire period - ADL Low of entire period)
Chart 2 shows how the rescaled data looks like

Chart 2

Again, there is no meaningful interpretation at first glance. Furthermore, in real life implementation, there is no way of knowing the low and high of the entire period, including past, current and future moments in time.

3) Finally, I resorted to measuring the change in

I used the following simple trading rule

A) Calculate the percentage change in price at the end of each hour
B) Calculate the percentage change in ADL at the end of each hour
C) Calculate Percentage Change in ADL - Percentage Change in Price
D) If Percentage Change in ADL is higher than Percentage Change in Price, Long (in the next hour)
E) If Percentage Change in ADL is lower than Percentage Change in Price, Short (in the next hour)
F) If Percentage Change in ADL is equal to Percentage Change in Price, Maintain Position (in the next hour)

Conclusion
Unadjusted for slippage and transaction costs, my simple trading rule above generated 9,838 trades over a three year plus period and 601 index points per contract of profit. Chart 3 shows the cumulative profit of this strategy (without transaction costs).

Chart 3: Cumulative Gross Profit

However, the sure number of trades suggest that transaction costs will be high. As such, practical implementation will be a challenge. The breakeven level requires each trade to have a transaction cost of at most 0.061 index points (601 divided by 9838).

Further research can be in the modification of trading rules, such as enter into a long or short position only if the positive or negative divergences are sufficiently large.

Any suggestion or comments are welcome.



Like what you have just read? Digg it or Tip'd it.
The objective of Finance4Traders is to help traders get started by bringing them unbiased research and ideas. Since late 2005, I have been developing trading strategies on a personal basis. Not all of these models are suitable for me, but other investors or traders might find them useful. After all, people have different investment/trading goals and habits. Thus, Finance4Traders becomes a convenient platform to disseminate my work...(Read more about Finance4Traders)

18 comments:

ADmin said...

Exactly as in B2C, the objective of keeping in touch with business is right here to make a bargain. A significant contrast, however, is the period of time and number of individuals included.

Unknown said...

I was checking Accumulation distribution for one of India's most famous stock 'Reliance Industries'. It's daily accumulation indicator shows a positive trend from mid October 2012 until Dec 2012 on the daily chart. If i Check the weekly chart, the accumulation shows a downtrend for the same period. This site helps me to write my essay on this theme. How is that possible?

Emma Brooks said...

Thanks for the informative article.

Writings-centre.com said...

Useful information shared..I am very happy to read this article.. :)
Writings-centre.com.

Essay writer said...

This article contains useful information. click to read more

Cheerful said...

Useful research. Good job. Click site to know more.

alexxlexx said...

Fantastic post! I wish I could write my papers so good as you! Good Job!

BobRobin said...

If you have any difficulties with your tasks, you can always get valuable assistance and useful tips from professional writers and editors.

Unknown said...

Oh, I am not strong in financial questions. Usually for help I speak to the brother. He is talanted financial expert! And am an essay writer. I work on several professional paper writing services .

Unknown said...

We live in an ever changing world. New technologies keep coming up and if you don’t want to be left behind, you must keep up with the world which is moving really fast. Without education it will be really difficult for you to adapt to all these changes. An educated person is much more aware of the latest technologies and all the changes that are taking place in the world. http://buy-custom-writings.com

Unknown said...

This is a proper blog for everyone who hopes to learn about this topic. You are aware of much its almost tricky to argue on hand not that I really would want.www.advanced-writer.com You actually put a brand new spin on a topic thats been discussed for some time. Great stuff, just excellent!

Anonymous said...

While writing an essay the things may turn more complicated, than you thought it would be,in this case, welcome to essays-shark.net and we will help you

kitty23 said...

Is it difficult to write an essay? http://www.essay-mania.com they are professionals in this kind of area! And college life will be the best time in your life!

Papers-Writings.com said...

I find this info very helpful for businessmen. So keep writing, I wish you luck and inspiration! If you feel you need some writing help go to http://papers-writings.com

Unknown said...

Thanks for posting so useful data. I find it as a good source to write an effective and interesting term paper. By the way, I know one more perfect source that can make student life better. This is www.academic-writings.com that offers superb-quality and original academic papers on any topic. High grades are guaranteed.

Unknown said...

Last year I worked on company like this!So i have a small experience, how work with this charts!But i think this article be useful for other people! For example students, what study now on economic faculty! By the way also for student be useful to know about this site http://essay-professors.com where they can order their college assignments!

essay-experts said...

College writing services available for cheap online!

Sophie Grace said...

such a wonderful idea! Hope everybody was surprized) I would like to do the same, after finished my essay lewis capaldi net worth

Post a Comment