Triangular Moving Average
TRIMA is a moving average that places equal weight on all prices within the period.
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 |
---|---|
trima | np.ndarray |