ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

ADX gives different results when more than necessary data

Open firebird631 opened this issue 1 year ago • 1 comments

I explain,

I made many tests :

  1. compute ADX 7 with just the lookback minimal size (2 x period - 1, it seems)
  2. compute ADX 7 but with more input data (tried with different inputs size +5, +10 , +20 more samples...)
  3. compute ADX 7 using stream_ADX version

Results are never the same, the more the input array is, different the results is (sensibly different but that means no signal or deferred signal).

When using stream_ADX after case 1) it is similar as using only case 1).

Is it something related to the computation of true range ? What could we do to normalize the behavior ?

firebird631 avatar Aug 11 '24 22:08 firebird631

ADX have Unstable period . The result will vary according "starting point" of the feeded data.

Tapanhaz avatar Nov 27 '24 05:11 Tapanhaz