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.