ma
Syntax
ma(X, window, maType)
Please see TA-Lib Functions for the parameters and windowing logic.
Arguments
maType is the type of moving averages. It is an integer in [0,8].0= sma , 1= ema , 2= wma , 3= dema , 4= tema , 5= trima , 6= kama , 7=(mama), 8= t3 .
Details
Calculate the moving average (whose type is determined by maType) in a sliding window of the given length.