Ish18
Ish18

Reputation: 1

How to get the ADX with pandas-ta library in Python without smoothing?

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!

Upvotes: 0

Views: 100

Answers (0)

Related Questions