PositionDiagramElement

StockSharp.Diagram.Elements

Position element (for security and money) for the specified portfolio.

Inherits: DiagramElement

Constructors

PositionDiagramElement()

Initializes a new instance of the PositionDiagramElement.

Properties

IconName : string

Icon resource name.

IsMoney : bool

Money position.

ShowPosition : bool

Show position socket.

TypeId : Guid

Type id.

Methods

Flush(DateTime)

Flush non trigger (root) elements.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnReseted()

It is called from the Reset method.

OnStart(DateTime)

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

OnStop()

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