Equations

And

Validates all values on being true.

Syntax: And(values[])

Returns true all values are true.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

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.

Syntax: Compare(input1, input2)

Returns a list with booleans.

Return type: NumberOrTable

Parameter NameParameter TypeRequiredSuggestions

input1

NumberOrTable

True

Input,Number

input2

NumberOrTable

True

Input,Number

Equals

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

Syntax: Equals(value1, value2)

Returns true when the values are equal.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

value1

Dynamic

True

value2

Dynamic

True

IfNull

Sets the defaultValue if the value is nil.

Syntax: IfNull(value, defaultValue)

Returns the value of defaultValue when value is nil.

Return type: Dynamic

Parameter NameParameter TypeRequiredSuggestions

value

Dynamic

True

Load

defaultValue

Dynamic

True

Load

IsBiggerAndSmallerThan

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

Syntax: IsBiggerAndSmallerThan(value, lowValue, highValue)

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

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

value

NumberOrTable

True

lowValue

Number

True

Input,Number,SessionGet

highValue

Number

True

Input,Number,SessionGet

IsBiggerOrSmallerThan

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

Syntax: IsBiggerOrSmallerThan(value, highValue, lowValue)

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

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

value

NumberOrTable

True

highValue

Number

True

Input,Number,SessionGet

lowValue

Number

True

Input,Number,SessionGet

IsBiggerThan

Checks if input1 is bigger than input2.

Syntax: IsBiggerThan(input1, input2)

Returns true input1 is bigger than input2.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

input1

NumberOrTable

True

input2

Number

True

Input,Number,SessionGet

IsFalse

Validates all values on being false.

Syntax: IsFalse(values[])

Returns true all values are false.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

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.

Syntax: IsNotNull(value)

Returns true if the value is not null.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

value

Dynamic

True

Load

IsNull

Checks if the value is null.

Syntax: IsNull(value)

Returns true if the value is null.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

value

Dynamic

True

Load

IsSmallerThan

Checks if input1 is smaller than input2.

Syntax: IsSmallerThan(input1, input2)

Returns true if input1 is smaller than input2.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

input1

NumberOrTable

True

input2

Number

True

Input,Number,SessionGet

IsTrue

Validates all values on being true.

Syntax: IsTrue(values[])

Returns true all values are true.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

values[]

BooleanParams

True

True,IsTrue,False,IsFalse,Or,Branch,Equals,IsBiggerThan,IsSmallerThan,IsBiggerOrSmallerThan,IsAnyOrderOpen,IsOrderFilled,IsOrderOpen,IsTradeAmountEnough

Not

Validates all values on being false.

Syntax: Not(values[])

Returns true all values are false.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

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.

Syntax: NotEquals(value1, value2)

Returns true when the values are not equal.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

value1

Dynamic

True

value2

Dynamic

True

Or

Validates if any of the values is true.

Syntax: Or(values[])

Returns true if any of the all values is true.

Return type: Boolean

Parameter NameParameter TypeRequiredSuggestions

values[]

BooleanParams

True

True,IsTrue,False,IsFalse,Or,Branch,Equals,IsBiggerThan,IsSmallerThan,IsBiggerOrSmallerThan,IsAnyOrderOpen,IsOrderFilled,IsOrderOpen,IsTradeAmountEnough

Last updated