Weighted Moving Average
WMA assigns different weights to different prices, giving more importance to recent data.
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 |
---|---|
wma | np.ndarray |