Exponential Moving Average
EMA gives more weight to recent prices, reflecting the latest market trends.
Method
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source | pd.Series | Input data series | - |
timeperiod | int | Number of periods for the indicator | 30 |
Outputs
Output | Type |
---|---|
ema | np.ndarray |