Click or drag to resize

VolumeCandleBuilderCreateCandle Method

To create a new candle.

Namespace:  StockSharp.Algo.Candles.Compression
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected override VolumeCandleMessage CreateCandle(
	MarketDataMessage message,
	VolumeCandleMessage currentCandle,
	ICandleBuilderValueTransform transform
)

Parameters

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

Return Value

Type: VolumeCandleMessage
Created candle.
See Also