Hi! I am searching for a way in Pine Script to find values within a series that have the same “distance” to each other. So for example within the arraw [1,2,3,5,7,8,9,10] Those continous subarrays can be found: Distance 1 = [1,2,3] + [7,8,9,10] Distance 2 = [1,3,5,7,9] + [8, 10] Distance 3 = [2,5,8]...