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 Fri 22-May-2009 15:13:00 by m2html © 2003