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