Compute the on balance volume of a security based on its closing price (closeprice) and volume. 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.
See also: negvolidx, posvolidx.
Package: financial