Can someone please share the mathematical formula that zerodha uses for calculating EXPONENTIAL MOVING AVERAGE.
The values I am using in standard formula are not matching with the EMA line drawn on zerodha charts.
Alternately, a python code will also do.
Thanks
The formula used for calculating EMA is mentioned here: ChartIQ SDK Documentation.
6 Likes
What is the smoothing period you are using for the EMA Calculation.For example to calculate a 13 day EMA are you using only 13 days of close price?
Hi, the details are provided in the documentation linked above.