What is the stochastic oscillator? The stochastic oscillator is a momentum indicator, which compares the most recent closing price relative to the previous trading range over a certain period of time.