The stochastic oscillator is used to compare the current price level of an asset to its range over a set timeframe – again, this is usually 14 periods.
Within an uptrend, a market will tend to close nearer to its highs and in a downtrend, it would close nearer to its lows. When prices move away...