MQL5参考标准程序库指标自定义指标NumParams NumBuffersNumParamsParamTypeParamLongParamDoubleParamStringType NumParams 获取参数数量。 int NumParams() const 返回值 创建指标时使用的参数数量。 NumBuffers ParamType