Class IndicatorDiagramElement
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Indicator element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Indicator", Description = "IndicatorElementDescription", GroupName = "Common")]
[Doc("topics/designer/strategies/using_visual_designer/elements/common/indicator.html")]
public class IndicatorDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
- Inheritance
-
IndicatorDiagramElement
- Implements
- 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
timeDateTimeOffset