CandlesDiagramElement

StockSharp.Diagram.Elements

Candles source element.

Inherits: SubscriptionDiagramElement

Constructors

CandlesDiagramElement()

Initializes a new instance of the CandlesDiagramElement.

Properties

AllowBuildFromSmallerTimeFrame : bool

Allow build candles from smaller timeframe.

BuildCandlesField : Level1Fields?

Extra info for the BuildCandlesFrom.

BuildCandlesFrom : DataType

Which market-data type is used as a source value.

DataType : DataType

Data type.

IconName : string

Icon resource name.

IsCalcVolumeProfile : bool

To perform the calculation PriceLevels. By default, it is disabled.

IsFinishedOnly : bool

Send only formed candles.

IsRegularTradingHours : bool?

Use only the regular trading hours for which data will be requested.

TypeId : Guid

Type id.

Methods

OnCreateSubscription(Security) : Subscription

The method is called at the subscribing to market data.

security
Security

Returns: Subscription.