The factors which are responsible for the movement of the ocean current are:
Rotation and gravitational force of the Earth.
Oceanic factors like temperature,salinity,density,pressure gradient,melting of ice etc.
Direction,shape and configuration of coast lines etc.