Home > freetb4matlab > financial > negvolidx.m

negvolidx

PURPOSE ^

%

SYNOPSIS ^

function nvi = negvolidx (c, vol, initnvi)

DESCRIPTION ^

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