On Balance Volume (OBV)
Previous Topic  Next Topic 

Definition

Courtesy of www.stockcharts.com
Courtesy of www.marketscreen.com


Syntax
OBV()
OBV(IDataSeries inputData)

Returns default value
OBV()[int barsAgo]
OBV(IDataSeries inputData)[int barsAgo]


Return Type
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.


Parameters

inputData

Indicator source data (?)


Examples

// Prints the current value of OBV
double value = OBV()[0];
Print("The current OBV value is " + value.ToString());


Source Code
You can open up the indicator source code via the NinjaScript Editor.