min
Minimum operator
min(a, b)
Parameters
Minimum - min(a, b)
Returns the smaller of two values.
- 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)