# Stochastic Oscillator

Best Binary Options Brokers 2020:
• Binarium

The Best Binary Options Broker 2020!
Good for Beginners!
Free Education + Free Demo Account!

• Binomo

Contents

## What Is A Stochastic Oscillator?

A stochastic oscillator is a momentum indicator comparing a particular closing price of a security to a range of its prices over a certain period of time. The sensitivity of the oscillator to market movements is reducible by adjusting that time period or by taking a moving average of the result. It is used to generate overbought and oversold trading signals, utilizing a 0-100 bounded range of values.

### Key Takeaways

• A stochastic oscillator is a popular technical indicator for generating overbought and oversold signals.
• It was developed in the 1950s and is still in wide use to this day.
• Stochastic oscillators are sensitive to momentum rather than absolute price.

## The Formula For The Stochastic Oscillator Is

%K = ( C − L14 H14 − L14 ) × 1 0 0 where: C = The most recent closing price L14 = The lowest price traded of the 14 previous trading sessions H14 = The highest price traded during the same 14-day period %K = The current value of the stochastic indicator \begin &\text<\%K>=\left(\frac <\text– \text> <\text– \text>\right)\times100\\ &\textbf\\ &\text\\ &\text\\ &\text\\ &\text\\ &\text<14-day period>\\ &\text<\%K = The current value of the stochastic indicator>\\ \end ​ %K = ( H14 − L14 C − L14 ​ ) × 1 0 0 where: C = The most recent closing price L14 = The lowest price traded of the 14 previous trading sessions H14 = The highest price traded during the same 14-day period %K = The current value of the stochastic indicator ​

%K is referred to sometimes as the slow stochastic indicator. The “fast” stochastic indicator is taken as %D = 3-period moving average of %K.

The general theory serving as the foundation for this indicator is that in a market trending upward, prices will close near the high, and in a market trending downward, prices close near the low. Transaction signals are created when the %K crosses through a three-period moving average, which is called the %D.

## What Does The Stochastic Oscillator Tell You?

The stochastic oscillator is range-bound, meaning it is always between 0 and 100. This makes it a useful indicator of overbought and oversold conditions. Traditionally, readings over 80 are considered in the overbought range, and readings under 20 are considered oversold. However, these are not always indicative of impending reversal; very strong trends can maintain overbought or oversold conditions for an extended period. Instead, traders should look to changes in the stochastic oscillator for clues about future trend shifts.

Stochastic oscillator charting generally consists of two lines: one reflecting the actual value of the oscillator for each session, and one reflecting its three-day simple moving average. Because price is thought to follow momentum, intersection of these two lines is considered to be a signal that a reversal may be in the works, as it indicates a large shift in momentum from day to day.

Divergence between the stochastic oscillator and trending price action is also seen as an important reversal signal. For example, when a bearish trend reaches a new lower low, but the oscillator prints a higher low, it may be an indicator that bears are exhausting their momentum and a bullish reversal is brewing.

The stochastic oscillator was developed in the late 1950s by George Lane. As designed by Lane, the stochastic oscillator presents the location of the closing price of a stock in relation to the high and low range of the price of a stock over a period of time, typically a 14-day period. Lane, over the course of numerous interviews, has said that the stochastic oscillator does not follow price or volume or anything similar. He indicates that the oscillator follows the speed or momentum of price. Lane also reveals in interviews that, as a rule, the momentum or speed of the price of a stock changes before the price changes itself. In this way, the stochastic oscillator can be used to foreshadow reversals when the indicator reveals bullish or bearish divergences. This signal is the first, and arguably the most important, trading signal Lane identified.

## Example Of How To Use The Stochastic Oscillator

The stochastic oscillator is included in most charting tools and can be easily employed in practice. The standard time period used is 14 days, though this can be adjusted to meet specific analytical needs. The stochastic oscillator is calculated by subtracting the low for the period from the current closing price, dividing by the total range for the period and multiplying by 100. As a hypothetical example, if the 14-day high is $150, the low is$125 and the current close is \$145, then the reading for the current session would be: (145-125)/(150-125)*100, or 80.

Best Binary Options Brokers 2020:
• Binarium

The Best Binary Options Broker 2020!
Good for Beginners!
Free Education + Free Demo Account!

• Binomo

By comparing current price to the range over time, the stochastic oscillator reflects the consistency with which price closes near its recent high or low. A reading of 80 would indicate that the asset is on the verge of being overbought.

## The Difference Between The Relative Strength Index (RSI) and The Stochastic Oscillator

The relative strength index (RSI) and stochastic oscillator are both price momentum oscillators that are widely used in technical analysis. While often used in tandem, they each have different underlying theories and methods. The stochastic oscillator is predicated on the assumption that closing prices should close near the same direction as the current trend. Meanwhile, the RSI tracks overbought and oversold levels by measuring the velocity of price movements. In other words, the RSI was designed to measure the speed of price movements, while the stochastic oscillator formula works best in consistent trading ranges.

In general, the RSI is more useful during trending markets, and stochastics more so in sideways or choppy markets.

## Limitations Of The Stochastic Oscillator

The primary limitation of the stochastic oscillator is that it has been known to produce false signals. This is when a trading signal is generated by the indicator, yet the price does not actually follow through, which can end up as a losing trade. During volatile market conditions this can happen quite regularly. One way to help with this is to take the price trend as a filter, where signals are only taken if they are in the same direction as the trend.

## Introduction

Developed by George C. Lane in the late 1950s, the Stochastic Oscillator is a momentum indicator that shows the location of the close relative to the high-low range over a set number of periods. According to an interview with Lane, the Stochastic Oscillator “doesn’t follow price, it doesn’t follow volume or anything like that. It follows the speed or the momentum of price. As a rule, the momentum changes direction before price.” As such, bullish and bearish divergences in the Stochastic Oscillator can be used to foreshadow reversals. This was the first, and most important, signal that Lane identified. Lane also used this oscillator to identify bull and bear set-ups to anticipate a future reversal. As the Stochastic Oscillator is range-bound, it is also useful for identifying overbought and oversold levels.

## Calculation

The default setting for the Stochastic Oscillator is 14 periods, which can be days, weeks, months or an intraday timeframe. A 14-period %K would use the most recent close, the highest high over the last 14 periods and the lowest low over the last 14 periods. %D is a 3-day simple moving average of %K. This line is plotted alongside %K to act as a signal or trigger line.

## Interpretation

The Stochastic Oscillator measures the level of the close relative to the high-low range over a given period of time. Assume that the highest high equals 110, the lowest low equals 100 and the close equals 108. The high-low range is 10, which is the denominator in the %K formula. The close less the lowest low equals 8, which is the numerator. 8 divided by 10 equals .80 or 80%. Multiply this number by 100 to find %K. %K would equal 30 if the close was at 103 (.30 x 100). The Stochastic Oscillator is above 50 when the close is in the upper half of the range and below 50 when the close is in the lower half. Low readings (below 20) indicate that price is near its low for the given time period. High readings (above 80) indicate that price is near its high for the given time period. The IBM example above shows three 14-day ranges (yellow areas) with the closing price at the end of the period (red dotted) line. The Stochastic Oscillator equals 91 when the close was at the top of the range, 15 when it was near the bottom and 57 when it was in the middle of the range.

## Fast, Slow or Full

There are three versions of the Stochastic Oscillator available on SharpCharts. The Fast Stochastic Oscillator is based on George Lane’s original formulas for %K and %D. In this fast version of the oscillator, %K can appear rather choppy. %D is the 3-day SMA of %K. In fact, Lane used %D to generate buy or sell signals based on bullish and bearish divergences. Lane asserts that a %D divergence is the “only signal which will cause you to buy or sell.” Because %D in the Fast Stochastic Oscillator is used for signals, the Slow Stochastic Oscillator was introduced to reflect this emphasis. The Slow Stochastic Oscillator smooths %K with a 3-day SMA, which is exactly what %D is in the Fast Stochastic Oscillator. Notice that %K in the Slow Stochastic Oscillator equals %D in the Fast Stochastic Oscillator (chart 2).

Fast Stochastic Oscillator:

Slow Stochastic Oscillator:

The Full Stochastic Oscillator is a fully customizable version of the Slow Stochastic Oscillator. Users can set the look-back period, the number of periods for slow %K and the number of periods for the %D moving average. The default parameters were used in these examples: Fast Stochastic Oscillator (14,3), Slow Stochastic Oscillator (14,3) and Full Stochastic Oscillator (14,3,3).

Full Stochastic Oscillator:

## Overbought/Oversold

As a bound oscillator, the Stochastic Oscillator makes it easy to identify overbought and oversold levels. The oscillator ranges from zero to one hundred. No matter how fast a security advances or declines, the Stochastic Oscillator will always fluctuate within this range. Traditional settings use 80 as the overbought threshold and 20 as the oversold threshold. These levels can be adjusted to suit analytical needs and security characteristics. Readings above 80 for the 20-day Stochastic Oscillator would indicate that the underlying security was trading near the top of its 20-day high-low range. Readings below 20 occur when a security is trading at the low end of its high-low range.

Before looking at some chart examples, it is important to note that overbought readings are not necessarily bearish. Securities can become overbought and remain overbought during a strong uptrend. Closing levels that are consistently near the top of the range indicate sustained buying pressure. In a similar vein, oversold readings are not necessarily bullish. Securities can also become oversold and remain oversold during a strong downtrend. Closing levels consistently near the bottom of the range indicate sustained selling pressure. It is, therefore, important to identify the bigger trend and trade in the direction of this trend. Look for occasional oversold readings in an uptrend and ignore frequent overbought readings. Similarly, look for occasional overbought readings in a strong downtrend and ignore frequent oversold readings.

Chart 3 shows Yahoo! (YHOO) with the Full Stochastic Oscillator (20,5,5). A longer look-back period (20 days versus 14) and longer moving averages for smoothing (5 versus 3) produce a less sensitive oscillator with fewer signals. Yahoo was trading between 14 and 18 from July 2009 until April 2020. Such trading ranges are well suited for the Stochastic Oscillator. Dips below 20 warn of oversold conditions that could foreshadow a bounce. Moves above 80 warn of overbought conditions that could foreshadow a decline. Notice how the oscillator can move above 80 and remain above 80 (orange highlights). Similarly, the oscillator moved below 20 and sometimes remained below 20. The indicator is both overbought AND strong when above 80. A subsequent move below 80 is needed to signal some sort of reversal or failure at resistance (red dotted lines). Conversely, the oscillator is both oversold and weak when below 20. A move above 20 is needed to show an actual upturn and successful support test (green dotted lines).

Chart 4 shows Crown Castle (CCI) with a breakout in July to start an uptrend. The Full Stochastic Oscillator (20,5,5) was used to identify oversold readings. Overbought readings were ignored because the bigger trend was up. Trading in the direction of the bigger trend improves the odds. The Full Stochastic Oscillator moved below 20 in early September and early November. Subsequent moves back above 20 signaled an upturn in prices (green dotted line) and continuation of the bigger uptrend.

Chart 5 shows Autozone (AZO) with a support break in May 2009 that started a downtrend. With a downtrend in force, the Full Stochastic Oscillator (10,3,3) was used to identify overbought readings to foreshadow a potential reversal. Oversold readings were ignored because of the bigger downtrend. The shorter look-back period (10 versus 14) increases the sensitivity of the oscillator for more overbought readings. For reference, the Full Stochastic Oscillator (20,5,5) is also shown. Notice that this less sensitive version did not become overbought in August, September, and October. It is sometimes necessary to increase sensitivity to generate signals.

## Bull/Bear Divergences

Divergences form when a new high or low in price is not confirmed by the Stochastic Oscillator. A bullish divergence forms when price records a lower low, but the Stochastic Oscillator forms a higher low. This shows less downside momentum that could foreshadow a bullish reversal. A bearish divergence forms when price records a higher high, but the Stochastic Oscillator forms a lower high. This shows less upside momentum that could foreshadow a bearish reversal. Once a divergence takes hold, chartists should look for a confirmation to signal an actual reversal. A bearish divergence can be confirmed with a support break on the price chart or a Stochastic Oscillator break below 50, which is the centerline. A bullish divergence can be confirmed with a resistance break on the price chart or a Stochastic Oscillator break above 50.

50 is an important level to watch. The Stochastic Oscillator moves between zero and one hundred, which makes 50 the centerline. Think of it as the 50-yard line in football. The offense has a higher chance of scoring when it crosses the 50-yard line. The defense has an edge as long as it prevents the offense from crossing the 50-yard line. A Stochastic Oscillator cross above 50 signals that prices are trading in the upper half of their high-low range for the given look-back period. This suggests that the cup is half full. Conversely, a cross below 50 means that prices are trading in the bottom half of the given look-back period. This suggests that the cup is half empty.

Chart 6 shows International Gaming Tech (IGT) with a bullish divergence in February-March 2020. Notice how the stock moved to a new low, but the Stochastic Oscillator formed a higher low. There are three steps to confirming this higher low. The first is a signal line cross and/or move back above 20. A signal line cross occurs when %K (black) crosses %D (red). This provides the earliest entry possible. The second is a move above 50, which puts prices in the upper half of the Stochastic range. The third is a resistance breakout on the price chart. Notice how the Stochastic Oscillator moved above 50 in late March and remained above 50 until late May.

Chart 7 shows Kohls (KSS) with a bearish divergence in April 2020. The stock moved to higher highs in early and late April, but the Stochastic Oscillator peaked in late March and formed lower highs. The signal line crosses and moves below 80 did not provide good early signals in this case because KSS kept moving higher. The Stochastic Oscillator moved below 50 for the second signal and the stock broke support for the third signal. As KSS shows, early signals are not always clean and simple. Signal line crosses, moves below 80, and moves above 20 are frequent and prone to whipsaw. Even after KSS broke support and the Stochastic Oscillator moved below 50, the stock bounced back above 57 and the Stochastic Oscillator bounced back above 50 before the stock continued sharply lower.

## Bull/Bear Set-Ups

George Lane identified another form of divergence to predict bottoms or tops, dubbed “set-ups.” A bull set-up is basically the inverse of a bullish divergence. The underlying security forms a lower high, but the Stochastic Oscillator forms a higher high. Even though the stock could not exceed its prior high, the higher high in the Stochastic Oscillator shows strengthening upside momentum. The next decline is then expected to result in a tradable bottom.

Chart 8 shows Network Appliance (NTAP) with a bull set-up in June 2009. The stock formed a lower high as the Stochastic Oscillator forged a higher high. This higher high shows strength in upside momentum. Remember that this is a set-up, not a signal. The set-up foreshadows a tradable low in the near future. NTAP declined below its June low and the Stochastic Oscillator moved below 20 to become oversold. Traders could have acted when the Stochastic Oscillator moved above its signal line, above 20 or above 50, or after NTAP broke resistance with a strong move.

A bear set-up occurs when the security forms a higher low, but the Stochastic Oscillator forms a lower low. Even though the stock held above its prior low, the lower low in the Stochastic Oscillator shows increasing downside momentum. The next advance is expected to result in an important peak. Chart 9 shows Motorola (MOT) with a bear set-up in November 2009. The stock formed a higher low in late-November and early December, but the Stochastic Oscillator formed a lower low with a move below 20. This showed strong downside momentum. The subsequent bounce did not last long as the stock quickly peaked. Notice that the Stochastic Oscillator did not make it back above 80 and turned down below its signal line in mid-December.

## Conclusion

While momentum oscillators are best suited for trading ranges, they can also be used with securities that trend, provided the trend takes on a zigzag format. Pullbacks are part of uptrends that zigzag higher. Bounces are part of downtrends that zigzag lower. In this regard, the Stochastic Oscillator can be used to identify opportunities in harmony with the bigger trend.

The indicator can also be used to identify turns near support or resistance. Should a security trade near support with an oversold Stochastic Oscillator, look for a break above 20 to signal an upturn and successful support test. Conversely, should a security trade near resistance with an overbought Stochastic Oscillator, look for a break below 80 to signal a downturn and resistance failure.

The settings on the Stochastic Oscillator depend on personal preferences, trading style and timeframe. A shorter look-back period will produce a choppy oscillator with many overbought and oversold readings. A longer look-back period will provide a smoother oscillator with fewer overbought and oversold readings.

Like all technical indicators, it is important to use the Stochastic Oscillator in conjunction with other technical analysis tools. Volume, support/resistance and breakouts can be used to confirm or refute signals produced by the Stochastic Oscillator.

## Using with SharpCharts

As noted above, there are three versions of the Stochastic Oscillator available as an indicator on SharpCharts. The default settings are as follows: Fast Stochastic Oscillator (14,3), Slow Stochastic Oscillator (14,3) and Full Stochastic Oscillator (14,3,3). The look-back period (14) is used for the basic %K calculation. Remember, %K in the Fast Stochastic Oscillator is unsmoothed and %K in the Slow Stochastic Oscillator is smoothed with a 3-day SMA. The “3” in the Fast and Slow Stochastic Oscillator settings (14,3) sets the moving average period for %D. Chartists looking for maximum flexibility can simply choose the Full Stochastic Oscillator to set the look-back period, the smoothing factor for %K and the moving average for %D. The indicator can be placed above, below or behind the actual price plot. Placing the Stochastic Oscillator behind the price allows users to easily match indicator swings with price swings. Click here for a live example.

## Suggested Scans

### Stochastic Oscillator Oversold Upturn

This scan starts with stocks that are trading above their 200-day moving average to focus on those that are in a bigger uptrend. Of these, the scan then looks for stocks with a Stochastic Oscillator that turned up from an oversold level (below 20).

### Stochastic Oscillator Overbought Downturn

This scan starts with stocks that are trading below their 200-day moving average to focus on those that are in a bigger downtrend. Of these, the scan then looks for stocks with a Stochastic Oscillator that turned down after an overbought reading (above 80).

For more details on the syntax to use for Stochastic Oscillator scans, please see our Scanning Indicator Reference in the Support Center.

## Further Study

John Murphy’s Technical Analysis of the Financial Markets has a chapter devoted to momentum oscillators and their various uses, covering the pros and cons as well as some examples specific to the Stochastic Oscillator.

Martin Pring’s Technical Analysis Explained explains the basics of momentum indicators by covering divergences, crossovers, and other signals. There are two more chapters covering specific momentum indicators, each containing a number of examples.

 Technical Analysis of the Financial Markets John J. Murphy Technical Analysis Explained Martin Pring

### Stocks & Commodities Magazine Articles

The Stochastic Oscillator by Joe Luisi
Nov 1997 – Stocks & Commodities

## GET STARTED

Apply for a live account now and you could be trading in minutes

Trading involves significant risk of loss

## GETTING STARTED

New to trading or to OANDA? Learn the basics here.

## CAPITAL MANAGEMENT

Learn to apply risk management tools to preserve your capital.

Learn the skills necessary to open, modify and close trades, and the basic features of our trading platform.

## TECHNICAL AND FUNDAMENTAL ANALYSIS

A trading strategy can offer benefits such as consistency of positive outcomes, and error minimization. An optimal trading strategy reflects the trader’s objective and personal approach.

Fundamental traders watch interest rates, employment reports, and other economic indicators trying to forecast market trends.

Technical analysts track historical prices, and traded volumes in an attempt to identify market trends. They rely on graphs and charts to plot this information and identify repeating patterns as a means to signal future buy and sell opportunities.

## Chapters:

Leveraged trading involves high risk since losses can exceed the original investment. A capital management plan is vital to the success and survival of traders with all levels of experience.

Learn risk management concepts to preserve your capital and minimize your risk exposure. Seek to understand how leveraged trading can generate larger profits or larger losses and how multiple open trades can increase your risk of an automatic margin closeout.

## Chapters:

This page is for general information purposes only: examples are not investment advice or an inducement to trade. Past history is not an indication of future performance.

Execution speed and numbers are based on the median round trip latency from receipt to response for all Market Order and Trade Close requests executed between January 1st and May 1st 2020 on the OANDA execution platform.

Contracts for Difference (CFDs) or Precious Metals are NOT available to residents of the United States.

MT4 hedging capabilities are NOT available to residents of the United States.

The Commodity Futures Trading Commission (CFTC) limits leverage available to retail forex traders in the United States to 50:1 on major currency pairs and 20:1 for all others. OANDA Asia Pacific offers maximum leverage of 50:1 on FX products and limits to leverage offered on CFDs apply. Maximum leverage for OANDA Canada clients is determined by IIROC and is subject to change. For more information refer to our regulatory and financial compliance section.

This is for general information purposes only – Examples shown are for illustrative purposes and may not reflect current prices from OANDA. It is not investment advice or an inducement to trade. Past history is not an indication of future performance.

Leveraged trading in foreign currency contracts or other off-exchange products on margin carries a high level of risk and may not be suitable for everyone. We advise you to carefully consider whether trading is appropriate for you in light of your personal circumstances. You may lose more than you invest (except for OANDA Europe Ltd customers who have negative balance protection). Information on this website is general in nature. We recommend that you seek independent financial advice and ensure you fully understand the risks involved before trading. Trading through an online platform carries additional risks. Refer to our legal section here.

Financial spread betting is only available to OANDA Europe Ltd customers who reside in the UK or Republic of Ireland. CFDs, MT4 hedging capabilities and leverage ratios exceeding 50:1 are not available to US residents. The information on this site is not directed at residents of countries where its distribution, or use by any person, would be contrary to local law or regulation.

OANDA (Canada) Corporation ULC accounts are available to anyone with a Canadian bank account. OANDA (Canada) Corporation ULC is regulated by the Investment Industry Regulatory Organization of Canada (IIROC), which includes IIROC’s online advisor check database (IIROC AdvisorReport), and customer accounts are protected by the Canadian Investor Protection Fund within specified limits. A brochure describing the nature and limits of coverage is available upon request or at www.cipf.ca.

OANDA Australia Pty Ltd is regulated by the Australian Securities and Investments Commission ASIC (ABN 26 152 088 349, AFSL No. 412981) and is the issuer of the products and/or services on this website. It’s important for you to consider the current Financial Service Guide (FSG), Product Disclosure Statement (‘PDS’), Account Terms and any other relevant OANDA documents before making any financial investment decisions. These documents can be found here.

OANDA Corporation is a registered Futures Commission Merchant and Retail Foreign Exchange Dealer with the Commodity Futures Trading Commission and is a member of the National Futures Association. No: 0325821. Please refer to the NFA’s FOREX INVESTOR ALERT where appropriate.

OANDA Europe Limited is a company registered in England number 7110087, and has its registered office at Floor 3, 18 St. Swithin’s Lane, London EC4N 8AD. It is authorised and regulated by the Financial Conduct Authority, No: 542574.

OANDA Japan Co., Ltd. First Type I Financial Instruments Business Director of the Kanto Local Financial Bureau (Kin-sho) No. 2137 Institute Financial Futures Association subscriber number 1571.

OANDA Asia Pacific Pte Ltd (Co. Reg. No 200704926K) holds a Capital Markets Services Licence issued by the Monetary Authority of Singapore.

Best Binary Options Brokers 2020:
• Binarium

The Best Binary Options Broker 2020!
Good for Beginners!
Free Education + Free Demo Account!