ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

ADX issue

Open mayhem7 opened this issue 4 years ago • 2 comments

ADX seems to work "well", but when i try a low period value it gives really high values, i'm comparing those with tradingview or binance adx values...

Up to 7-14 periods it works well, but i'm trying 3 period and it gives like 40-70 instead of 8-9...

Any suggestions? thanks!

mayhem7 avatar Aug 24 '21 17:08 mayhem7

Can you provide a test case showing what you get and what you expect?

mrjbq7 avatar Aug 24 '21 18:08 mrjbq7

I think i found the probem, both binance and tradingview have a "smooth adx" period, they both give the same result (which is different from ta-lib) it seems that ta-lib doesn't have the smooth adx, just a ... rough adx? because i found another indicator which gives the same result and it's called just adx in binance, so i think there must be a difference. The weird thing is that they both give the same result in 7+ periods but super different values in 6- periods.

mayhem7 avatar Aug 24 '21 21:08 mayhem7