This is how I did it, copied the data in from yahoo, then added the following columns. Sure, its clunky, but it did the job. See the attatchemnt
=IF(E15>E14;1;0)
puts a 1 in the colum if todays close was > then yesterdays close
=IF(G14=1;(H14+1);0)
adds up consecutive 1's
=IF(H15>3.5;1;0)
if we have 4 closes in a row, puts a 1 in the colum
=IF(I15=1;(B16-E15))
calculates the difference between the four up closes and tomorrows open
=IF(J15>0;1;0)
puts a 1 in the column if tomorrows open is up (the difference is positive)