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, MetaTrader 4, and 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.

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.[4] 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.


These materials constitute marketing communication and do not take into consideration your personal circumstances, investment experience or current financial situation. The content is provided as general market commentary and should not be construed as containing any type of investment advice, investment recommendation and/or a solicitation for any investment transactions. This market communication does not imply or impose an obligation on you to perform an investment transaction and/or purchase investment products or services. These materials have not been prepared in accordance with legal requirements designed to promote the independence of investment research and are not subject to any prohibition on dealing ahead of the dissemination of investment research.

FXCM, and any of its Affiliates, shall not in any way be liable to you for any inaccuracies, errors or omissions, regardless of cause, in the content of these materials, or for any damages (whether direct or indirect) which may arise from the use of such materials, services and their content. Consequently, any person acting on them does so entirely at their own risk. Please ensure that you read and understand our Full Disclaimer and Liability provision concerning the foregoing Information, which can be accessed here.