CandleExpressionCondition

StockSharp.Algo.Candles.Patterns

Formula for a single candle inside pattern.

Implements: IPersistable

Constructors

CandleExpressionCondition(IFileSystem, string)

Create instance.

fileSystem
File system.
expression
Expression

Properties

Expression : string

Expression.

IsEmpty : bool

Formula is not present.

Methods

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.

Returns: Check result.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

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

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

Fields

Variables : Variable[]

Candle formula variables.