Class CandlesDiagramElement
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Candles source element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Candles", Description = "CandleSourceElementDescription", GroupName = "Sources")]
public sealed class CandlesDiagramElement : SubscriptionDiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
- Inheritance
-
CandlesDiagramElement
- Implements
-
INotifyPropertiesChangedIPersistable
- Inherited Members
- Extension Methods
Constructors
CandlesDiagramElement()
Initializes a new instance of the CandlesDiagramElement.
public CandlesDiagramElement()
Properties
AllowBuildFromSmallerTimeFrame
Allow build candles from smaller timeframe.
public bool AllowBuildFromSmallerTimeFrame { get; set; }
Property Value
BuildCandlesField
Extra info for the BuildCandlesFrom.
public Level1Fields? BuildCandlesField { get; set; }
Property Value
BuildCandlesFrom
Which market-data type is used as a source value.
public DataType BuildCandlesFrom { get; set; }
Property Value
BuildCandlesMode
Build mode.
public MarketDataBuildModes BuildCandlesMode { get; set; }
Property Value
IconName
Icon resource name.
public override string IconName { get; }
Property Value
IsCalcVolumeProfile
To perform the calculation PriceLevels. By default, it is disabled.
public bool IsCalcVolumeProfile { get; set; }
Property Value
IsFinishedOnly
Send only formed candles.
public bool IsFinishedOnly { get; set; }
Property Value
IsRegularTradingHours
Use only the regular trading hours for which data will be requested.
public bool? IsRegularTradingHours { get; set; }
Property Value
- bool?
Series
Candles series.
public CandleSeries Series { get; set; }
Property Value
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }
Property Value
Methods
OnCreateSubscription(Security)
The method is called at the subscribing to market data.
protected override Subscription OnCreateSubscription(Security security)
Parameters
Returns
- Subscription
Subscription.