Different SuperTrend results #867
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
help wanted
Extra attention is needed
Which version are you running? The lastest version is on Github. Pip is for major releases.
0.3.14b0
Do you have TA Lib also installed in your environment?
Yes
Have you tried the development version? Did it resolve the issue?
No
Describe the bug
When using a different source for the supertrend the results are different from the TradingView counterpart. Also it can happen that the close price of a candle is above the upperband but the signal comes the day later.
To Reproduce
Expected behavior
I would have expected it to behave the same way as the TradingView SuperTrend when changing the source and the atr to standard deviation.
Screenshots
I have two screenshots which show the Python and Pine SuperTrend results on INDEX:ETHUSD with the same settings.
Additional context
Here is the equivalent Pine code:
Here the INDEX:ETHUSD data for Python.
INDEX_ETHUSD.csv
The text was updated successfully, but these errors were encountered: