Download MetaTrader 5

MathVariance

The function calculates the variance (second moment) of array elements.

double  MathVariance(
   const double&  array[]   // array of values
   )

Parameters

array[]

[in] Array of values.

Return Value

Value of the variance.


Updated: 2017.04.10