Hello I am trying to calculate movavg as:
I have the following:
Error using movavg (line 7) Not enough input arguments.
So if I try:
Error using movavg (line 8) This function only supports exponential moving averages
So it only works if I use the following:
...BUT I want simple moving averages not exponential!!
This is strange since the syntax of the function is the following:
movavg(Asset, Lead, Lag, Alpha) [Short, Long] = movavg(Asset, Lead, Lag, Alpha)
Anybody can help me?