MQL5参考标准程序库指标自定义指标ParamType NumBuffersNumParamsParamTypeParamLongParamDoubleParamStringType ParamType 获取指定索引处参数的类型。 ENUM_DATATYPE ParamType( int index // 参数索引 ) const 参数 index [输入] 参数索引。 返回值 返回指标创建时使用的指定索引处的参数类型 (值为 ENUM_DATATYPE 枚举)。 注释 如果参数索引无效, 它返回 WRONG_VALUE。 NumParams ParamLong