ComparisonDiagramElement

StockSharp.Diagram.Elements

Two values comparison element.

Inherits: DiagramElement

Constructors

ComparisonDiagramElement()

Initializes a new instance of the ComparisonDiagramElement.

Properties

IconName : string

Icon resource name.

LeftValue : DiagramSocket

Left operand.

Operator : ComparisonOperator?

Operator.

RightValue : DiagramSocket

Right operand.

TypeId : Guid

Type id.

Methods

OnPrepare()

To prepare for starting the diagram element algorithm.

OnProcess(DateTime, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)

The method is called at the processing of the new incoming values.

time
Time.
values
Values.
source
Source value.