技术文档MQL5参考标准程序库数学统计子函数MathFactorialMathFactorialMathFactorial计算指定整数的阶乘。double MathFactorial( const int n // 数值 )参数 n[in] 将被计算阶乘的整数。返回值 : 数值阶乘。MathPowIntMathTrunc