eq
Equality comparison (==)
eq(left, right)
Parameters
| Name | Type | Description |
|---|---|---|
left |
field | Left-hand operand |
right |
field | Right-hand operand |
Formula
result = (left = right)
Examples
// close unchanged from yesterday
eq(close, close[1]);
Returns
bool
Notes
Internal comparison operator. Returns TRUE when left equals right, FALSE otherwise.