MQL5参考标准程序库策略模块智能交易基准类CExpertSignalLongCondition BasePriceUsedSeriesWeightPatternsUsageGeneralIgnoreInvertThresholdOpenThresholdClosePriceLevelStopLevelTakeLevelExpirationMagicValidationSettingsInitIndicatorsAddFilterCheckOpenLongCheckOpenShortOpenLongParamsOpenShortParamsCheckCloseLongCheckCloseShortCloseLongParamsCloseShortParamsCheckReverseLongCheckReverseShortCheckTrailingOrderLongCheckTrailingOrderShortLongConditionShortConditionDirection LongCondition 检查开多头仓位的条件。 virtual int LongCondition() 返回值 当条件满足时, 它返回从 1 至 100 之间的值 (依据信号 "强度"), 如果没有开多头仓位的信号, 它返回 0。 注释 基准类的 LongCondition() 方法并未实现多头开仓条件检查且永远返回 0。 CheckTrailingOrderShort ShortCondition