The 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.
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)