MQL5参考标准程序库策略模块智能交易基准类CExpertSignalCheckCloseShort BasePriceUsedSeriesWeightPatternsUsageGeneralIgnoreInvertThresholdOpenThresholdClosePriceLevelStopLevelTakeLevelExpirationMagicValidationSettingsInitIndicatorsAddFilterCheckOpenLongCheckOpenShortOpenLongParamsOpenShortParamsCheckCloseLongCheckCloseShortCloseLongParamsCloseShortParamsCheckReverseLongCheckReverseShortCheckTrailingOrderLongCheckTrailingOrderShortLongConditionShortConditionDirection CheckCloseShort 检查平空头仓位的条件。 virtual bool CheckCloseShort( double& price // 价位 ) 参数 price [输入][输出] 平仓价位变量, 通过引用传递。 返回值 true 如果条件满足, 否则 false。 CheckCloseLong CloseLongParams