# Equations

## And

Validates all values on being true.

• And(values[])

Returns true all values are true.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested values[] BooleanParams True True, IsTrue, False, IsFalse, Or, Branch, Equals, IsBiggerThan, IsSmallerThan, IsBiggerOrSmallerThan, IsAnyOrderOpen, IsOrderFilled, IsOrderOpen, IsTradeAmountEnough

## Compare

Checks if input1 is below, equal to or above input2.

• Compare(input1, input2)

Returns a list with booleans.

Return Type: NumberOrTable

 Parameter Name Parameter Type Required Suggested input1 NumberOrTable True Input, Number input2 NumberOrTable True Input, Number

## Equals

Compares two values and returns whether or not the values are equal.

• Equals(value1, value2)

Returns true when the values are equal.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested value1 Dynamic True - value2 Dynamic True -

## IfNull

Sets the defaultValue if the value is nil.

• IfNull(value, defaultValue)

Returns the value of defaultValue when value is nil.

Return Type: Dynamic

 Parameter Name Parameter Type Required Suggested value Dynamic True Load defaultValue Dynamic True Load

## IsBiggerOrSmallerThan

Checks if the value is bigger than highValue or smaller then lowValue.

• IsBiggerOrSmallerThan(value, highValue, lowValue)

Returns true the value is bigger than highValue or smaller then lowValue.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested value NumberOrTable True - highValue Number True Input, Number, SessionGet lowValue Number True Input, Number, SessionGet

## IsBiggerThan

Checks if input1 is bigger than input2.

• IsBiggerThan(input1, input2)

Returns true input1 is bigger than input2.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested input1 NumberOrTable True - input2 Number True Input, Number, SessionGet

## IsFalse

Validates all values on being false.

• IsFalse(values[])

Returns true all values are false.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested values[] BooleanParams True True, IsTrue, False, IsFalse, Or, Branch, Equals, IsBiggerThan, IsSmallerThan, IsBiggerOrSmallerThan, IsAnyOrderOpen, IsOrderFilled, IsOrderOpen, IsTradeAmountEnough

## IsNotNull

Checks if the value is not null.

• IsNotNull(value)

Returns true if the value is not null.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested value Dynamic True Load

## IsNull

Checks if the value is null.

• IsNull(value)

Returns true if the value is null.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested value Dynamic True Load

## IsSmallerThan

Checks if input1 is smaller than input2.

• IsSmallerThan(input1, input2)

Returns true if input1 is smaller than input2.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested input1 NumberOrTable True - input2 Number True Input, Number, SessionGet

## IsTrue

Validates all values on being true.

• IsTrue(values[])

Returns true all values are true.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested values[] BooleanParams True True, IsTrue, False, IsFalse, Or, Branch, Equals, IsBiggerThan, IsSmallerThan, IsBiggerOrSmallerThan, IsAnyOrderOpen, IsOrderFilled, IsOrderOpen, IsTradeAmountEnough

## Not

Validates all values on being false.

• Not(values[])

Returns true all values are false.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested values[] BooleanParams True True, IsTrue, False, IsFalse, Or, Branch, Equals, IsBiggerThan, IsSmallerThan, IsBiggerOrSmallerThan, IsAnyOrderOpen, IsOrderFilled, IsOrderOpen, IsTradeAmountEnough

## NotEquals

Compares two values and returns whether or not the values are different.

• NotEquals(value1, value2)

Returns true when the values are not equal.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested value1 Dynamic True - value2 Dynamic True -

## Or

Validates if any of the values is true.

• Or(values[])

Returns true if any of the all values is true.

Return Type: Boolean

 Parameter Name Parameter Type Required Suggested values[] BooleanParams True True, IsTrue, False, IsFalse, Or, Branch, Equals, IsBiggerThan, IsSmallerThan, IsBiggerOrSmallerThan, IsAnyOrderOpen, IsOrderFilled, IsOrderOpen, IsTradeAmountEnough

Last updated