Dev Branch: Chandelier Exit offset direction #820
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Which version are you running? The lastest version is on Github. Pip is for major releases.
I am using python 3.9 and pandas_ta 0.4.19b0 (dev branch).
Do you have TA Lib also installed in your environment?
no
There is a bug in the development branch of the volatility indicator "Chandelier Exit", see here:
pandas-ta/pandas_ta/volatility/chandelier_exit.py
Line 108 in 438f3a9
If you add a nonzero offset, the direction column is replaced with the shifted short column. In reality you would want the direction column to be shifted itself.
Here is what I believe to be the corrected version (only the last line is changed):
The text was updated successfully, but these errors were encountered: