Class CandleSourceDiagramElement
Candles source element.
Inheritance
CandleSourceDiagramElement
Implements
Ecng.Serialization.IPersistable
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
Namespace: StockSharp.Xaml.Diagram.Elements
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
[DescriptionLoc("Str3071", false)]
[DisplayNameLoc("Candles")]
[CategoryLoc("Str3049")]
public sealed class CandleSourceDiagramElement : SubscriptionDiagramElement, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged
Constructors
CandleSourceDiagramElement()
Создать CandleSourceDiagramElement.
Declaration
public CandleSourceDiagramElement()
Properties
AllowBuildFromSmallerTimeFrame
Allow build candles from smaller timeframe.
Declaration
public bool AllowBuildFromSmallerTimeFrame { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
BuildCandlesField
Дополнительная информация для BuildCandlesFrom.
Declaration
public Nullable<Level1Fields> BuildCandlesField { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Level1Fields> |
BuildCandlesFrom
Which market-data type is used as a source value.
Declaration
public DataType BuildCandlesFrom { get; set; }
Property Value
Type | Description |
---|---|
DataType |
BuildCandlesMode
Build mode.
Declaration
public MarketDataBuildModes BuildCandlesMode { get; set; }
Property Value
Type | Description |
---|---|
MarketDataBuildModes |
IconName
Название ресурса с изображением.
Declaration
public override string IconName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
IsCalcVolumeProfile
Производить расчет PriceLevels. По умолчанию, выключено.
Declaration
public bool IsCalcVolumeProfile { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsFinishedOnly
Send only formed candles.
Declaration
public bool IsFinishedOnly { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsRegularTradingHours
Use only the regular trading hours for which data will be requested.
Declaration
public bool IsRegularTradingHours { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Series
Candles series.
Declaration
public CandleSeries Series { get; set; }
Property Value
Type | Description |
---|---|
CandleSeries |
TypeId
Уникальный идентификатор типа элемента схемы.
Declaration
public override Guid TypeId { get; }
Property Value
Type | Description |
---|---|
Guid |
Overrides
Methods
OnCreateSubscription()
Метод, вызываемый при подписке на маркет данные.
Declaration
protected override Subscription OnCreateSubscription()
Returns
Type | Description |
---|---|
Subscription | Подписка. |
Overrides
Implements
Ecng.Serialization.IPersistable
Ecng.ComponentModel.INotifyPropertiesChanged