ICandlePattern
StockSharp.Algo.Candles.Patterns
界面描述蜡烛模式.
属性
方法
PrepareAsync
public ValueTask PrepareAsync(CancellationToken cancellationToken)
result = iCandlePattern.PrepareAsync(cancellationToken)
Prepare the pattern for ICandleMessage}): compile what it is made of. Repeated calls do nothing.
- cancellationToken
- CancellationToken
返回值: ValueTask
Recognize
public bool Recognize(ReadOnlySpan<ICandleMessage> candles)
result = iCandlePattern.Recognize(candles)
试试识别模式
- candles
- ICandleMessage. 蜡烛数量必须等于CandlesCount.
返回值: 检查结果。