Stochastic oscillator

PrepNuggets

Oscillator that is calculated from the latest closing price and the maximum and minimum prices reached in a recent period.  It is bounded between 0 and 100.  The logic behind it is that in a sustainable uptrend, the prices will tend to close nearer to recent highs, and vice versa for a downtrend.  As such, when the values are extreme, it indicates that the trend is sustainable.