I was trying step through data beyond the current position.
I'm using the following:
def B = fold idx= 3 to 100 with Val while high[idx- 1] < high[idx] and high[idx-2] < high[idx] and high[idx+1]< high[idx] and high[idx+2] < high[idx] and isNaN(B) do high[idx];
I'm receiving "Only constants expected here: idx CL function indexer of high
I would appreciate any assistance with this issue.