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