— Function File: obv = onbalvol (closeprice, vol)
— Function File: obv = onbalvol ([closeprice vol])
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.