ADL®

Is Number Block

The Is Number Block determines if a value is a valid number, as follows:

  • Returns TRUE if the input is a valid number.
  • Returns FALSE if the input is a NaN (Not A Number). This value is recognized as an invalid value in ADL.

If you use a NaN value as an input to any smart trading block, such as an Order Block, the block will not create a new order. If the block is instructed to modify an existing order to a price or a quantity of NaN, it will simply delete the order.

Block settings

To change default block settings, double-click the block to open the Block Editor.

Setting Description
Name Name to display beneath the block on the ADL canvas
BodyColor Background color of the block
Description Optional text to explain how the block is used