Trading forex and CFDs on leverage is high risk. Most retail accounts lose money. Read the risk warning

Stochastic Oscillator Settings for Forex Trading

The most common stochastic oscillator settings for forex are 14,3,3 (a 14-period lookback, smoothed by 3, with a 3-period signal line), with 5,3,3 used for faster signals and 21,7,7 for slower, smoother ones. The settings change how often the indicator reaches overbought and oversold, but they do not make it predictive: stochastic measures where price closed within its recent range, and in strong trends it can stay at an extreme for a long time.

Key takeaways

  • Stochastic compares the close with the high-low range of the last N bars, scaled from 0 to 100.
  • The three numbers are the %K lookback, the %K smoothing (often called "slowing") and the %D signal-line period.
  • Shorter lookbacks and less smoothing mean more signals and more noise; longer settings mean fewer, later signals.
  • MetaTrader and TradingView use different default values and labels, so check what your platform is showing.
  • Overbought and oversold readings are context, not sell or buy signals. Stochastic works best in ranges or for timing pullbacks within a trend.

How the stochastic oscillator is calculated

George Lane popularised the stochastic oscillator in the 1950s. The core idea: in an uptrend, closes tend to be near the top of the recent range; in a downtrend, near the bottom. The raw calculation is:

%K = 100 × (Close − Lowest Low of N bars) ÷ (Highest High of N bars − Lowest Low of N bars)

Worked calculation

On an H1 EUR/USD chart, the highest high of the last 14 bars is 1.0900 and the lowest low is 1.0800. The current close is 1.0880.

  • Range: 1.0900 − 1.0800 = 0.0100 (100 pips).
  • Close above the low: 1.0880 − 1.0800 = 0.0080 (80 pips).
  • %K = 100 × 80 ÷ 100 = 80.

A reading of 80 means the close is 80% of the way up the 14-bar range. If the next bar closes at 1.0820 with the same range, %K drops to 20. You can see how sensitive raw %K is: a 60-pip move took it from the top of the scale to the bottom. That sensitivity is why smoothing exists.

Fast, slow and full stochastic

Version%K line%D lineCharacter
Fast stochasticRaw %K, no smoothing3-period average of raw %KVery jumpy; many signals
Slow stochastic3-period average of raw %K3-period average of slow %KSmoother; the most widely used version
Full stochasticRaw %K averaged over a chosen periodAverage of that line over a chosen periodFully adjustable; slow stochastic is a special case

The "full" version is what most platforms actually provide, with three inputs you can set. When people quote "14,3,3", they mean a full stochastic with a 14-bar lookback, 3-bar smoothing of %K and a 3-bar %D, which is the classic slow stochastic.

What each setting number controls

Lookback period (%K period)

This sets how many bars define the range. A 5-bar lookback compares the close with a very short range, so the oscillator swings between extremes quickly. A 21-bar lookback uses a wider range, so it takes a larger move to reach 80 or 20.

Smoothing ("slowing")

The %K smoothing averages the raw values. Setting it to 1 gives you the fast stochastic; 3 is standard; higher numbers make the line smoother and slower to turn.

%D period

The %D is a moving average of the %K line and acts as a signal line. Crosses of %K over %D are one of the most common triggers. A longer %D produces fewer crosses.

Platform defaults differ

This catches many traders out. On MetaTrader 4 and 5, the stochastic's default inputs are %K period 5, %D period 3 and slowing 3, often written 5,3,3. On TradingView, the default built-in stochastic is %K length 14, %K smoothing 1 and %D smoothing 3, which is effectively a fast stochastic with a 14-bar lookback. If you follow a strategy written for 14,3,3, check and change your platform's inputs rather than assuming the default matches. MetaTrader also lets you choose the price field ("Low/High" or "Close/Close") and the averaging method; Low/High with a simple average is the conventional choice.

Common setting combinations and when they are used

SettingSpeedTypical useTrade-off
5,3,3FastScalping on M1 to M15, short-term pullback timingFrequent extremes and crosses; many false signals
8,3,3Moderately fastIntraday trading on M15 and H1A compromise; still noisy around news
14,3,3StandardGeneral use on H1, H4 and dailyBalanced; the version most traders know
21,7,7SlowSwing and position trading on H4 and dailyFewer, later signals; can miss short swings
14,1,3Fast with standard lookbackTradingView default; quick entriesRaw %K is jumpy; crosses happen often

These descriptions reflect how traders commonly use each setting; they are not measured performance figures. The right choice depends on your timeframe, how long you hold trades and how many signals you can realistically act on.

Overbought and oversold levels

The default thresholds are 80 for overbought and 20 for oversold. Some traders use 90 and 10 for fewer, more extreme signals, or 70 and 30 with slow settings that rarely reach the outer bands.

The key misunderstanding: overbought does not mean "about to fall". It means the close is near the top of the recent range. In a strong uptrend, that is exactly where closes should be, and the stochastic can sit above 80 for many bars while price keeps rising. Selling every time the line crosses 80 in a trending market is one of the fastest ways to lose money with this indicator.

A better framing:

  • In a range: overbought near resistance and oversold near support are useful timing cues for reversal trades, in line with a mean-reversion approach.
  • In an uptrend: ignore overbought; look for oversold dips, or %K crossing up through %D from below 20 or 30, as pullback entries in the trend direction.
  • In a downtrend: the mirror image; use overbought rallies for short entries.

Deciding whether you are in a trend or range is a separate job. A trend-strength tool such as the ADX indicator or simple market structure can help.

Worked example: pullback entry in a trend

USD/CAD is in an H4 uptrend, trading above a rising 50 EMA with higher highs and higher lows. You use 14,3,3.

  1. Price pulls back from 1.3820 to 1.3740 over several bars. Stochastic drops below 20.
  2. A bar closes at 1.3755 and %K crosses above %D at 18. You treat that as the trigger and buy at 1.3755.
  3. Stop goes below the pullback low of 1.3735 with a 10-pip buffer at 1.3725: 30 pips of risk.
  4. Target: the prior high at 1.3820, 65 pips away, about 2.2R.

Sizing: with a $6,000 account and 1% risk ($60), you can afford $2 per pip over 30 pips. A pip on USD/CAD is worth 10 Canadian dollars per standard lot; at 1.3755, that is about $7.27. $2 ÷ $7.27 = 0.27 lots.

The stochastic did one job here: it timed the end of a pullback inside a trend you had already identified. It did not identify the trend, set the stop or choose the target.

Divergence with stochastic

Divergence occurs when price makes a higher high but stochastic makes a lower high (bearish), or price makes a lower low while stochastic makes a higher low (bullish). Because stochastic is bounded and reacts quickly, it shows divergence often, which makes individual divergences less meaningful. Traders who use it usually require divergence at a key level and a confirmation such as a structure break. The concept is covered in more detail, using RSI, in our guide to RSI divergence.

Stochastic vs RSI: picking the right oscillator

Both are momentum oscillators scaled from 0 to 100, and they are frequently confused. RSI compares the size of up-closes with down-closes; stochastic compares the close with the high-low range. In practice stochastic is usually faster and reaches extremes more often, while RSI moves more steadily. Using both on one chart mostly duplicates information. If you want to compare settings, see our guide to RSI indicator settings, and for combining tools without redundancy, our article on the best indicator combinations.

Matching settings across timeframes

One useful habit is to read the stochastic on two timeframes with the same settings. A higher timeframe reading tells you where price sits within its larger range, while the lower timeframe times the entry. For example, if the daily 14,3,3 has just turned up from below 20 in an uptrend, H1 oversold readings in the following sessions are more likely to line up with the larger move than H1 oversold readings while the daily line is falling from 80.

A rough guide many traders use: if you hold trades for hours, set the lookback so it covers roughly a day of bars on your entry chart; if you hold for days, check the H4 or daily version. Fourteen H1 bars cover a little over half a trading day; fourteen H4 bars cover about two and a half days. Our guide to multi-timeframe analysis explains how to stop two timeframes contradicting each other.

Common mistakes with stochastic settings

Changing settings to fit recent charts

Tweaking from 14,3,3 to 11,4,2 because it "caught the last three turns" is curve fitting. Pick a setting, test it over a large sample, and judge it on the full results.

Using fast settings on fast timeframes without filters

5,3,3 on an M1 chart will generate dozens of overbought and oversold readings per session. Without a trend filter and a defined level, most will be noise, and spreads take a bigger share of each small trade. If you scalp, our forex scalping strategy guide covers the cost side.

Trading every %K/%D cross

Crosses in the middle of the scale (around 50) carry little information. Most traders only act on crosses in or near the extreme zones and in the direction of the trend.

Ignoring the live bar

Stochastic values on the forming bar change with every tick. A cross that appears mid-bar can disappear by the close. Act on closed bars unless your strategy specifically allows otherwise.

Risk reminder: stochastic readings describe recent price position; they do not forecast reversals. In trending markets, counter-trend trades based on overbought or oversold readings can lose repeatedly. Most retail CFD and forex accounts lose money, and leverage magnifies losses. Use a stop on every trade, size from the stop distance and never add to a losing position because the oscillator is "even more oversold".

Frequently asked questions

What is the best stochastic setting for forex?

There is no single best setting. 14,3,3 is the most widely used and a reasonable starting point for H1 to daily charts. 5,3,3 is common for short-term trading but produces more noise, while 21,7,7 suits slower swing trading. Choose based on your timeframe and holding period, then test it rather than adjusting after every loss.

What do the numbers 14,3,3 mean?

The first number is the lookback: the oscillator compares the close with the highest high and lowest low of the last 14 bars. The second is the smoothing applied to %K, and the third is the period of the %D signal line, which is a moving average of %K. Together they define the classic slow stochastic.

Why does my stochastic look different on TradingView and MT4?

The platforms use different defaults. MetaTrader typically defaults to 5,3,3, while TradingView's built-in stochastic defaults to a 14 lookback with %K smoothing of 1 and %D of 3. Broker price feeds and the price field setting also differ slightly. Set the same inputs on both platforms if you want comparable readings.

Should I sell when stochastic is above 80?

Not automatically. Above 80 means the close is near the top of the recent range, which is normal in an uptrend. Selling every overbought reading in a trend tends to produce repeated losses. Overbought signals are more useful in ranging markets near resistance, or as a warning to avoid chasing longs rather than a reason to go short.

Is stochastic good for scalping?

Fast settings such as 5,3,3 are popular with scalpers because they react quickly on M1 to M5 charts. The downside is many false signals, and on short timeframes spreads and commissions take a larger share of each trade. Scalpers who use stochastic usually combine it with a trend filter and key levels to reduce noise.

Can stochastic be used alone?

It can, but results tend to be poor because the oscillator has no concept of trend, support or resistance. Most traders pair it with a trend filter such as a moving average or market structure, and use clear levels for entries and stops. The oscillator then handles timing, which is its strength.

This article is general information, not personal financial advice. Figures such as spreads, fees, leverage and rules change; confirm them with the provider and check the provider is authorised for your country of residence.