Show / Hide Table of Contents

Class CandleSourceDiagramElement

Candles source element.

Inheritance
Object
BaseLogSource
BaseLogReceiver
DiagramElement
SubscriptionDiagramElement
CandleSourceDiagramElement
Implements
Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
IDisposable
INotifyPropertyChanging
INotifyPropertyChanged
ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
SubscriptionDiagramElement.OnStop()
SubscriptionDiagramElement.Load(SettingsStorage)
SubscriptionDiagramElement.IsManuallySubscription
SubscriptionDiagramElement.Security
DiagramElement.ProcessDoubleClick(Object)
DiagramElement.SetElementName(String)
DiagramElement.AddParam<T>(String, T)
DiagramElement.AddParam(IDiagramElementParam)
DiagramElement.RemoveParam(IDiagramElementParam)
DiagramElement.CreateSocketInstance(DiagramSocketDirection, String)
DiagramElement.GetOrAddInput(String, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddInput(StaticSocketIds, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(StaticSocketIds, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(String, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddInput(StaticSocketIds, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddInput(String, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddOutput(StaticSocketIds, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddOutput(String, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.RemoveSocket(String)
DiagramElement.RemoveSocket(DiagramSocket)
DiagramElement.RemoveSockets(Boolean)
DiagramElement.RemoveSockets(Func<DiagramSocket, Boolean>, Boolean)
DiagramElement.OnSocketConnected(DiagramSocket, DiagramSocket)
DiagramElement.OnSocketDisconnected(DiagramSocket, DiagramSocket)
DiagramElement.RaiseSocketChanged(DiagramSocket)
DiagramElement.RaiseProcessOutput(DiagramSocket, DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(Object, DiagramSocketValue, Subscription)
DiagramElement.Flush()
DiagramElement.Init(ILogSource)
DiagramElement.UnInit()
DiagramElement.OnInit()
DiagramElement.OnUnInit()
DiagramElement.Process(DiagramSocketValue)
DiagramElement.GetNumConnections(DiagramSocket)
DiagramElement.GetConnectedSourceSockets(DiagramSocket)
DiagramElement.OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
DiagramElement.Start()
DiagramElement.OnStart()
DiagramElement.Stop()
DiagramElement.Reset()
DiagramElement.OnReseted()
DiagramElement.ClearSocketValues()
DiagramElement.RaisePropertyChanging(String)
DiagramElement.RaisePropertyChanging(Object, PropertyChangingEventArgs)
DiagramElement.RaisePropertyChanged(String)
DiagramElement.RaisePropertyChanged(Object, PropertyChangedEventArgs)
DiagramElement.RaiseParameterValueChanged(String)
DiagramElement.Clone(Boolean)
DiagramElement.Save(SettingsStorage)
DiagramElement.RaisePropertiesChanged()
DiagramElement.SaveUndoState(Object)
DiagramElement.InputSockets
DiagramElement.OutputSockets
DiagramElement.ParentComposition
DiagramElement.IsUndoRedoing
DiagramElement.HasUndoManager
DiagramElement.Parameters
DiagramElement.Category
DiagramElement.CanAutoName
DiagramElement.Name
DiagramElement.Description
DiagramElement.LogLevel
DiagramElement.ShowParameters
DiagramElement.ShowSockets
DiagramElement.ProcessNullValues
DiagramElement.Icon
DiagramElement.Strategy
DiagramElement.Connector
DiagramElement.DebuggerSyncObject
DiagramElement.NeedFlush
DiagramElement.ProcessingLevel
DiagramElement.ProcessOutput
DiagramElement.SocketAdded
DiagramElement.SocketRemoved
DiagramElement.SocketChanged
DiagramElement.StartedUndoableOperation
DiagramElement.CommittedUndoableOperation
DiagramElement.PropertyChanging
DiagramElement.PropertyChanged
DiagramElement.ParameterValueChanged
DiagramElement.PropertiesChanged
BaseLogReceiver.ILogReceiver.AddLog(LogMessage)
BaseLogSource.RaiseLog(LogMessage)
BaseLogSource.ToString()
BaseLogSource.Id
BaseLogSource.Parent
BaseLogSource.CurrentTime
BaseLogSource.IsRoot
BaseLogSource.ParentRemoved
BaseLogSource.Log
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
DiagramElement.IconName

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
DiagramElement.TypeId

Methods

OnCreateSubscription()

Метод, вызываемый при подписке на маркет данные.

Declaration
protected override Subscription OnCreateSubscription()
Returns
Type Description
Subscription

Подписка.

Overrides
SubscriptionDiagramElement.OnCreateSubscription()

Implements

Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
System.IDisposable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
Extensions.TryGet<TMessage, TChange>(TMessage, TChange)
Extensions.TryGetDecimal<TMessage, TChange>(TMessage, TChange)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Object)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Decimal)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int32)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int64)
Extensions.Add<TMessage, TChange>(TMessage, TChange, SecurityStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<SecurityStates>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, String)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Sides)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Sides>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, CurrencyTypes)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<CurrencyTypes>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, PortfolioStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<PortfolioStates>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, DateTimeOffset)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<DateTimeOffset>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Boolean>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Decimal, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Decimal>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int32, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int32>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int64, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int64>, Boolean)
StudioHelper.GetId(DiagramElement, CompositionType)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾