Computes the moving average of the value over the specified number of periods using the specified moving average type.
Function Parameters | |
---|---|
Parameter | Description |
<value> | The value to compute the moving average of. |
<periods> | The number of periods to compute the moving average over. |
<MAType> | The type of moving average to compute. |
MAType can be specified as follows:
MAType | |
---|---|
Parameter | Description |
MAType.SMA | Simple moving average. |
MAType.SMMA | Smoothed moving average. |
MAType.EMA | Exponential moving average. |
MAType.LWMA | Linear weighted moving average. |
MAType.LSMA | Least square moving average. |
MAType.HMA | Hull moving average. |
MAType.WILDERMA | Wells Wilder simple moving average. |
The following are aliases for the MOV function: