AlertDiagramElement

StockSharp.Diagram.Elements

Notification element (sound, window etc.) for specific market events.

Inherits: DiagramElement

Constructors

AlertDiagramElement
public AlertDiagramElement()
alertDiagramElement = AlertDiagramElement()

Initializes a new instance of the AlertDiagramElement.

Properties

Caption
public string Caption { get; set; }
value = alertDiagramElement.Caption
alertDiagramElement.Caption = value

Signal header.

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

Icon resource name.

TelegramChannel
public ITelegramChannel TelegramChannel { get; set; }
value = alertDiagramElement.TelegramChannel
alertDiagramElement.TelegramChannel = value

Telegram channel.

Type
public AlertNotifications Type { get; set; }
value = alertDiagramElement.Type
alertDiagramElement.Type = value

Alert type.

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

The unique identifier of the diagram element type.

Methods

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

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