You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While experimenting with the many indicators that you have implemented (big thanks for that!), I noticed a mistake in the calculation for the True Range.
I guess pandas_ta/volatility/true_range.py line 61 should be ranges = [high - low, high - prev_close, prev_close - low]
instead of ranges = [high - low, high - prev_close, low - prev_close]
Regards,
Wout
The text was updated successfully, but these errors were encountered:
You need to be more descriptive then, import pandas_ta is acting up. If this not related to the true_range calculation issued above, please open a new issue with a better description and your environment.
Hi Kevin,
While experimenting with the many indicators that you have implemented (big thanks for that!), I noticed a mistake in the calculation for the True Range.
I guess pandas_ta/volatility/true_range.py line 61 should be
ranges = [high - low, high - prev_close, prev_close - low]
instead of
ranges = [high - low, high - prev_close, low - prev_close]
Regards,
Wout
The text was updated successfully, but these errors were encountered: