PositionDiagramElement
StockSharp.Diagram.Elements
Элемент позиции (по финансовому инструменту и деньгам) для указанного портфеля.
Наследует: DiagramElement
Конструкторы
PositionDiagramElement
public PositionDiagramElement()
positionDiagramElement = PositionDiagramElement()
Инициализирует новый экземпляр PositionDiagramElement.
Свойства
IconName
public override string IconName { get; }
value = positionDiagramElement.IconName
Имя ресурса Иконы.
IsMoney
public bool IsMoney { get; set; }
value = positionDiagramElement.IsMoney
positionDiagramElement.IsMoney = value
Положение денег.
ShowPosition
public bool ShowPosition { get; set; }
value = positionDiagramElement.ShowPosition
positionDiagramElement.ShowPosition = value
Покажи розетку.
TypeId
public override Guid TypeId { get; }
value = positionDiagramElement.TypeId
Тип идентификатора.
Методы
Flush
public override void Flush(DateTime time)
positionDiagramElement.Flush(time)
Промывка нетриггерных (корневых) элементов.
LoadState
protected override void LoadState(SettingsStorage storage)
positionDiagramElement.LoadState(storage)
Loads the state of the element other than its parameters; called after the parameters are loaded.
- storage
- Settings storage.
OnReseted
protected override void OnReseted()
positionDiagramElement.OnReseted()
Он вызывается из метода Reset.
OnStart
protected override void OnStart(DateTime time)
positionDiagramElement.OnStart(time)
Метод вызывается в начале алгоритма элемента диаграммы.
OnStop
protected override void OnStop()
positionDiagramElement.OnStop()
Метод вызывается при остановке алгоритма элемента диаграммы.