v2 upgrade to pine v6, added in_range and range_overlap methods
Added:
in_range(value, max, min)
checks if a given value is within a range (max, min)
Parameters:
value (int)
max (int)
min (int)
in_range(max1, min1, max2, min2)
checks if a given range (max1, min1) is within another range (max2, min2)
Parameters:
max1 (int)
min1 (int)
max2 (int)
min2 (int)
range_overlap(max1, min1, max2, min2)
checks if a given range (max1, min1) overlaps another range (max2, min2)
Parameters:
max1 (int)
min1 (int)
max2 (int)
min2 (int)