is

Syntax

<value1> is [not] equal to <value2>

<value1> is <greater/less> than or equal to <value2>

<value> is <false/true>

Description

This reserved word is used in phrases of human-readable syntax for boolean and comparison operators. In this article you will find the list of phrases this word can be used in.

1. "is equal to".

open is equal to close

This expression tests if Open price is equal to Close price. Used with reserved words equal and to, this phrase is an equivalent to logic operator ==.

2. "is greater than".

open is greater than close

This expression tests if Open price is greater than Close price. Used with reserved words greater and than, this phrase is an equivalent to logic operator >.

3. "is less than".

open is less than close

This expression tests if Open price is less than Close price. Used with reserved words less and than, this phrase is an equivalent to logic operator <.

4. "is not equal to".

open is not equal to close

This expression tests if Open price is not equal to Close price. Used with reserved words not, equal, and !=.

5. "is greater than or equal to".

 

open is greater than or equal to close

This expression tests if Open price is greater than or equal to Close price. Used with reserved words greater, than, >=.

6. "is less than or equal to".

 

open is less than or equal to close

This expression tests if Open price is less than or equal to Close price. Used with reserved words less, than, <=.

7. "is false".

 

reference ADXCrossover is false

This expression tests if ADX Crossover study returns false. This phrase is an equivalent to "!" (logical negation).

8. "is true".

reference ADXCrossover is true

This expression tests if ADX Crossover study returns true.