Stochastic Oscillator

The stochastic oscillator, commonly referred to simply as "stochastics," is a tool for technical analysis focused on the study of price action. It compares a security's trading range over a specified period to its closing price. The stochastic oscillator is classified as being a momentum indicator, primarily used to identify overbought and oversold market conditions.

Although it is a point of moderate contention, Dr. George Lane is credited with the development and refinement of stochastics. After joining "Investment Educators" in 1954, Lane worked in tandem with colleagues to develop momentum oscillators while trading commodities on the Chicago Board of Trade (CBOT).[1] Lane eventually released "The Stochastic Process" in 1957, effectively introducing stochastics to the public.

Stochastics are typically incorporated into trading strategies that utilise areas of price reversal and exhaustion as reference for market entry. The study may be used on a stand-alone basis or in conjunction with other technicals in the trade of futures, equities and currencies.

Calculating The Stochastic Oscillator

It is important to remember that stochastics attempt to project exhaustion points and pending reversals in price action. In order to accomplish this objective, the indicator relates the closing price of a security to its traded range for a specific period. Closing price is quantified in terms of %K, and trading range is thought of in terms of %D. The results are then plotted using a line graph, creating a visual representation of the relationship.

Listed below are the formulae and considerations used to derive the %K and %D values for incorporation into the stochastic oscillator[2]:

  • %K = 100 * [3]

    • Closing Price: The most recent close
    • Ln: Low price for n periods
    • Hn: High price for n periods
  • %D = 100 * (H_n_/L_n_)

    • H_n_: High price for n periods
    • L_n_: Low price for n periods
  • In order to normalise the derived values for both %K and %D, they are each multiplied by 100. This element of the calculation provides simplicity, as each value becomes scalable from 0 to 100.
  • Typical n values used in the calculation of %K are 5, 9 or 14 periods.
  • The standard n value used in the calculation of %D is 3 periods.
  • Depending upon the time frame being traded, n may be defined using intraday increments, or in terms of days, weeks, months or years.

Calculating the stochastic oscillator by hand in live market conditions can be a daunting task. However, current software trading platforms such as Trading Station and MetaTrader 4 commonly include the indicator as an available study. After being selected for use, the indicator is automatically computed and plotted graphically, giving traders and investors more time to analyse and interact with changing market conditions.

Why Trade Shares with FXCM?

  • $0.00 Commission*
  • Mini Shares - Fractional Share Trading with minimum trade sizes of 1/10 of a share.
  • Low Margin Requirements

Interpreting Stochastics

The goal of stochastics is to identify levels where a reversal in price may originate and is most probable. As price action moves up and down, these areas become pronounced and readily identifiable.

According to Lane, as a market fluctuates, the periodic closing prices approach the period's established extremes. For instance, as price falls, closing prices tend to approach the extreme low. Conversely, if price is rising, then closing values will near the extreme high. With this concept in mind, the only viable signal prompting market entry is a divergence between %D and the security's price occurring near the extremes.

Thus, there are two setups for trade entry:

  • Bearish: Occurs when price makes higher highs while %D establishes lower highs. A short position is entered in anticipation of reversal.
  • Bullish: Occurs when price makes lower lows while %D establishes higher lows. A long position is entered in anticipation of reversal.

When working with the stochastic oscillator, a graphical interface makes observing price action in relation to the indicator relatively straightforward. Market extremes as well as convergence and divergence of %K with respect to %D are visually identifiable.


The strongest attributes of stochastics are versatility, ease of application and its predictive capabilities. When used in concert with other aspects of technical and fundamental analysis, the stochastic oscillator can be a valued addition to the comprehensive trading plan.

Any opinions, news, research, analyses, prices, other information, or links to third-party sites are provided as general market commentary and do not constitute investment advice. FXCM will not accept liability for any loss or damage including, without limitation, to any loss of profit which may arise directly or indirectly from use of or reliance on such information.

FXCM Research Team

FXCM Research Team consists of a number of FXCM's Market and Product Specialists.

Articles published by FXCM Research Team generally have numerous contributors and aim to provide general Educational and Informative content on Market News and Products.



Retrieved 14 Nov 2019


Retrieved 14 Nov 2019


Retrieved 14 Nov 2019

${} / ${getInstrumentData.ticker} /

Exchange: ${}

${} ${getInstrumentData.divCcy} ${getInstrumentData.priceChange} (${getInstrumentData.percentChange}%) ${getInstrumentData.priceChange} (${getInstrumentData.percentChange}%)

${getInstrumentData.oneYearLow} 52/wk Range ${getInstrumentData.oneYearHigh}

When executing customers' trades, FXCM can be compensated in several ways, which include, but are not limited to: spreads, charging commissions at the open and close of a trade, and adding a mark-up to rollover, etc. Commission-based pricing is applicable to Active Trader account types.

Any opinions, news, research, analyses, prices, other information, or links to third-party sites contained on this website are provided on an "as-is" basis, as general market commentary and do not constitute investment advice. The market commentary has not been prepared in accordance with legal requirements designed to promote the independence of investment research, and it is therefore not subject to any prohibition on dealing ahead of dissemination. Although this commentary is not produced by an independent source, FXCM takes all sufficient steps to eliminate or prevent any conflicts of interests arising out of the production and dissemination of this communication. The employees of FXCM commit to acting in the clients' best interests and represent their views without misleading, deceiving, or otherwise impairing the clients' ability to make informed investment decisions. For more information about the FXCM's internal organizational and administrative arrangements for the prevention of conflicts, please refer to the Firms' Managing Conflicts Policy. Please ensure that you read and understand our Full Disclaimer and Liability provision concerning the foregoing Information, which can be accessed here.

Past Performance: Past Performance is not an indicator of future results.

Spreads Widget: When static spreads are displayed, the figures reflect a time-stamped snapshot as of when the market closes. Spreads are variable and are subject to delay. Single Share prices are subject to a 15 minute delay. The spread figures are for informational purposes only. FXCM is not liable for errors, omissions or delays, or for actions relying on this information.