CandleExpressionCondition

StockSharp.Algo.Candles.Patterns

Formula for a single candle inside pattern.

Implementa: IPersistable

Construtores

CandleExpressionCondition(IFileSystem, string)

Create instance.

fileSystem
File system.
expression
Expression

Propriedades

Expression : string

Expression.

IsEmpty : bool

Formula is not present.

Métodos

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.

Retorna: Check result.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

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

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

Campos

Variables : Variable[]

Candle formula variables.