[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EL ADX code.



PureBytes Links

Trading Reference Links

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;


Charles Kaucher

"Math is hard.  Let's go to the mall"  Barbie