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.
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.