The Stochastic Oscillator is a momentum indicator that shows the location of the closing price relative to the high-low range over a set number of periods.This oscillator works on the theory that during an uptrend will remain equal to or above the previous period closing price, and in a downtrend, prices will remain equal to or below the previous closing price.