Home > freetb4matlab > financial > onbalvol.m

onbalvol

PURPOSE ^

%

SYNOPSIS ^

function obv = onbalvol (c, vol)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {obv} = onbalvol (closeprice, vol)
% @deftypefnx {Function File} {obv} = onbalvol ([closeprice vol])
%
% Compute the on balance volume of a security based on its closing
% price (@var{closeprice}) and @var{vol}ume.  They may be given as
% separate arguments or as an nx2 matrix.
%
% The output will be a column vector, and the first number in the
% output is always 0.
%
% @seealso{negvolidx, posvolidx}
% @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