AlertDiagramElement
StockSharp.Diagram.Elements
Элемент оповещения (звук, окно и т. д.) о конкретных рыночных событиях.
Наследует: DiagramElement
Конструкторы
AlertDiagramElement
public AlertDiagramElement()
alertDiagramElement = AlertDiagramElement()
Инициализирует новый экземпляр AlertDiagramElement.
Свойства
Caption
public string Caption { get; set; }
value = alertDiagramElement.Caption
alertDiagramElement.Caption = value
Заголовок сигнала.
IconName
public override string IconName { get; }
value = alertDiagramElement.IconName
Имя ресурса Иконы.
TelegramChannel
public ITelegramChannel TelegramChannel { get; set; }
value = alertDiagramElement.TelegramChannel
alertDiagramElement.TelegramChannel = value
Телеграм-канал.
Type
public AlertNotifications Type { get; set; }
value = alertDiagramElement.Type
alertDiagramElement.Type = value
Тип оповещения.
Методы
OnStart
protected override void OnStart(DateTime time)
alertDiagramElement.OnStart(time)
Метод вызывается в начале алгоритма элемента диаграммы.