Add Bollinger Bands to Chart
addBBands.RdAdd Bollinger Bands to current chart.
Details
The primary addition to this function call over the TTR
version is in the draw argument. ‘bands’ will draw
standard Bollinger Bands, ‘percent’ will draw Bollinger %b
and ‘width’ will draw Bolinger Bands Width. The last two will
be drawn in new figure regions.
See bollingerBands in TTR for specific details as to implementation and references.
Value
Bollinger Bands will be drawn, or scheduled to be drawn,
on the current chart. If draw is either percent or width
a new figure will be added to the current TA figures charted.
A chobTA object will be returned silently.