Click or drag to resize

TickCandleBuilderIsCandleFinishedBeforeChange Method

Whether the candle is created before data adding.

Namespace:  StockSharp.Algo.Candles.Compression
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected override bool IsCandleFinishedBeforeChange(
	MarketDataMessage message,
	TickCandleMessage candle,
	ICandleBuilderValueTransform transform
)

Parameters

message
Type: StockSharp.MessagesMarketDataMessage
Market-data message (uses as a subscribe/unsubscribe in outgoing case, confirmation event in incoming case).
candle
Type: StockSharp.MessagesTickCandleMessage
Candle.
transform
Type: StockSharp.Algo.Candles.CompressionICandleBuilderValueTransform
The data source transformation.

Return Value

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