Libraries: IncOBVOnArray

 

IncOBVOnArray:

The COBVOnArray class is intended for calculation of OBV (On Balance Volume) on indicator buffers.

On Balance Volume Technical Indicator (OBV) is a momentum technical indicator that relates volume to price change. The indicator, which Joseph Granville came up with, is pretty simple. If the close price of the current bar is higher than that of the previous bar, the volume of the current bar is added to the previous OBV. If the current bar close price is lower than of the previous one, the current volume is subtracted from the previous OBV.

Author: Дмитрий

An example of using the CObvOnArray class