On Balance Volume Oscillator
On Balance Volume can be used to either confirm the current
price trend or warn of a possible reversal.
- It is the trend of the OBV line that is important, not the actual
numbers themselves.
- OBV is a momentum indicator that helps quantify buying or selling
pressure.
- OBV changes often precede price changes.
On Balance Volume was developed by Joe Granville. See his book New
Strategy of Daily Stock Market Timing for Maximum Profits for more
detailed information.
Syntax:
Public Function OBVOscillator(ByVal HLOCV()() As Double, ByVal Lag As Long) As Double
Parameters:
- ByVal HLOCV()() As Double
- ByVal Lag As Long
Back to list
Example:
Dim TA4Net As
New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")
Dim Result() As
Double
Dim
HLOCV(,) As
Double
' loading values to array
HLOCV =
GetHLOCVValues()
' calculating Technical Analysis function
Result = TA4Net.OBVOscillator(HLOCV, 14)
|