Logic blocks

Logic blocks

Less Than blocks

The Less Than and Less Than Equal blocks compare two number inputs. When the first input is less than (or equal to) the second, the block outputs TRUE; otherwise it outputs FALSE.

Example The Less Than block returns TRUE if the Field block input is less than the Number block input; otherwise, it returns FALSE.

More about Flip for Sell

When the Flip for Sell option is enabled, the Greater Than block will use either a "Less Than" or a "Greater Than" comparison depending on the value of the Order Side Variable (see: Flip For Sell Orders Functionality for more information).

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas
FlipForSell

Whether to enable a single algorithm to act either as buy or sell side routine as needed

See Flip For Sell Orders Functionality for more information.