TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.56k stars 1.75k forks source link

Re: EMA indicator calculation #632

Open akaulgud1 opened 9 months ago

akaulgud1 commented 9 months ago

Hello,

I have installed TA-LIB for Python.

I calculated EMA for 5 and 50 period against 6 months and 1 year data.

Couple of observations:

  1. value for 50EMA differs when I use 6 months data v/s 1 year data
  2. when compared with 50 EMA on investing.com, 50 ema calculated is not accurate , deviates by 10-12 points on higher side.

could you please look into this and advise.

Here is the code 5-50-setup.txt

Here are data files RELIANCE-updated-using-1year-data.xlsx RELIANCE-updated-using-6-months-data.csv