Page 1 of 1

forward looking moving average

Posted: Mon Jun 13, 2016 1:15 pm
by EviewsUser1
Is there an automatic way (a function perhaps) to calculate a forward moving average? I have a variable rff and I would like to construct a series rff_forward = (rff+rff(1)+rff(2)+......+rff(119))/120.

The @movav does not seem to work for forward moving averages. Any advice?

Re: forward looking moving average

Posted: Mon Jun 13, 2016 1:55 pm
by EViews Gareth
@movav(rff(120))