IndicatorDiagramElement

StockSharp.Diagram.Elements

Indicator element.

Inherits: DiagramElement

Constructors

IndicatorDiagramElement
public IndicatorDiagramElement()
indicatorDiagramElement = IndicatorDiagramElement()

Initializes a new instance of the IndicatorDiagramElement.

Properties

IconName
public override string IconName { get; }
value = indicatorDiagramElement.IconName

Icon resource name.

Indicator
public IIndicator Indicator { get; set; }
value = indicatorDiagramElement.Indicator
indicatorDiagramElement.Indicator = value

The indicator parameters.

IsEmpty
public bool IsEmpty { get; set; }
value = indicatorDiagramElement.IsEmpty
indicatorDiagramElement.IsEmpty = value

Send empty indicator values.

IsFinal
public bool IsFinal { get; set; }
value = indicatorDiagramElement.IsFinal
indicatorDiagramElement.IsFinal = value

Send only final values.

IsFormed
public bool IsFormed { get; set; }
value = indicatorDiagramElement.IsFormed
indicatorDiagramElement.IsFormed = value

Send values only when the indicator is formed.

Type
public IndicatorType Type { get; set; }
value = indicatorDiagramElement.Type
indicatorDiagramElement.Type = value

Indicator type.

TypeId
public override Guid TypeId { get; }
value = indicatorDiagramElement.TypeId

The unique identifier of the diagram element type.

Methods

OnReseted
protected override void OnReseted()
indicatorDiagramElement.OnReseted()

The method is called at re-initialisation of the diagram element state.

OnStart
protected override void OnStart(DateTime time)
indicatorDiagramElement.OnStart(time)

The method is called at the start of the diagram element algorithm.