Home > freetb4matlab > financial > bolling.m

bolling

PURPOSE ^

%

SYNOPSIS ^

function [varargout] = bolling (asset, samples, alpha, width)

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003