Hi,
This is the entire code I use to create the running average including all values by a certain date (date1).
As you see from below I use the retain statement.
As far as I can see the running_average suggested would alwals include the two most recent values, I am looking for an average of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.