Moving average
Simple moving average is a basic tool to smooth out price fluctuations.
Method
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source | pd.Series | Input data series | - |
timeperiod | int | Number of periods for the indicator | 30 |
matype | int | Type of Moving Average | 0 |
Outputs
Output | Type |
---|---|
ma | np.ndarray |