MQL5参考标准程序库策略模块智能交易基准类CExpertSignalMagic BasePriceUsedSeriesWeightPatternsUsageGeneralIgnoreInvertThresholdOpenThresholdClosePriceLevelStopLevelTakeLevelExpirationMagicValidationSettingsInitIndicatorsAddFilterCheckOpenLongCheckOpenShortOpenLongParamsOpenShortParamsCheckCloseLongCheckCloseShortCloseLongParamsCloseShortParamsCheckReverseLongCheckReverseShortCheckTrailingOrderLongCheckTrailingOrderShortLongConditionShortConditionDirection Magic 设置 "魔幻数字" 参数的值。 void Magic( int value // 新值 ) 参数 value [输入] "魔幻数字" (智能交易 ID) 的新值。 返回值 无。 Expiration ValidationSettings