The Equal block compares two inputs of the same data type, returning TRUE when the inputs are equal and FALSE otherwise. When you add an Equal block to the canvas, both input ports are yellow, indicating they are variable type ports. You can connect numeric, Boolean, or instrument values to variable inputs.
Example The Equal block receives inputs from two Market State blocks and outputs TRUE if both states are Open; otherwise, it outputs FALSE.
To ensure that both variable input ports contain the same type of data, the Equal block automatically changes the port type to match the type of the first input connected to it.
To customize the block, update the Block Properties.
Property | Description |
---|---|
Name | Name to display beneath the block on the ADL canvas |