ChartCandleDrawData
StockSharp.Charting
Candle data prepared for chart drawing.
Конструкторы
ChartCandleDrawData
public ChartCandleDrawData(DataType dataType, SecurityId securityId, decimal openPrice, decimal highPrice, decimal lowPrice, decimal closePrice, decimal totalVolume, CandlePriceLevel[] priceLevels, CandleStates state)
chartCandleDrawData = ChartCandleDrawData(dataType, securityId, openPrice, highPrice, lowPrice, closePrice, totalVolume, priceLevels, state)
Initializes a new instance of the ChartCandleDrawData.
- dataType
- DataType.
- securityId
- SecurityId.
- openPrice
- Opening price.
- highPrice
- Highest price.
- lowPrice
- Lowest price.
- closePrice
- Closing price.
- totalVolume
- Total candle volume.
- priceLevels
- Price levels.
- state
- Candle state.
Свойства
PriceLevels
public CandlePriceLevel[] PriceLevels { get; }
value = chartCandleDrawData.PriceLevels
Price levels.
TotalVolume
public decimal TotalVolume { get; }
value = chartCandleDrawData.TotalVolume
Total candle volume.