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)Retrieved 26 April 2017 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 oscillator2)Retrieved 26 April 2017

  • %K = 100 * 3)Closing Price – Ln)/ (Hn-Ln
    • Closing Price: The most recent close
    • Ln: Low price for n periods
    • Hn: High price for n periods
  • %D = 100 * (Hn/Ln)
    • Hn: High price for n periods
    • Ln: 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, MetaTrader4 and NinjaTrader 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.

Open Forex Practice Account With FXCM

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)Retrieved 29 April 2017 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.5)Retrieved 29 April 2017

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.

References   [ + ]

1. Retrieved 26 April 2017
2. Retrieved 26 April 2017
3. Closing Price – Ln)/ (Hn-Ln
4. Retrieved 29 April 2017
5. Retrieved 29 April 2017