For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
ZeroDivisionError on using ADX indicator
-
Hey,
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.
Thanks -
@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.