indicative.indicators.ema#
Attributes#
Classes#
Module Contents#
- class indicative.indicators.ema.EMA[source]#
Bases:
indicative.protocols.IndicatorProtocol
,indicative.mixins.IndicatorMixin
Exponential Moving Average (EMA).
The Exponential Moving Average (EMA) is a type of moving average that gives more weight to more recent prices. It is calculated by taking the average price of a security over a specified period of time, with more recent prices given more weight.
- Parameters:
timeperiod (int) – The number of bars to use in the calculation of the EMA. Defaults to 30.