PureBytes Links
Trading Reference Links
|
------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.
To reply: http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=6138
------------------------------------------------------------------------
Thank you Roy,
I have been tried this formula before, but it seems different to the
ADX indicator from my software.
I'm including the screen shot of my software and the Metastock screen
shoot, in which you can see the differences.
There are two lines on the Metastock screen shoot, the blue one is
the Directional Movement ADX, and the red one is an ADX formula
without rounding. Both of them are different to the ADX that I have
in my software.
Do you have any suggestion?
Oscar.
--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
wrote:
> Oscar
>
> Here is an ADX formula for MS published in TASC. The standard MS ADX
> indicator appears to be rounded to the nearest whole number, or is
in some
> way truncated to eliminate all decimal fractions. The example below
does not
> have the same rounding.
>
> Roy
>
> {MetaStock code written by Equis and published in the Oct99 TASC}
> {ADX Raw}
> Periods:= Input("Enter time periods",1,100,14);
> PlusDM:= If(HIGH>Ref(HIGH,-1) AND
> LOW>=Ref(LOW,-1), HIGH-Ref(HIGH,-1),
> If(HIGH>Ref(HIGH,-1) AND LOW<Ref(LOW,-1)
> AND HIGH-Ref(HIGH,-1)>Ref(LOW,-1)-LOW,
> HIGH-Ref(HIGH,-1), 0));
> DIPlus:= 100 * Wilders(PlusDM,Periods) /
> ATR(Periods);
> MinusDM:= If(LOW<Ref(LOW,-1) AND
> HIGH<=Ref(HIGH,-1), Ref(LOW,-1)-LOW,
> If(HIGH>Ref(HIGH,-1) AND LOW<Ref(LOW,-1)
> AND HIGH-Ref(HIGH,-1)<Ref(LOW,-1)-LOW,
> Ref(LOW,-1)-LOW, 0));
> DIMinus:= 100 * Wilders(MinusDM,Periods) /
> ATR(Periods);
> DIDif:= Abs(DIPlus - DIMinus);
> DISum:= DIPlus + DIMinus;
> ADXRaw:= 100 * Wilders(DIDif/DISum, Periods);
> ADXRaw;
>
>
> > I have been helping to a friend in technical analysis learning
> > process, he has a Metastock 7.22 and we saw that one of the
> > indicator, the ADX is different from the Metastock to another
> > software analysis, obviously in the same symbol for the same
periods.
> >
> > I would like to ask for help and if any could send me a source for
> > the original ADX indicator formula that I suppose is the one in my
> > software.
> >
> >
> > Thank you.
> >
> > Oscar.
> >
> >
> >
> >
> > 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/
> >
> >
> >
> >
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/
|