% -*- texinfo -*- % @deftypefn {Function File} {} bolling (asset, samples) % @deftypefnx {Function File} {} bolling (asset, samples, alpha) % @deftypefnx {Function File} {} bolling (asset, samples, alpha, width) % @deftypefnx {Function File} {[movavg, upperband, lowerband] =} bolling (asset, samples, ...) % % If no output is requested, plot the bollinger bands of the % @var{asset}. If output is requested, return the values for the % bollinger bands. If given, @var{alpha} is the weighting power of the % moving average; 0 (default) is the simple moving average, see % @code{movavg} for the full definition. @var{width} is the number of % standard deviations to plot above and below the moving average % (default: 2). % % @seealso{movavg, candle, dateaxis, highlow, pointfig} % @end deftypefn