技术文档MQL5参考标准程序库数学统计子函数MathSumMathSumMathSum返回数组元素的总数。double MathSum( const double& array[] // 数值数组 )参数 array[][in] 数值数组。返回值 元素的总数。MathMaxMathProduct