# EMA Calculation

An indicator used to reduce the complexity of the price action is moving average. This is of two types namely simple and exponential. The unweighted mean of a certain number of data is simple moving average. When more weight is given to the data, it is called as the exponential moving average. Calculation of EMA is done with today price, yesterday price and number of days using this calculator.

## Exponential Moving Average Calculator

An indicator used to reduce the complexity of the price action is moving average. This is of two types namely simple and exponential. The unweighted mean of a certain number of data is simple moving average. When more weight is given to the data, it is called as the exponential moving average. Calculation of EMA is done with today price, yesterday price and number of days using this calculator.

Code to add this calci to your website  #### Formula:

EMA = ( t * k ) + ( y * ( 1 - k ) ) k = 2 / ( N +1 ) Where, EMA = Exponential Moving Average t = Today Price y = Yesterday Price N = Number of Days