[R] Bollinger Bands

Marc Schwartz MSchwartz at medanalytics.com
Mon Nov 24 16:29:18 CET 2003


On Mon, 2003-11-24 at 09:19, Arnaud_Amsellem at ssga.com wrote:
> Is there a way to create Bollinger Bands without having to loop on the
> observations of a time serie?
> 
> Any help appreciated
> 
> Thanks


Have you considered matlines() or matplot()?

Each will generate a plot or add lines to an existing plot based upon
matrices of values.

See the examples in ?matlines or ?matplot to get a feel for what they
can do.

HTH,

Marc Schwartz




More information about the R-help mailing list