Skip to content
Prev 274317 / 398506 Next

moving average TTR

I believe the lag() function can be used to rig this up.

Something like sma.365 <- SMA(lag(data, 12), n=120)  # Untested, but seems right

Michael
On Thu, Oct 13, 2011 at 6:31 AM, Laura <Janna-88 at web.de> wrote: