If you have some kind of stable datarate and x/y coords you can do standard math calculation for direction (<0 or >0) and speed (distance/time).

If you only have on/off, you must number the sensors and use some timer to see the time between one coming on and the other coming on. Then simply subtract number of the first sensor from the last and see whether you moved left (negative) or right (positive).