- BasePrice
- UsedSeries
- Weight
- PatternsUsage
- General
- Ignore
- Invert
- ThresholdOpen
- ThresholdClose
- PriceLevel
- StopLevel
- TakeLevel
- Expiration
- Magic
- ValidationSettings
- InitIndicators
- AddFilter
- CheckOpenLong
- CheckOpenShort
- OpenLongParams
- OpenShortParams
- CheckCloseLong
- CheckCloseShort
- CloseLongParams
- CloseShortParams
- CheckReverseLong
- CheckReverseShort
- CheckTrailingOrderLong
- CheckTrailingOrderShort
- LongCondition
- ShortCondition
- Direction
LongCondition
检查开多头仓位的条件。
virtual int LongCondition() |
返回值
当条件满足时, 它返回从 1 至 100 之间的值 (依据信号 "强度"), 如果没有开多头仓位的信号, 它返回 0。
注释
基准类的 LongCondition() 方法并未实现多头开仓条件检查且永远返回 0。