ZeroDivisionError on using ADX indicator
I am getting ZeroDivisionError when I am trying to use
AverageDirectionalMovementIndex in my code.
I tried searching on the forum but still, there is no answer on how to tackle this issue.
Like in the RSI indicator there is a safediv param to handle this issue, but why not in the ADX indicator.
run-out last edited by
@yashagw It's very hard to help you with the limited question you ask. Please include your code and a sample of your data if you can. Thanks.