— But my approach is not correct, i am trying to figure out how to solve this formula

—

So i have the list of opens for example that is: [232,12435,343,12312,5545] and closes that is: [9343,5452,2341,6767] For example, and i want to deploy this formula

— HAO

— I tought at first that opens[-2] would do the trick but i need to do it recursively trough all the list