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 tradingHow to get the ADX with pandasta library in Python without smoothingStack Overflow