Download MetaTrader 5

MathSum

Returns the sum of array elements.

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

Parameters

array[]

[in] Array of values. 

Return Value

The sum of the elements.