Operators
| Operator | Meaning |
|---|---|
+ - * / | Arithmetic, applied bar by bar. |
> >= < <= | Comparison. Returns 1 or 0 per bar. |
= == | Equality. A single = is comparison, never assignment. |
!= <> | Inequality. |
AND && | Logical and. |
OR || | Logical or. |
NOT(X) | Logical negation — a function, not an operator. |
:= | Assignment to an intermediate variable. |
: | Assignment to a drawn output. |
Division by zero and arithmetic on missing data yield an invalid value rather than an error. Use ISVALID(X) to test for it and IF() to substitute a fallback.