Home > freetb4matlab > financial > posvolidx.m

posvolidx

PURPOSE ^

%

SYNOPSIS ^

function pvi = posvolidx (c, vol, initpvi)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {pvi} = posvolidx (closeprice, vol)
% @deftypefnx {Function File} {pvi} = posvolidx ([closeprice vol])
% @deftypefnx {Function File} {pvi} = posvolidx (closeprice, vol, initpvi)
% @deftypefnx {Function File} {pvi} = posvolidx ([closeprice vol], initpvi)
%
% Compute the positive volume index 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.  If given, the @var{initpvi}
% is the starting value of the pvi (default: 100).
%
% The @var{pvi} will always be a column vector.
%
% @seealso{onbalvol, negvolidx}
% @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