VestNorthHow we review

What Is the Stochastic Oscillator in Forex?

By · Updated · How we review

Short answer: The stochastic oscillator is a line between 0 and 100 that shows where the latest close sits inside the recent high-low range. A reading near 100 means the close is at the top of the range, and near 0 means it is at the bottom. Lines at 80 and 20 are the usual markers, and a move past them is not a buy or sell signal by itself, because price can stay there for a long time in a trend.

Stochastic oscillator in forex: a price chart above a two-line oscillator with 80 and 20 levels and a %K crossing %D marked

The stochastic with its 80 and 20 lines and a %K and %D cross. Illustration, October 2026.

How the stochastic is calculated

The indicator asks one question: is the close near the top or the bottom of what price has done lately? For a 14-candle setting:

%K = (latest close − lowest low of 14 candles) ÷ (highest high of 14 candles − lowest low of 14 candles) × 100

A worked example with made-up numbers. Over the last 14 candles on EUR/USD the highest high is 1.0900 and the lowest low is 1.0800, a range of 100 pips.

Latest close Distance above the low ÷ range %K
1.0890 90 pips 0.90 90
1.0850 50 pips 0.50 50
1.0815 15 pips 0.15 15

The prices are illustrations, not a forecast. Your platform does the maths, but knowing it explains the readings: a stochastic at 90 does not say price will fall. It says the close is in the top tenth of the recent range.

%K, %D and the three settings

The chart shows two lines.

  • %K is the line above, called the fast line when it is not smoothed.
  • %D is a moving average of %K, so it trails behind and looks smoother.

The settings are usually written as three numbers, such as 14, 3, 3: the look-back period for the range, the smoothing applied to %K, and the length of the %D average. Platforms ship different defaults, and 5, 3, 3 is also common. A shorter look-back reacts faster and produces more crosses, many of them false. Check what your own platform uses before you compare screenshots with anyone else’s.

A “slow” stochastic is one where %K is already smoothed. A “fast” one is not. Many charting packages show the slow version without labelling it, which is another reason two traders can see different lines on the same chart.

The 80 and 20 levels

Most platforms draw horizontal lines at 80 and 20. Above 80 is called overbought and below 20 oversold. Those words suggest a reversal is due, and that is the trap. The lines only say the close is within 20% of the edge of the recent range.

In a strong uptrend the stochastic can sit above 80 for days, because each new high pushes the range up with it. Sellers who act on the first reading above 80 are trading against the trend. The same applies in reverse below 20.

The levels are most useful in a range market, where price keeps returning to the middle. In a trend, a pullback that takes the stochastic down to 20 and back up may help time an entry in the direction of the trend. The trend trading guide covers the trend side.

Crosses and divergence

Two signals get most of the attention.

  1. %K crossing %D. When %K crosses above %D, momentum is turning up, and a cross below says it is turning down. Crosses that happen in the middle of the scale (around 50) carry little information. Traders usually wait for a cross near 80 or 20.
  2. Divergence. Price makes a new high but the stochastic makes a lower high, or price makes a new low and the stochastic makes a higher low. Some traders read it as weakening momentum. It can appear several times before a turn, or not at all.

Both signals lag. A cross is confirmed only after the candle closes, so by then part of the move has often happened.

Overbought and oversold versus divergence

The two most-cited uses answer different questions and fail in different ways.

Overbought / oversold (80 and 20) Divergence
What it says The close is near the edge of the recent range Momentum made a weaker extreme than price did
Works best in Ranges Late in a move that has already run
Typical failure Stays pinned at an extreme in a trend Shows up several times before a turn, or never confirms
Needs A level on the chart as context At least two swing points to compare

A worked divergence with made-up numbers: EUR/USD makes a swing high at 1.0950 while the stochastic peaks at 92. Two weeks later price makes a higher swing high at 1.0985, but the stochastic peaks at only 78. Price gained 35 pips while the oscillator read lower, so momentum in the range sense is weaker. That is a warning to tighten expectations, not an entry. If price then makes a third high at 1.1010 and the stochastic prints 70, the divergence has widened and the move is still going. Nothing in the indicator says when it ends, so any trade based on it needs a stop beyond the last swing and a size you chose beforehand.

A pullback example with the stochastic as a filter

In a trend, some traders use the 20 level as a pullback marker instead of a reversal signal. The numbers below are made up and describe how a trade might be framed, not what price will do.

  • EUR/USD is in an uptrend: a rising 50-period moving average, higher highs and higher lows, the latest swing high at 1.0900.
  • Price pulls back to 1.0840 and the stochastic falls below 20. Nothing happens yet.
  • The next candle closes up, and %K crosses above %D from below 20. The trader notes the cross with the trend, not against it.
  • The stop goes below the last swing low at 1.0815, which is 25 pips from 1.0840. The first target is the old high at 1.0900, which is 60 pips away.
Item Pips On 0.1 lot (about $1 per pip)
Risk to the stop 25 $25
Distance to the target 60 $60
Reward-to-risk ratio 2.4 n/a

Costs are not included, and the spread and slippage widen the real loss. The trade also fails whenever the pullback turns into a reversal, in which case the stochastic simply sat below 20 on the way down. The filter only improves timing within a trend that was already identified by price. Its value is in avoiding entries at 80 in an uptrend, not in predicting the turn.

Signal checklist

Question Why it matters
Is the market trending or ranging? Decides whether 80 and 20 are reversal zones or pullback zones
Which time frame and settings is the chart on? A 14, 3, 3 reading on the daily chart is not a 5, 3, 3 reading on the hour
Where is the nearest support or resistance? A cross at 20 under a major level is not the same as one in empty space
Where does the idea fail, in pips? Sets the stop and the position size before the entry
Is a news release due? One spike candle can push the reading to an extreme

Where the stochastic goes wrong

  • Trending markets. It stays at an extreme and gives repeated early counter-trend signals.
  • Low time frames. On a 1-minute or 5-minute chart, the oscillator swings from 0 to 100 within a few candles, mostly on spread and noise.
  • News releases. A single spike candle drags the range wide and pushes the reading to an extreme for no lasting reason.
  • Stacking indicators that say the same thing. Using the stochastic, the RSI and a third momentum line together gives three versions of one view, not three confirmations.

Worked example: the same signal in a range and in a trend

Both cases use made-up EUR/USD prices and a 14-candle stochastic. They are illustrations, not forecasts.

In a range. Price has bounced between 1.0800 and 1.0900 for two weeks. The stochastic drops below 20 as price reaches 1.0815 and %K turns up through %D. A trader who buys there with a stop at 1.0790 (25 pips below) and a target at 1.0870 (55 pips above) risks 25 pips to make 55, a reward-to-risk ratio of 2.2. The edge comes from the range holding, not from the indicator.

In a trend. Price is climbing and the stochastic has been above 80 for nine candles. A trader sells at 1.0880 on the first reading above 80, with a stop at 1.0910 (30 pips). Price rises to 1.0960, the stop is hit, and the loss is 30 pips. On 0.1 lot that is $30 on EUR/USD ($1 per pip). The indicator was “overbought” the whole way up.

The two trades used the same signal. What differed was the market type, which is why checking for a range or a trend first, with a tool such as the ADX or a moving average, matters more than the oscillator reading. For setting the target against the stop, see the risk-reward ratio.

From raw %K to %D: one calculation, step by step

The “14, 3, 3” setting is three separate steps. Take a range where the 14-candle highest high is 1.0900 and the lowest low is 1.0800 (made-up numbers, held constant to keep the arithmetic readable). Five consecutive closes give these readings:

Candle Close Raw %K (14) Slow %K (3-candle average of raw %K) %D (3-candle average of slow %K)
1 1.0830 30 n/a n/a
2 1.0850 50 n/a n/a
3 1.0880 80 53.3 n/a
4 1.0895 95 75.0 n/a
5 1.0870 70 81.7 70.0

Candle 3: (30 + 50 + 80) ÷ 3 = 53.3. Candle 4: (50 + 80 + 95) ÷ 3 = 75.0. Candle 5: (80 + 95 + 70) ÷ 3 = 81.7, and %D is (53.3 + 75.0 + 81.7) ÷ 3 = 70.0. On candle 5 the raw line has already dropped from 95 to 70, but the slow %K (81.7) is still above %D (70.0) and still above 80. That lag is the price of smoothing: fewer false crosses, later signals.

How the three settings map to the names:

Setting Look-back %K smoothing %D length Usually called
14, 1, 3 14 candles none 3 Fast stochastic
14, 3, 3 14 candles 3 3 Slow stochastic (common default)
5, 3, 3 5 candles 3 3 Slow, shorter look-back

The look-back also changes what “recent” means. Compare these on a 1-hour and a daily chart:

Setting Time frame Range covers
5, 3, 3 1-hour chart last 5 hours
14, 3, 3 1-hour chart last 14 hours, about a day of the London and New York sessions
14, 3, 3 Daily chart last 14 trading days, about three weeks

The same “20” reading therefore means something very different on each row. Compare readings only between charts with identical settings and time frames.

Stochastic vs RSI

The RSI compares the size of average up moves with average down moves. The stochastic ignores move size and looks only at where the close sits in the range. In a quiet range they often agree, in a sharp trend they can differ, and picking whichever supports the trade you already want is a habit to avoid.

Using it with risk control

An oscillator cannot tell you where you are wrong. Put the stop loss beyond a level that cancels your trade idea, such as a swing point or a zone from support and resistance, then size the position from that distance. Work out the distance in pips with our guide to what a pip is, then combine it with the lot size calculator so a failed signal costs an amount you chose in advance.

Before relying on any setting, mark every cross near 80 or 20 on a demo chart for a few weeks and record how often price kept going the other way.

Common mistakes

  1. Treating 80 as “sell” and 20 as “buy” in every market condition.
  2. Changing the settings after each losing trade.
  3. Using crosses in the middle of the scale.
  4. Ignoring the higher time frame trend.
  5. Skipping the stop loss because the oscillator “looks oversold”.
  6. Comparing a 5, 3, 3 reading on one chart with a 14, 3, 3 reading on another.
  7. Entering a counter-trend trade on a cross while the higher time frame is still making new highs or lows.

Related indicators: the Ichimoku cloud, trading with the VWAP and the MACD indicator.

Bottom line

The stochastic oscillator tells you where the close sits in the recent range, and nothing more. It is easier to use in a range than in a trend, and its crosses lag. Read it together with price levels and the trend, keep a stop loss on every trade, and risk only money you can afford to lose, because leveraged CFDs can lose value quickly.

Frequently asked questions

What does the stochastic oscillator measure?

It measures where the latest close sits inside the highest-to-lowest range of the last N candles. A reading of 100 means the close is at the top of that range, and 0 means it is at the bottom.

What are the stochastic 80 and 20 levels?

Many platforms draw lines at 80 and 20. Above 80 is often called overbought and below 20 oversold. These labels only say the close is near the edge of the recent range, and price can stay there in a trend.

What is the difference between %K and %D?

%K is the main line calculated from the close and the recent range. %D is a moving average of %K, so it moves more slowly. A cross of %K through %D is the signal many traders watch.

What are the best stochastic settings?

There is no setting that works on every pair. Platform defaults differ (14, 3, 3 and 5, 3, 3 are both common), and shorter settings give more crosses and more false ones. Test any change on a demo account first.

Stochastic or RSI: which is better?

They answer different questions. The RSI compares average gains with average losses, while the stochastic compares the close with the recent range. Neither is a trade signal alone, and many traders use only one to avoid conflicting readings.

What is the difference between fast and slow stochastic?

The fast stochastic uses raw %K with no smoothing (for example 14, 1, 3). The slow version smooths %K over 3 candles first (14, 3, 3), so it has fewer crosses and reacts later. %D is a 3-candle average of %K in both.

How do you read stochastic divergence?

Compare two swing points. If price makes a higher high but the stochastic makes a lower high, momentum is weaker than price suggests. It is a warning, not a timing signal, and it can repeat before any reversal.

Does the stochastic work in a strong trend?

It tends to stay above 80 in a strong uptrend or below 20 in a strong downtrend. Selling every reading above 80 in an uptrend is a common way to lose money.