Class IndicatorDiagramElement
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Indicator element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Indicator", Description = "IndicatorElementDescription", GroupName = "Common")]
public class IndicatorDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable, IIndicatorSourceDiagramElement
- Inheritance
-
IndicatorDiagramElement
- Implements
-
INotifyPropertiesChangedIPersistable
- Inherited Members
- Extension Methods
Constructors
IndicatorDiagramElement()
Initializes a new instance of the IndicatorDiagramElement.
public IndicatorDiagramElement()
Properties
IconName
Icon resource name.
public override string IconName { get; }
Property Value
Indicator
The indicator parameters.
public IIndicator Indicator { get; set; }
Property Value
IsEmpty
Send empty indicator values.
public bool IsEmpty { get; set; }
Property Value
IsFinal
Send only final values.
public bool IsFinal { get; set; }
Property Value
IsFormed
Send values only when the indicator is formed.
public bool IsFormed { get; set; }
Property Value
Type
Indicator type.
public IndicatorType Type { get; set; }
Property Value
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }
Property Value
Methods
OnReseted()
The method is called at re-initialisation of the diagram element state.
protected override void OnReseted()
OnStart(DateTimeOffset)
The method is called at the start of the diagram element algorithm.
protected override void OnStart(DateTimeOffset time)
Parameters
time
DateTimeOffset
Events
IndicatorChanged
Event indicates that the indicator was changed.
public event Action<IIndicatorSourceDiagramElement, DiagramSocket, IIndicator> IndicatorChanged