Re: [R] quantmod ATR problem

2008-11-19 Thread Jeff Ryan
This is a bug. It has now been fixed in the R-forge source. I will be updating the package in the next week or so with about a dozen more indicators, as well as some additional features. At that point I will push the change to CRAN. Thanks, Jeff Chris-672 wrote: > > Trying to plot ATR of tim

[R] quantmod ATR problem

2008-11-19 Thread Chris
Trying to plot ATR of time series using SMA using quantmod, plots fine with maType="EMA". However, when I use maType="SMA" I get the following error: Error in SMA(c(0, 0, 0, 0, 0, ... : unused arguments(s) (wilder = FALSE) Calls: addATR -> ATR -> do.call -> SMA Execution halted The code I am u