min
Minimum operator
min(a, b)
Parameters
| Name | Type | Description |
|---|---|---|
a |
field/float | First value |
b |
field/float | Second value |
Formula
```
min = LEAST(a, b)
```
Examples
// bar body smaller than 2 points
min(close, open) - max(close, open) < 2;
// price capped below resistance
min(high, 100) == high;
Returns
Float (smaller value) ## See Also max