PureBytes Links
Trading Reference Links
|
At 6:27 AM -0500 3/25/99, Charles Kaucher wrote:
>Has anyone reviewed the ADX code in EL to see if it is correct? I have
>looked at it and am not sure it is correct. It seems it assigns a value of
>zero to +DMI and -DMI when there is an outside day where the amount outside
>the previous bar at the bottom and top are equal. That does not seem
>correct. For instance, take the following bars:
>
> |
> |
>| |
>| |
> |
> |
>
>This assigns a value of zero to both +DMI and -DMI . See DMIPLUS function
>code: IF MinusDM >= PlusDM then PlusDM = 0;
According to Wilder's book, zero appears to be the correct value for the
case you describe.
Bob Fulks
|