Hi Ron,
ADX, MDI and PDI are actually fairly lengthy series of calculations as
they use the stock's True Range, summing and some other voo doo a'la
Wilder. To copy it all out is too much for me to undertake this
evening as I have come to trust that AB's formula are a valid. I use ADX
and ATR frequently to find tradable stocks.
Most sites like TA from A to Z don't bother to give you the secret recipe,
because it is beyond the capabilities of most charting software to do on the fly
-- that's why it's usually built it, but it is available. If you wish to
see the true calculations check out J. Wells Wilder's seminal work New
Concepts In Technical Trading Systems (pp 35-52) for how he calculated
it. BTW, if you are serious about wanting to write your own stuff
and not rely on canned indicators, this expensive little book should
be on your desk shelf -- Wilder developed not only ADX, but RSI, Parabolic SAR,
CCI, and a number of other concepts and trading systems.
I believe I still have an Excel worksheet on one of my computers which
will do the calculations For ADX, +DM, -DM and all the required intermediate
steps, however you would have to enter the H, L, AND
C manually. I may also have an ADX Excel worksheet which
includes a macro which will get the requisite data from a QP database. If
you are really interested, send me your email address and I'll dig it up
and send you a copy -- you can then look at the formulas in each cell to
see how these are derived if you wish to develop your own indicator. FWIW,
AB's ADX is consistent with Wilder's formula and my spreadsheet.
Peace and Justice --- Patrick
----- Original Message -----
Sent: Tuesday, February 28, 2006 6:30
PM
Subject: Re: [amibroker] Re: ADX,MDI,PDI
internal codes
Fred, the Amibroker version may be no better than any other
version out there, however, I would still like to have the equation that
TJ uses in the AMIBROKER version of ADX. I was hoping that
someone would have it readily available, I will ask support about it
if I don't see it show up on this board. Thanks for your
suggestion. Ron D
----- Original Message -----
From: "Fred" <ftonetti@xxxxxxxxxxxxx> To:
<amibroker@xxxxxxxxxxxxxxx> Sent: Tuesday, February 28, 2006 12:50
PM Subject: [amibroker] Re: ADX,MDI,PDI internal codes
> Have
you tried writting your own from commonly available sources and >
comparing the results graphically or in an Explore ? > > --- In
amibroker@xxxxxxxxxxxxxxx, "mrdavis9" <mrdavis9@xxx>
wrote: >> >> If it is not proprietary code, I would like to
know the exact > equations that are used by Amibroker in the ADX,
MDI and PDI > functions. Hopefully it is readily available.
Ron
D. >> > > > > > > > > >
Please note that this group is for discussion between users
only. > > To get support from AmiBroker please send an e-mail
directly to > SUPPORT {at} amibroker.com > > For other
support material please check also: > http://www.amibroker.com/support.html > > >
Yahoo! Groups Links > > > > > > >
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|