TimeDiagramElement

StockSharp.Diagram.Elements

The element is used to provide current time.

Inherits: DiagramElement

Constructors

TimeDiagramElement
public TimeDiagramElement()
timeDiagramElement = TimeDiagramElement()

Initializes a new instance of the TimeDiagramElement.

Properties

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

Icon resource name.

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

The unique identifier of the diagram element type.

Methods

Flush
public override void Flush(DateTime time)
timeDiagramElement.Flush(time)

Flush non trigger (root) elements.

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

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