admin管理员组文章数量:1122846
I need the ADX indicator in my Python code and I am using the pandas-ta library. The values given from the pandas-ta library is the smoothed version of the ADX, I need the 'raw' version.
I have tried the ta-lib library but it is the same. On MetaTrader5 the smoothed and non-smoothed versions of this indicator is available as ADX and ADX Wilder. I need just the ADX.
My Code:
adx = ta.adx(data.high, data.low, data.close, length=14)
I need the ADX indicator, not the ADX Wilder (which pandas-ta is giving me)
Thanks!
版权声明:本文标题:algorithmic trading - How to get the ADX with pandas-ta library in Python without smoothing? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736283746a1927065.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论