Stochastic

Where the close sits within the range of the last candles, from 0 to 100.

6 min read

What it measures

The stochastic tells you where the close sits within the range (from low to high) of the last candles: 100 if it closes at the high, 0 if it closes at the low. Above 80 is usually called overbought and below 20, oversold.

1-minute ES candlestick chart with the stochastic %K and %D in its strip
The default Stochastic below a 1-minute ES chart: %K in blue, %D in orange and the 80 and 20 levels.

How it’s calculated

%K = 100 × (close − lowest of n) ÷ (highest of n − lowest of n)

  • %K over 14 candles. With %K smoothing at 1 it’s the fast stochastic (the default); at 3, the classic slow one.
  • %D is the 3-candle average of %K: the signal line.

How to read it

  • Zones: when overbought, the close is pinned to the period’s high; when oversold, to its low. In a trend it can stay there for a long time.
  • %K against %D: when %K crosses %D, short-term momentum is switching sides.
  • Divergences: price making a higher high while the stochastic makes a lower one says the rally is losing strength, and vice versa.

Built-in strategies

What the indicator already has inside and can mark for you on the chart. They show what has happened; they are not recommendations.

%K crossing %D

On by default
What it marks
A mark in the strip when %K crosses %D. By default, only buys below oversold and sells above overbought.
Alert
Blinks when it appears; on-screen alert and sound if you turn them on.
Turned on with
«%K and %D crossover» and «Only buys below oversold and sells above overbought», in Signals.

Zone exit

Off by default
What it marks
A mark when %K leaves oversold (bullish) or overbought (bearish).
Alert
Blinks when it appears; on-screen alert and sound if you turn them on.
Turned on with
«Exit from overbought / oversold», in Signals.

Regular divergences

On by default
What it marks
A dot on each pivot and a line between the two, in the strip, when price makes a higher high and the indicator a lower one (bearish), or the other way around with the lows (bullish).
Alert
Blinks when it appears; on-screen alert and sound if you turn them on.
Turned on with
«Regular divergences», in Signals.

Hidden divergences

Off by default
What it marks
The opposite of the regular kind: price makes a higher low and the stochastic a lower one (bullish), or the other way around with the highs. They point to the trend continuing.
Alert
Blinks when it appears; on-screen alert and sound if you turn them on.
Turned on with
«Hidden divergences», in Signals.

Only with the trend

Off by default
What it marks
Keeps only the signals in the direction of an exponential moving average (200 by default).
Alert
It filters the alerts too.
Turned on with
«Only with the trend (average)», in Signals.

Adding it to the chart

In the chart bar, Indicators ▾ › More Indicators…. You’ll find it in the Oscillators / Momentum category. It’s drawn in its own strip, below the candles. How to move and adjust a strip is in Indicators.

Settings

Open them by double-clicking its strip, or with the ⚙ on its row in Indicators ▾. Each section collapses and expands on its own.

Stochastic settings panel in Forge, with the Stochastic and Drawing sections open
The Stochastic settings, with their default values.
SettingDefaultWhat it does
Stochastic
%K period · %K smoothing · %D period14 · 1 · 3Smoothing 1 = fast; 3 = slow.
%D lineYesShows the signal line.
Drawing
%K color · %D colorBlue · OrangeThe colors of the lines.
%K width · %D width1.5 px · 1 pxFrom 0.5 to 6 px.
Levels
Show overbought and oversold · Overbought · OversoldYes · 80 · 20The two zone lines; from 50 to 100 and from 0 to 50.
Levels color (0 = automatic) · 50 line (0 = automatic · 50 line)Automatic · NoThe middle line, if you want it.
Strip
Value on the axis · Strip height · Grid · Grid color (0 = automatic) · Grid divisionsYes · 92 px · No · Automatic · 4Like the other strips.
Signals
%K and %D crossover · Bullish crossover color · bearishYes · Ice · PinkMarks the crosses.
Only buys below oversold and sells above overboughtYesOnly the crosses in the extreme zones.
Exit from overbought / oversold · Bullish exit color · bearishNo · Light ice · Light pinkMarks when %K leaves a zone.
Regular divergences · Hidden divergences · Bullish divergence color · bearish · Hidden bullish divergence color · bearishYes · No · Ice · Pink · Soft turquoise · LilacWith pivots of 5 candles on each side (from 2 to 20) and at most 60 candles apart (from 5 to 300).
Draw the divergence line · Line widthYes · 1.5 pxThe line between the two pivots, from 0.5 to 4 px.
Only with the trend (average) · Period (moving average · period)No · 200Keeps only the signals in the direction of an exponential moving average; the period, from 10 to 400.
Also mark on the price · Mark size · Days with signalsNo · 4 px · 5 daysWhere, how big (from 2 to 12 px) and for how many days they’re marked.
Alerts
Blink on new signals · On-screen alert · With sound · Alert colorYes · No · No · Light blueHow it alerts on the signals of the last candle.
Neural
Glow (Neural theme)Yes, when addedA halo of light in the color of each line or mark, like the one on the Neural theme candles. A newly added indicator comes with it checked; the ones you already had saved don’t.
Glow intensity (%)60%From 0 to 100%.

Settings belong to each chart: changing the Stochastic on one chart doesn’t change it on another.

All documentation