Typical Price
The Typical Price indicator is an average of each day's price. The
Median Price and
Weighted Close Indicator are similar indicators.
The Typical Price indicator provides a simple, single-line plot of the day's
average price. Some investors use the Typical Price rather than the closing
price when creating moving average penetration systems.
Syntax:
Public Function TypicalPrice(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.TypicalPrice(HLOCV)
|