Sorry, I did not include a starting point. Also, I apologize if my values look a little funny. However, I thought something like this to begin. As you can see, I am not very good at this though. So again, help me please!
Ron Parker

>>> Price = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]

>>> def Best(seq):

... first seq(5)seq(2)

second seq(5)seq(4)

if first/numpy.abs(first)=second/numpy.abs(second)

return second

else

seq(5+1)seq(2+1)


...

>>> [best(data[i:i+90]) for i in range(0, len(data), 90)]



