Difference in EMA values between pandas-ta and tradingview
See original GitHub issueWhich 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, 0.4.24
Did you upgrade? Did the upgrade resolve the issue?
Requirement already satisfied
Describe the bug There seem to be discrepancies between EMA values when comparing pandas-ta output with tradingview.
To Reproduce
Expected behavior I would expect the values to match up, meaning the output for 17th of april would be approximately 44419.5 instead of 48125. Since I am using CCXT to fetch the data from bybit I am not sure if this is the right place to ask but I still hope that you can help me. The close data from the dataframe matches up with the values on bybit so I assume the EMAs are calculated a little differently?
Screenshots
Thanks
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top GitHub Comments
Yukemaster who opened the issue.
@Yukemaster,
Did you test out the other ema parameters as suggested? If so, did it in/validate your conclusion? I want to make sure that your issue was resolved since many Moving Averages are the core of indicators and strategies that people use.
Thanks, KJ