MQL5参考标准程序库指标趋势指标CiVIDyACreate CmoPeriodEmaPeriodIndShiftAppliedCreateMainType 创建 它以指定参数创建指标。使用 Refresh() 和 GetData() 来更新和获取指标数据。 bool Create( string symbol, // 品名 ENUM_TIMEFRAMES period, // 周期 int cmo_period, // 动量周期 int ema_period, // 平均周期 int ind_shift, // 平移 int applied // 处理或应用的价格类型 ) 参数 symbol [输入] 品名。 period [输入] 时间帧 (ENUM_TIMEFRAMES 枚举)。 cmo_period [输入] 动量周期。 ema_period [输入] 平均周期。 ind_shift [输入] 水平平移。 applied [输入] 处理或应用的价格类型。 返回值 true 如果成功, false 如果指标未能创建。 Applied Main