Click or drag to resize

CandleBuilderTCandleMessageIsCandleFinishedBeforeChange Method

Whether the candle is created before data adding.

Namespace:  StockSharp.Algo.Candles.Compression
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
protected virtual bool IsCandleFinishedBeforeChange(
	ICandleBuilderSubscription subscription,
	TCandleMessage candle,
	ICandleBuilderValueTransform transform
)

Parameters

subscription
Type: StockSharp.Algo.Candles.CompressionICandleBuilderSubscription
Subscription.
candle
Type: TCandleMessage
Candle.
transform
Type: StockSharp.Algo.Candles.CompressionICandleBuilderValueTransform
The data source transformation.

Return Value

Type: Boolean
if the candle should be finished. Otherwise, .
See Also