The Wayback Machine - https://web.archive.org/web/20200609101054/https://github.com/bukosabino/ta/issues/98
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

Getting warnings @ ADX indicator #98

Open
CrossfireX opened this issue Nov 15, 2019 · 3 comments
Open

Getting warnings @ ADX indicator #98

CrossfireX opened this issue Nov 15, 2019 · 3 comments

Comments

@CrossfireX
Copy link

@CrossfireX CrossfireX commented Nov 15, 2019

Running the "visualize_features.ipynb" example gets me this warning:
/home/vant/projects/python/ta/env-ta/lib/python3.7/site-packages/ta/trend.py:468: RuntimeWarning: invalid value encountered in double_scalars dip[i] = 100 * (self._dip[i]/self._trs[i]) /home/vant/projects/python/ta/env-ta/lib/python3.7/site-packages/ta/trend.py:472: RuntimeWarning: invalid value encountered in double_scalars din[i] = 100 * (self._din[i]/self._trs[i])
Looks like an error at ADX trend indicator. Can you please take a look at it?
Thanks and keep up the good work!

@bukosabino
Copy link
Owner

@bukosabino bukosabino commented Nov 16, 2019

Hi @CrossfireX ,

This is a warning, not an error. You can use ADX and the results will be right.

Anyway, I will try to solve!

Thank you.

@CrossfireX CrossfireX changed the title Getting errors @ADX indicator Getting warnings @ ADX indicator Nov 16, 2019
@CrossfireX
Copy link
Author

@CrossfireX CrossfireX commented Nov 16, 2019

True, the D+ and D- worked correctly, now the trend adx is working too.

@alimrd318
Copy link

@alimrd318 alimrd318 commented Mar 22, 2020

same issue with ADX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.