PureBytes Links
Trading Reference Links
|
Metastock has several ADX built in functions.
Guppy Traders site probably has other ADX coding.
Here is one from Equis: The other one ADX that was published about the same
time didn't seem to work easily as easily so I deleted it and no longer have
it.
Title: ADX Raw
{MetaStock code written by Equis and published in the Oct99 TASC}
{ADX Raw}
{ this indicator moves up for trends up and down for trends down}
Periods:=Input("Enter time periods",1,100,14);
PlusDM:=If(H>Ref(H,-1) AND
L>=Ref(L,-1),H-Ref(H,-1),
If(H>Ref(H,-1) AND L<Ref(L,-1)
AND H-Ref(H,-1)>Ref(L,-1)-L,
H-Ref(H,-1),0));
DIPlus:=100*Wilders(PlusDM,Periods)/ATR(Periods);
MinusDM:=If(L<Ref(L,-1) AND
H<=Ref(H,-1),Ref(L,-1)-L,
If(H>Ref(H,-1) AND L<Ref(L,-1)
AND H-Ref(H,-1)<Ref(L,-1)-L,
Ref(L,-1)-L,0));
DIMinus:=100*Wilders(MinusDM,Periods)/
ATR(Periods);
{Change orignal expr by removing ABS}
DIDif:=(DIPlus - DIMinus);
DISum:=DIPlus + DIMinus;
100*Wilders(DIDif/DISum,Periods);
You will find another one, and other MS formulas at
http://www.equis.com/customer/resources/formulas/formula.aspx?Id=3
From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx]
On Behalf Of andrew_slemko
Sent: Sunday, March 04, 2007 4:54 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] ADX formula
Does any one have the correct ADX formula? The one I have does not seem
to plot the way it's intended to. I'm also looking for -DMI and +DMI
they don't seem to be within the indicator builder do they go by a
different name?
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Transfer from your equities account.
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|