Table of Contents

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
INotifyPropertiesChanged
IPersistable
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

string

Indicator

The indicator parameters.

public IIndicator Indicator { get; set; }

Property Value

IIndicator

IsEmpty

Send empty indicator values.

public bool IsEmpty { get; set; }

Property Value

bool

IsFinal

Send only final values.

public bool IsFinal { get; set; }

Property Value

bool

IsFormed

Send values only when the indicator is formed.

public bool IsFormed { get; set; }

Property Value

bool

Type

Indicator type.

public IndicatorType Type { get; set; }

Property Value

IndicatorType

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

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

Event Type

Action<IIndicatorSourceDiagramElement, DiagramSocket, IIndicator>