In this article
After this article, you can
- Distinguish position within a range from range width.
- Avoid assigning equal risk to equal indicator readings.
Terms at hand: Stochastic Oscillator · Stop loss · Trading Plan · Short position · Average Directional Index (ADX) · Relative Strength Index (RSI)
Stochastic describes a Close relative to a recent price range, or a smoothed version of that calculation. A reading of 85 means neither an 85% chance of a fall nor an instruction to sell. Check the line, smoothing convention, data and closed-bar status before interpreting it.
Raw position and smoothed position are different
For a window with low L, high H and H > L, define raw R = 100(Close − L)/(H − L). Raw 0 means Close at L; raw 100 means Close at H. A zero-width window requires an explicit implementation rule. A smoothed line need not equal the latest raw position.
The names %K and %D do not fully specify their construction. TradingView’s documented %K smooths the raw ratio with an SMA; %D then averages that %K. MetaTrader exposes slowing and an averaging-method setting. Compare named fields and the actual algorithm, not just the label. The mechanics of %K and %D examines those differences.
The same Stochastic 80 can describe different distances
One range has a low of 100, a high of 110 and Close 108. Another has a low of 100, a high of 150 and Close 140. Both raw readings equal 80, but Close is 8 or 40 price units above the low.
Scroll sideways to see the full diagram
Stochastic normalises the close’s position within the selected range. Comparing absolute range width requires another number. Equal readings of 80 do not imply the same stop distance or monetary risk.
Assumptions: Fictional ranges and prices using the same unit. We calculate the raw result without K or D smoothing and without assigning it to a real instrument. Formula or data verification: MetaTrader 5: Stochastic formula.
Threshold, crossing and divergence: specify the event
Traditional 80/20 zones describe a selected indicator line. StockCharts notes that extreme readings can persist in a trend; they do not establish fundamental value or an inevitable turn. Above 80 excludes exactly 80; at least 80 includes it. An unrounded value of 79.96 can display as 80.0 while still failing an above-80 rule.
%K > %D is a current relation, not necessarily a new crossing. An upward crossing could require previous K ≤ D and current K > D. State the equality rule and compare like-for-like observations. A transient open-bar crossing is not the same event as a final closed-bar crossing.
Divergence compares specified price and indicator extremes. Define how points are paired and when they can be recognised; it is not automatically the strongest signal or a probability of reversal. An ADX threshold or the label consolidation also does not certify a successful trade.
Why smoothed 85 need not mean Close in the top 15%
Assume three consecutive closed EUR/USD observations. Each corresponding 14-bar window has low 1.1000 and high 1.1200. These are assigned window parameters, not a supplied full OHLC market history. Smooth the three raw readings with an SMA and do not calculate an additional %D here.
| Observation | Close | Raw R | SMA3 of shown R |
|---|---|---|---|
| t−2 | 1.1190 | 95 | Not calculated here |
| t−1 | 1.1190 | 95 | Not calculated here |
| t | 1.1130 | 65 | 85 |
The latest raw result is 100×0.0130/0.0200 = 65, while (95 + 95 + 65)/3 = 85. Close fell 0.0060 USD per EUR, or 60 pips with pip 0.0001. It is 65% up the range, outside the top 20%, although the smoothed line remains above 80. Neither result predicts the next candle or a profitable short.
RSI instead compares smoothed gain/loss magnitudes. Sharing a 0–100 scale does not establish equal meanings or that RSI universally makes fewer errors and Stochastic always signals sooner. Define the configuration and error criterion before comparing them.
A rising Close can lower raw Stochastic
In a separate hypothetical window, keep L = 1.1000. Initially H = 1.1200 and Close = 1.1180 give R = 90. A new candle raises Close to 1.1190 but sets High = 1.1400; the former low is assumed to remain in the window. The new raw result is 100×0.0190/0.0400 = 47.5.
| Quantity | Before | After |
|---|---|---|
| Close | 1.1180 | 1.1190 |
| Window Low / High | 1.1000 / 1.1200 | 1.1000 / 1.1400 |
| Raw R | 90 | 47.5 |
Close rises 10 pips and R falls 42.5 points. For fixed L and positive C − L, this happens when ΔH > ΔC(H − L)/(C − L). Here the High increase must exceed 11.11… pips; it is 200. At exactly that boundary, R would stay unchanged. Smoothing adds another dependence on earlier raw values.
Write settings in words and retain information time
TradingView documents K window 14, D period 3 and additional K smoothing 3 as defaults; a smoothing period of 1 disables that extra averaging. A tuple 14,3,3 without field names, algorithm and input source can be incomplete. Periods count bars, not necessarily days.
Record provider, symbol, price series, interval, time zone, averaging methods, missing-value policy and bar status. Compare identical observations before changing parameters. Selecting settings until past failures disappear does not evaluate unused data; a default is not an optimum.
A trading rule needs entries, exits, execution, costs and no-trade conditions. A plotted value, a line crossing and a decision are separate stages. Calling the setting a range or trend does not guarantee an outcome, and three selected divergences do not validate a strategy.
Reproduce the model before testing a trade
Change only the last Close in the fixed-bound table to 1.1160. Its raw R becomes 80; SMA3 of 95,95,80 is 90. The raw result is exactly at 80, not above; the smoothed line is above it. No number alone is a sell instruction.
The diagram separately compares [100,110] with Close 108 and [100,150] with Close 140. Both raw results are 80, yet distances from the low are 8 and 40 units. The quiz uses [100,120] and Close 116: raw 80 and distance 16. Equal normalised values do not imply equal price distances or monetary risk.
Use the technical analysis section on ForexMechanics for related reading. Keep a record of the rule, data and calculation first, then evaluate any trading hypothesis separately.
Check your understanding
One short exercise
About 2 min · you can try again
Low 100, high 120, Close 116: what are raw Stochastic and the distance above the low?
- 80 and 16 units.
- 16 and 80 units.
- 80 and 80 units.
Check the answer and explanation
80 and 16 units.
Yes: 16/20×100=80. The reading 80 and distance 16 describe different quantities.
Frequently asked
Does Stochastic 85 mean Close is near the top?
For a raw result with positive range width, it describes Close’s relative position. A smoothed 85 can instead average earlier readings. In the fixed-bound example the latest raw result is 65 and the three-value mean 85, so do not translate the smoothed line directly into the current Close’s position.
Should I sell when the line exceeds 80?
The threshold alone does not specify future direction or an entry. Extreme readings can persist, without guaranteeing continuation either. Define and evaluate a complete rule after costs; a range label or an ADX reading does not prove it succeeds.
Does every 14,3,3 setting give the same values?
Field names and calculation convention matter, as do smoothing methods, data, interval and bar status. TradingView’s named defaults do not certify every platform’s algorithm. Compare the same closed observation rather than just three numbers.
How does a crossing differ from K above D?
A crossing changes the relation between two comparable prior/current observations under a specified equality rule. K can remain above D for several bars without a new crossing. An open-bar reading may change before the bar closes.
Sources & bibliography
-
Investopedia Stochastic Oscillator · An explanatory reference on the stochastic oscillator. www.investopedia.com ↗
-
Investopedia Stochastic Oscillator · An explanatory definition of the stochastic oscillator. www.investopedia.com ↗
-
BabyPips Stochastic Tutorial · An educational tutorial on the stochastic oscillator. www.babypips.com ↗
-
TradingView Stochastic — calculation and named inputs · Specifies raw-ratio SMA smoothing, %D and labelled K/D/Smooth inputs. Defaults do not establish a best trading rule or every provider’s algorithm. www.tradingview.com ↗
-
StockCharts ChartSchool Stochastic Oscillator — fast, slow and full · Explains the variants and why an extreme reading need not announce a reversal. Educational interpretations do not quantify a particular rule’s return. chartschool.stockcharts.com ↗
-
MetaQuotes MetaTrader 5 Help — Stochastic calculation and settings · Documents the base range ratio and separate slowing/D-method inputs. It does not make a generic 14,3,3 tuple a complete reproducible specification. www.metatrader5.com ↗
