So if I have a list of pivots it would compair Close[0] with the pivots and find which pivot is below it and which is above.
I have a script doing this at the moment with if statements but its not very efficient and very long so I would like to write a method to do the same thing.
Thanks in advance for any pointers.
Comment