to move repeatedly from one position to another:
The needle on the dial oscillated between full and empty.
formal If you oscillate between feelings or opinions, you change repeatedly from one to the other:
My emotions oscillate between desperation and hope.
specialized physics (of a wave or electric current) to change regularly in strength or direction