Click or drag to resize

CandleManagerContainerGetCandle Method

To get a candle by the index.

Namespace:  StockSharp.Algo.Candles
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public Candle GetCandle(
	CandleSeries series,
	int candleIndex
)

Parameters

series
Type: StockSharp.Algo.CandlesCandleSeries
Candles series.
candleIndex
Type: SystemInt32
The candle's position number from the end.

Return Value

Type: Candle
The found candle. If the candle does not exist, then will be returned.

Implements

ICandleManagerContainerGetCandle(CandleSeries, Int32)
See Also