Notice

Report a bug to support@oyticker.com to win a free 1 month Plus Subscription

From the Oyticker team
Indicators · Momentum

Stochastic oscillator

The stochastic oscillator says where the close is inside the range traded over the last bars: 100 at the top of that range, 0 at the bottom. %K is that position, %D its average. It describes how close to its recent extremes a market is closing, not how far it can still go.

What it's for
  • See whether a market closes near the top or the bottom of its recent range.
  • Read turns inside a sideways market, where the range holds.
  • Compare the momentum of two swings: a second high with a lower %K is a slower one.
Pane
Its own pane, 0 to 100
Settings
%K length, %K smoothing, %D smoothing
Default
14, 1, 3

Calculation

raw  = 100 · (close − lowest low of n) / (highest high of n − lowest low of n)
%K   = SMA(raw, %K smoothing)          1 = no smoothing (the fast stochastic)
%D   = SMA(%K, %D smoothing)

With a %K smoothing of 3 this is the slow stochastic. These are the definitions of TradingView's built-in Stochastic.

How to read it

  • Above 80 the close is in the top fifth of the recent range, below 20 in the bottom fifth. In a sideways market these are the areas where the range has held so far.
  • %K crossing %D shows the position in the range starting to turn; crossings in the middle of the scale say little.
  • In a trend the oscillator stays near one end for a long time: a reading above 80 during an advance describes strength, not an end.
Stochastic oscillator above 80 at each high and below 20 at each low of a sideways market
Prices go back and forth between two levels. %K is above 80 at each high of the range and below 20 at each low: in a range, the extremes of the oscillator line up with the extremes of price.

Add it in Oyticker

  1. Click Indicators, choose Stochastic.
  2. In its row of the legend, click the Settings button to set the three lengths.

Limits

  • It only knows the last n bars: a new high in a strong trend keeps it pinned at the top.
  • With a smoothing of 1 it is noisy; with more smoothing it turns later.
  • 80 and 20 are conventions, not prices where anything has to happen.

Charts in this guide use simulated prices generated for illustration; levels and outcomes shown are examples, not observations of a real market. For information only, not investment advice.