CandleExpressionCondition

StockSharp.Algo.Candles.Patterns

Formula for a single candle inside pattern.

实现: IPersistable

构造函数

CandleExpressionCondition(IFileSystem, string)

Create instance.

fileSystem
File system.
expression
Expression

属性

Expression : string

Expression.

IsEmpty : bool

Formula is not present.

方法

CheckCondition(ReadOnlySpan<ICandleMessage>, int) : bool

Check if the condition is met for the given candles.

candles
The candles to check the condition against.
candleIndex
The index of the candle in the candles array.

返回值: Check result.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

返回值: Строковое представление.

字段

Variables : Variable[]

Candle formula variables.