Does anybody know a reliable way of checking the behavior of the ADX indicator? As implemented it does not match the corresponding indicators in tools I have access to (Metastock, EclipseTrader, TA_LIB). Note that none of these agree with each other either. I reimplemented it based on the description that I found in metastock, but that does not match the original implementation, nor the other ones listed above either. I realize that there might be differences due to whether Wilder's smoothing is used or EMA or SMA, but the values obtained in the various implementations are too inconsistent. I am attaching my new version, if you care.... Th.
Attachment:
ADX.pm
Description: ADX.pm