Weighted CloseThe Weighted Close indicator is an average of each day's price. It gets its name from the fact that extra weight is given to the closing price. The Median Price and Typical Price Indicator are similar indicators. When plotting and back-testing moving averages, indicators, trend lines, etc, some investors like the simplicity that a line chart offers. However, line charts that only show the closing price can be misleading since they ignore the high and low price. A Weighted Close chart combines the simplicity of the line chart with the scope of a bar chart, by plotting a single point for each day that includes the high, low, and closing price. Syntax:Public Function WeightedClose(ByVal HLOCV()() As Double) As Double Parameters:
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.WeightedClose(HLOCV)
|
|
TA4.NET® Franz AG
2004© |
| Browser Based Help. Published by chm2web software. |