Moving average with variable period
MAVP adjusts the moving average period dynamically.
Method
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source_close | pd.Series | Close prices series | - |
source_timeperiod | pd.Series | Time period for source series | - |
minperiod | int | Minimum period for the indicator | 2 |
maxperiod | int | Maximum period for the indicator | 30 |
matype | int | Type of Moving Average | 0 |
Outputs
Output | Type |
---|---|
mavp | np.ndarray |