| addBBands {quantmod} | R Documentation |
Add Bollinger Bands to current chart.
addBBands(n = 20, ma = "SMA", sd = 2, on = -1)
n |
number of moving average periods |
ma |
type of moving average to be used |
sd |
number of standard deviations |
on |
which figure area of chart to apply to |
See bollingerBands in TTR for specific details as to implementation and references.
Bollinger Bands will be drawn, or scheduled to be drawn, on the current chart. A chobTA object will be returned silently.
Jeffrey A. Ryan
See bollingerBands in TTR written by Josh Ulrich
## Not run: addBBands() ## End(Not run)