On Balance Volume
On Balance Volume ("OBV") is a momentum indicator that relates volume to
price change.
On Balance Volume was developed by Joe Granville and originally presented in
his book New Strategy of Daily Stock Market Timing for Maximum Profits.
On Balance Volume is a running total of volume. It shows if volume is flowing
into or out of a security. When the security closes higher than the previous
close, all of the day's volume is considered up-volume. When the security closes
lower than the previous close, all of the day's volume is considered
down-volume.
The basic assumption, regarding OBV analysis, is that OBV changes precede
price changes. The theory is that smart money can be seen flowing into the
security by a rising OBV. When the public then moves into the security, both the
security and the OBV will surge ahead.
If the security's price movement precedes OBV movement, a "non-confirmation"
has occurred. Nonconfirmations can occur at bull market tops (when the security
rises without, or before, the OBV) or at bear market bottoms (when the security
falls without, or before, the OBV).
The OBV is in a rising trend when each new peak is higher than the previous
peak and each new trough is higher than the previous trough. Likewise, the OBV
is in a falling trend when each successive peak is lower than the previous peak
and each successive trough is lower than the previous trough. When the OBV is
moving sideways and is not making successive highs and lows, it is in a doubtful
trend.
Once a trend is established, it remains in force until it is broken. There
are two ways in which the OBV trend can be broken. The first occurs when the
trend changes from a rising trend to a falling trend, or from a falling trend to
a rising trend.
The second way the OBV trend can be broken is if the trend changes to a
doubtful trend and remains doubtful for more than three days. Thus, if the
security changes from a rising trend to a doubtful trend and remains doubtful
for only two days before changing back to a rising trend, the OBV is considered
to have always been in a rising trend.
When the OBV changes to a rising or falling trend, a "breakout" has occurred.
Since OBV breakouts normally precede price breakouts, investors should buy long
on OBV upside breakouts. Likewise, investors should sell short when the OBV
makes a downside breakout. Positions should be held until the trend changes (as
explain-ed in the preceding paragraph).
This method of analyzing On Balance Volume is designed for trading short-term
cycles. According to Granville, investors must act quickly and decisively if
they wish to profit from short-term OBV analysis.
Syntax:
Public Function OnBalanceVolume(ByVal HLOCV()() As Double) As Double
Parameters:
- ByVal HLOCV()() As Double
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.OnBalanceVolume(HLOCV)
|