VarianceThe variance is a measure of how spread out a distribution is. It is computed as the average squared deviation of each number from its mean. Syntax:Public Function Variance(ByVal VIn() As Double, ByVal Lag As Long) As Double Parameters:
Example:
Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE") Dim Result() As Double Dim CloseValues() As Double
' loading values to array CloseValues = GetCloseValues() ' calculating Technical Analysis function Result = TA4Net.Variance(CloseValues, 14)
|
|
TA4.NET® Franz AG
2004© |
| Browser Based Help. Published by chm2web software. |