Stoch (Stochastic Oscillator)
Where the close sits within the high-low range of the last few candles, from 0 (at the lowest low) to 100 (at the highest high). %K is the main line, %D a smoothed copy.
Settings
| Setting |
Default |
What it does |
| %K |
14 |
How many candles define the high-low range. Shorter swings more and reaches the extremes more often. |
| %D |
3 |
Smoothing of the %D line. Larger makes %D slower, so %K / %D crosses come less often. |
| Slowing |
3 |
Extra smoothing of %K. Larger gives a calmer line and fewer signals. |
| Oversold |
20 |
The "low" line for the ready-made conditions. Lower gives fewer, deeper dips. |
| Overbought |
80 |
The "high" line. Higher gives fewer, stronger moves. |
Ready-made conditions
| For |
Condition |
Fires when |
| Buy |
Stoch %K below 20 |
every candle Stoch %K is below 20 |
| Buy |
Stoch %K crosses above 20 |
the one candle Stoch %K moves from below 20 to above it |
| Buy |
Stoch %K crosses above %D |
the one candle Stoch %K moves from below the %D line to above it |
| Sell |
Stoch %K above 80 |
every candle Stoch %K is above 80 |
| Sell |
Stoch %K crosses below 80 |
the one candle Stoch %K moves from above 80 to below it |
| Sell |
Stoch %K crosses below %D |
the one candle Stoch %K moves from above the %D line to below it |
Warnings
- Outside 0–100 (Stoch %K, %D): the condition can never be true, or is always true. You can still save it.
- Same line on both sides can never fire. With at or above, at or below, equals, or touches, it is always true. Give the two lines different settings. You can still save it.
- Blocks Save: %K 1–1000 (whole number); %D 1–1000 (whole number); Slowing 1–1000 (whole number).
Good to know
- In a strong trend it can stay above 80 (or below 20) for a long time, so "overbought" alone is not a reason to sell.
- Needs %K + %D + Slowing candles (20 at 14 / 3 / 3).
- The ready-made level conditions use %K, the main line.