How to Buy Shares - Calculating Average Directional Movement Using Excel - ADX Formula
99Average Directional Movement Indicator
If you plan to enter the business of trading shares or stocks for a living, then you are likely to come across Average Directional Movement (ADX). ADX has become a widely-used indicator by traders through out the world. The Average Directional Index, ADX, was created in 1978 by J. Welles Wilder for determing the strength of a trend.
We start by defining an exponential moving average as a moving average with weighing factors which decreases exponentially, giving much more importance to recent prices while still not discarding older prices entirely. Exponential moving average is also called exponentially weighted moving average.
Calculating Average Directional Movement Using Excel
Here below are steps you need to take to compute Welles Wilder’s Average Directional Movement (ADX) using excel.
1. If you decide to use a 14-days period, then insert the numbers 1 to 14 in column “A”. You need the sum total of the fourteen numbers which you will get by using the formula “=Sum(A1:A14)” which is equal to 105.
2. Insert the stock’s high, low, and closing prices in each of columns “B”, “C” and “D” respectively.
3. Compute UpMove by inserting “= (B1-B2)” in column “E”.
4. Compute DownMmove by inserting “= (C1-C2)” in column “F”.
5. Check if UpMove is greater than DownMove by inserting in column “G” the formula “=if(abs(E1)>abs(F1),1,-1)”
6. Check if UpMove is greater than 0 by inserting in column “H” the formula “=if(E1>0,1,-1)”
7. Check if DownMove is greater than 0 by inserting in column “I” the formula “=if(F1>0,-1,0)”
8. Compute +DM by inserting in column “J” the formula “= if(G1+H1=2,E1,0)”
9. Compute -DM by inserting in column “K” the formula “= if((G1+I1)=-2,F1,0)”
True Range
Define “TrueRange” as the largest of:
(a) Today's High - Today's Low
(b) Today's High - Yesterday's Close
(c) Yesterday's Close - Today's Low
10. Compute absolute (Today's High - Today's Low) by inserting in column “L” the formula “=abs(B1-C1)”
11. Compute absolute (Today's High - Yesterday's Close) by inserting in column “M” the formula “=abs(B1-D2)”
12. Compute absolute (Yesterday's Close - Today's Low) by inserting in column “N” the formula “=abs(D2-C1)”
13. ComputeTrueRange (TR) by inserting in column “O” the formula “=Max(L1:N1)”
Exponential moving average
Next, compute the following:
14. Exponential moving average (+DM14) of +DM by inserting in column “P” the formula “=((14*J1+13*J2+12*J3+11*J4+10*J5+9*J6+8*J7+7*J8+6*J9+5*J10+4*J11+3*J12+2*J13+1*J14))/105”
15. Exponential moving average (-DM14) of -DM by inserting in column “Q” the formula “=((14*K1+13*K2+12*K3+11*K4+10*K5+9*K6+8*K7+7*K8+6*K9+5*K10+4*K11+3*K12+2*K13+1*K14))/105”
16. Exponential moving average (TR14) of TR by inserting in column “R” the formula “=((14*O1+13*O2+12*O3+11*O4+10*O5+9*O6+8*O7+7*O8+6*O9+5*O10+4*O11+3*O12+2*O13+1*O14))/105”
Directional Indicators
Next, calculate the Directional Indicators as follows:
17. Directional Indicator (+DI14) = +DM14 divided by TR14 by inserting in column “S” the formula “=P1/R1”
18. Directional Indicator (-DI14) = -DM14 divided by TR14 by inserting in column “T” the formula “=Q1/R1”
Next, calculate the components of the Average Directional Movement Index (ADX)
19. Calculate the absolute DI Difference (+DI14 - -DI14) by inserting in column “U” the formula “=abs(S1-T1)”
20. Calculate DX = DI Difference divided by the sum of +DI14 and -DI14 by inserting in column “V” the formula “=U1/(sum(S1:T1))”
21. Calculate ADX = the exponential moving average of DX by inserting in column “W” the formula “=((14*V1+13*V2+12*V3+11*V4+10*V5+9*V6+8*V7+7*V8+6*V9+5*V10+4*V11+3*V12+2*V13+1*V14))/105”
|
Trading Stock Options: Basic Option Trading Strategies And How I've Used Them To Profit In Any Market
Price: $10.95
List Price: $12.95 |
|
Avoiding Option Trading Traps with Larry McMillan What To Look For and Strategies for Success
Price: $23.49
List Price: $99.00 |
|
Using Stock Trading Strategies
Price: $0.99
|
|
Million Dollar Challenge: Learn, Trade & Win! "Game teaches trading principles in a fun and inventive way." - Stocks & Commodities Magazine
Price: $29.00
|
Draw or Insert a chart using Excel
Hold and drag your formulas from columns “E” to column “W” downward in as much as you would want to go into the past.
Now select column “S”, ”T” and “W” data and draw or insert a chart using Excel. You will now have The Directional Movement System as developed by Welles Wilder and as shown in the image below which you can use for entering and exciting your trades. Once you learn how to use Directional Movement System in excel then you can latter manipulate it to your liking and the sky will be the limit to what you can do with it.
Trades:
Buy shares or go long the stocks when +DI is above -DI and at least one of the following has happened:
1. ADX rises while +DI and ADX are above -DI
2. ADX turns up from below +DI and –DI
Close or exit your positions when +DI crosses below -DI
Short stocks or trade in downside direction when -DI is above +DI and at least one of the following have happened:
1. ADX rises while -DI and ADX are above +DI
2. ADX turns up from below +DI and –DI
Close or exit your positions when -DI crosses below +DI
Important: Always use automatic stop loss orders which should preferably be with your stock broker.Average Directional Movement, ADX, does not indicate trend direction. ADX indicates only the trend strength. ADX is a lagging indicator and traders must be aware of this. It is only after a trend has established that ADX will generate a signal. Average Directional Movement, ADX, will range between 0 and 1. Values below 0.20 indicate a weak trend and values above 0.40 indicates a strong trend.
The Author’s page is designed to help beginners and average readers make some money as an extra income to supplement what they may be earning elsewhere - details of which you can find in My Page, if you will.
PrintShare it! — Rate it: up down flag this hub
Comments
Thanks for the nice hub.
Great insight into penny stock. Info will assist novice interested in jumping into stock market investing. Thanks.
good idea
This is definitely a cut above the usual stock hubs. Thanks very much ngureco.
I created a automated trading system that was based on the ADX. Orders are placed when the +Di and -Di line reach a certain difference in value, and the position is placed according to what line is on top. J Welles Wilder also recommended in his book that the PSAR be used with the ADX to determine when to exit the market. I experimented with a 28 day period, mixed results.
This is cool. Can you give a downloadable example of the Excel sheet that you are building in this tutorial?
Thanks for your time, always good read
Very nice to know.
It is so complicated to learn but it is good information. Thanks for sharing.
very god descption with mathematical calculations.
You may also like to visit some of mine about stock market.
Thanks
Jyoti Kothari
thanks for this wonderful piece of information
Great site. Thanks for the info.





















Mitch King says:
2 months ago
Wow, very technical hub. For those looking to take over their own investments understanding these formulas is essential.