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