lte
Less than or equal comparison (<=)
lte(left, right)
Parameters
| Name | Type | Description |
|---|---|---|
left |
field | Left-hand operand |
right |
field | Right-hand operand |
Formula
result = (left <= right)
Examples
// close at or below yesterday's close
lte(close, close[1]);
Returns
bool
Notes
Internal comparison operator. Returns TRUE when left is less than or equal to right, FALSE otherwise.