Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADX gives different results when more than necessary data #672

Open
firebird631 opened this issue Aug 11, 2024 · 1 comment
Open

ADX gives different results when more than necessary data #672

firebird631 opened this issue Aug 11, 2024 · 1 comment

Comments

@firebird631
Copy link

firebird631 commented Aug 11, 2024

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 ?

@Tapanhaz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants