.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > FinancialEngine Class > OnBalanceVolume Method : OnBalanceVolume(SeriesCollection) Method
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
OnBalanceVolume(SeriesCollection) Method
On Balance Volume ("OBV") is a momentum indicator developed by Joe Granville that relates volume to price change.
Syntax
'Declaration
 
Public Overloads Shared Function OnBalanceVolume( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
'Usage
 
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = FinancialEngine.OnBalanceVolume(sc)
public static SeriesCollection OnBalanceVolume( 
   SeriesCollection sc
)

Parameters

sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
Remarks

Indicator Formula

The formula for this indicator is:


If today's close is greater than yesterday's close then:
OBV = Yesterday's OBV + Today's Volume
If today's close is less than yesterday's close then:
OBV = Yesterday's OBV - Today's Volume
If today's close is equal to yesterday's close then:
OBV = Yesterday's OBV
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also