What is the best use of the stochastic oscillator? An excellent question. Let’s start with a simple definition.

*The Stochastic oscillator is a price momentum tool that moves between 0 and 100 and shows when a stock may be overbought or oversold. The Stochastic oscillator compares the current price with the lowest low and the highest high over a period of, usually 14 days*.

The Stochastic oscillator can be set up for any period but the period usually chosen is 14-days, though that could be 14-weeks or 14-months or any other number of periods.

The term Stochastic comes from Greek and means randomness. The oscillator is intended to indicate a change in momentum and relies on a simple set of assumptions.

- When the price is about to break out of a range in a bullish trend, it will close towards the higher end of the price range.
- When the price is about to break out of a range in a bearish trend, it will close towards the lower end of the price range.

### The Stochastic oscillator formula

The Stochastic oscillator is calculated from a simple formula.

Where

- P = The current closing price
- L14 = The lowest low price over the last 14 days
- H14 = The highest high price over the last 14 days

Then

- %K = The Stochastic oscillator current value
- %D = 3-day moving average of %K

There are two versions of the Stochastic oscillator in use, commonly referred to as Fast Stochastics and Slow Stochastics.

### Fast Stochastics

Fast Stochastics uses a display of %K and %D as the 3-day simple moving average of %K. %K, the fast oscillator is shown as one line, and %D is shown as another line.

%K moves faster than %D and quite literally can jump all over the place. Here is what a display of the popular SPDR Standard and Poor’s 500 index tracking ETF, symbol SPY looks like for the period February through 21 April 2020.

Source: PowerE*Trade

I know that was a very volatile period of price movement, which is the main reason I keep coming back to it, but I for one find this very difficult to read. What is more, I would not have a great deal of confidence in any signals that such a display is trying to tell me as the fast black line, i.e. %K is cutting across the slower red line, %D often back and forth every day.

### Slow Stochastics

Most traders use Slow Stochastics. Slow Stochastics is fast Stochastics with both %K and %D subjected to 3-day simple moving averages to smooth them out. There are so many 3-day moving averages in all of this that it is easy to get confused. Here is a table that explains.

Here is a display of the same price chart with the Slow Stochastic oscillator.

Source: PowerE*Trade

If you compare the two displays of the Slow Stochastic with the Fast version, you will see that the slow red line of the Fast version has now become the fast black line on the Slow version.

### Important note

If you do some online research and general reading on the calculations behind the Stochastic oscillator, you may quickly be confused. It sure confused the hell out of me.

There are, – let’s just say inconsistent versions of how the oscillator is calculated in the explanations you will find. Some very prominent sites will tell you that the oscillator displayed is %K and %D and some say %K is the slow indicator and %D is the fast indicator and many talk in imprecise ways about how the 3-day moving average(s) is/are applied.

The clearest explanation I found was in a hard copy reference book, Technical Analysis of the Financial Markets, by John Murphy, available from Books-A-Million.

Murphy clearly explains the two versions: Fast Stochastics uses %K and %D and Slow Stochastics displays 3-day moving averages of the fast versions of %K and %D respectively.

### Price Signals

It is generally accepted that when both the fast and slow lines are above 80 then the price is overbought. When the fast and slow lines are below 20 then the price is oversold. The most useful signals occur when the slow oscillator crosses over the fast oscillator in either the overbought or the oversold areas.

**Buy signal** – a “go long”, or buy signal is generated when both %K and %D are below 20 and the fast line, %K crosses over the %D in an upward direction heading above 20. The indication to close i.e. sell that position happens if or when the %K line crosses back over the %D line irrespective of the value, i.e. whether it is above 20, below 80 or in the middle.

**Sell signal** – a “go short” or short-sell signal is generated when both %K and %D are above 80 and the fast line, %K crosses over the %D in a downward direction heading below 80. The indication to close i.e. buy back that position occurs if or when the %K line crosses back over the %D line, again irrespective of the value, i..e whether it is below 80, above 20 or in the middle.

There are other ways to use the Stochastic oscillator but the above is the most popular and appears to be profitable. Here is what that looks like as a flowchart.

### The Stochastic oscillator in action

Let’s look again at the trading signals from the Stochastic oscillator for the ETF SPY for the period 1 February to 21 April 2020.

Source: PowerE*Trade

Let’s remind ourselves what went on during this period. The SPY, which tracks the Standard and Poor’s 500 index had reached an all-time high of $329.08 on 19 February after a long healthy bull market. The world suddenly woke up to the dangers of the Coronavirus and stock market prices dropped precipitously dragging the SPY to a low of $218.26 on 23 March. After this drop of around 35% from the peak, the price just turned around and headed back up again.

The Stochastic oscillator gave the following signals during this period.

- A sell signal on 20 February at $335.59
- A buy signal on 28 February at $295.87
- A sell signal on 6 March at $292.80
- A buy signal on 24 March at $243.65

### The Stochastic Oscillator and the MACD

For comparison let’s look at what trading signals the Moving Average Convergence Divergence, or MACD gave during this period. For an in-depth look at the MACD, check here.

Source: PowerE*Trade

The MACD trading signals were.

- A sell signal on 21 February at $334.43
- A buy signal on 26 March at $256.61

### The Stochastic oscillator and the ADX/DMI

Let’s also compare with the ADX/DMI trading signals. Here is an article that explains how the ADX/DMI works.

Source: PowerE*Trade

During this period the ADX/DMI gave these signals.

- A buy signal on 4 February at $328.62
- A sell signal on 20 February at $339.59
- A buy signal on 7 April at $270.54

### The Relative Strength Indicator, or RSI

For completeness let’s have a look at one more, the Relative Strength Indicator, or RSI for short. Here is an explanation of how the RSI is calculated and how it works.

Source: PowerE*Trade

I should note here that for consistency I am using the RSI with over-sold levels set at 20% and below and over-bought levels set at 80% and above.

As we found in an earlier comparison when examining the ADX/DMI system, the RSI was sort of halfheartedly trying to give an “almost buy” signal around 28 February. For the trading time frames we are considering here, of a few months this would have been a poor place to enter the market.

### The Stochastic oscillator vs the others

Just considering the ETF SPY for the period we are looking at from 1 February to 21 April 2020, as already said, a period of dramatic price movement, the starting price on 1 February was $322.14 and the closing price on 21 April was $275.00. So over this period, the SPY lost 14.63%.

If we just follow the trading signals from the **Stochastic oscillator **then we would have sold on 20 February at $335.59, so a gain of 4.18%. We would have bought again on 28 February at $295.87 and sold on 6 March at $292.80 so with a loss of 1.04%. We would then have bought again on 24 March right after the low point at $243.65. Assuming that we held through to the 21 April when the price was $275.00 that would have given us a gain of 12.87%. Overall we would have **gained 16.00%**

### The MACD

From the same starting position, comparing this with the trading signals from the **MACD**, we would have sold on 21 February at $334.43 so a gain of 3.82%. We would have bought again on 26 March at $256.61. Again, assuming we held to the end of the period on 21 April at $275.00 would have been another 10.48%, so an overall result of **14.29% gain**.

### The ADX/DMI

Now let’s look at the **ADX/DMI**. The first signal from the ADX/DMI was a buy signal on 4 February at $328.62. But that is pretty weird really unless we were trading on short cycles but for this exercise, we were already in the position. So we would not have acted. Instead, we would have sold at the first sell signal on 20 February at $335.59, and since we started on 1 February at $322.14 that would have been a gain of 4.18%. ADX/DMI would then have us buy again on 7 April at $279.54 and through to 21 April at $275.00 would have meant a gain of 1.65%. So the overall result using the ADX/DMI would have been a **gain of 5.82%**

### The RSI

If we had followed the **RSI**, we would probably just have ridden the whole of the market slide and return out. So out overall result following the **RSI **would have been a **loss of 14.63%**

### A comparison

Here is what the results would all look like side by side.

For this time period, looking at this particular ETF, which is one of the most liquid and high-volume traded equity funds, the Stochastic oscillator actually performed quite well.

Someone who just bought and held for the whole period would have seen a loss of 14.63%. Had that same person used the signals of the Stochastic oscillator that would have been turned to a gain of 16.00%. It is a very limited study but noteworthy even so.

### Practical use of the Stochastic oscillator

Going back to basics, the Stochastic oscillator shows price momentum and can give signals of potential trend reversals. In the example period considered here, the Stochastic oscillator did a pretty good job of foretelling the precipitous price drop and then gave a buy back signal right after the bottom of the market.

### What is the best indicator to pair with the Stochastic oscillator?

To be honest this is a bit of a trick question. Always the best indicator on any chart is the stock price itself. We should always start looking at the price in a chart and see what the price is actually doing at that time.

Also, there isn’t going to be a simple answer to this question. With all the automated trading going on today, if fortunes could be made using a simple off-the-shelf indicator that everyone has access to, everyone would flock to use it and the market would soon take care equalizing all the gains. We would all be back to market level performance, or likely worse before you know it.

Here is another authoritative source on the Stochastic oscillator.

### Answers to some questions

Q. How do you read a stochastic oscillator?

A. When the fast line crosses above the slow line and up into the area above 20, that is a buy signal. When the fast line crossed below the slow line and down into the area below 80, that is a sell signal.

Q. How do you set up a stochastic oscillator?

A. It is best and most usual to set it with 14 periods, the upper range above 80, the lower range below 20, and select, slow, smooth, or 3 and 3 for the moving average settings depending on your platform.

Q. What is the best setting for stochastic?

A. It is best and most usual to set it with 14 periods, the upper range above 80, the lower range below 20, and select, slow, smooth, or 3 and 3 for the moving average settings depending on your platform.

Q. Is stochastic a good indicator?

A. The example we examined here showed that the Stochastic oscillator can successfully indicate price trend reversals.

Q. What are the best technical analysis tools to pair with the Stochastic oscillator?

A. This is a matter of preference. You should always be looking at price movement first. If you are looking for overbought or oversold confirmation, then the RSI is useful. If you are looking for confirmation that price is within a range then Bollinger bands are good. If you are looking for confirmation that a price trend has good momentum, then the ADX/DMI system is worth checking. If you are looking for other indicators to confirm that a price trend reversal is likely, then check the MACD and trading volume.

### Single-page summary

Here is a single-page summary of the Stochastic oscillator you can download as a PDF.

I hope you found this article interesting and useful. Do leave me a comment, a question, an opinion or a suggestion and I will reply soonest. And if you are inclined to do me a favor, scroll down a bit and click on one of the social media buttons and share it with your friends. They may just thank you for it.

**Disclaimer:** I am not a financial professional. All the information on this website and in this article is for information purposes only and should not be taken as investment advice, good or bad.

Affiliate Disclosure: This article contains affiliate links. If you click on a link and buy something, I may receive a commission. You will pay no more so please go ahead and feel free to make a purchase. Thank you!

Oh! This cannot come at a much better time for me. I almost broke my phone today having lost almost 5 trades in a row and I lost almost 15% of my account and that is crazy. Well, probably I would add this to my trading signal entry confirmation oscillators and indicators. Thank you for sharing such a detailed view into this.

Hi and thanks for the comment. I am glad you found it useful and I hope you can claw back your losses. Good luck and best regards, Andy

Wow! this is some pure statistics you have got here.The Stochastic oscillator formula is surely a new one.Best formulae for evaluating stocks. Perhaps the best one that I have been looking for and pretty great for anyone looking forward to becoming a great stock investor. Starting to use this formulae may get you confused indeed without clear explanations. The book is therefore a must.

Hi and thanks for stopping by and leaving your comment. I am glad you found the article instructive. Best regards, Andy

The stochastic oscillator is very useful in both trending and ranging markets as it produces a varied range of signals. A crossover of the Stochastics above the overbought level or if it’s below the oversold level may be more common in a sideways market. Thanks for sharing this awesome article I know it would be of help to a lot of persons.

Hi and thanks for your comment. I have tended to rely more on the MACD than the Stochastic oscillator, but I must say following the research I did for this article I will be looking more frequently at the Stochastic oscillator as well. Thanks again and best regards, Andy

Thank you very much for creating time out to help with some really vial tips. i am still new to forex trading and i have also tried to get involve with some binary trading too. it always seem difficult, but your explanation has made it better. i will be able to do better with this.

Hi and thanks for your comment. I am glad you found the article informative. Best regards, Andy

Thank you for sharing a lovely, informative article with us. The chief item of this article is the Best to use of the Stochastic oscillator. It is truly amazing that you covered this subject so well in your post. I’ve learned a lot from reading your post and gained a lot of knowledge about it. I like Technical Analysis of the Financial Markets of the points in your article. If you want to know about financial markets, you must read this book first because there are many details that will help someone to understand financial technical analysis. This is why I bought this book and learned a lot about the financial markets from here.

Hi and thanks for the comment and the positive feedback. I am glad you found the article useful. Best regards, Andy

This is a very good tool that is worth it and showing us here all about he stochastic oscillator. I like the way the whole thing works and I also like that one can use it on stocks and get good gains back. I’m sure it really is worth the try and I should give it a go for my own self too. Thank you for sharing this information.

Hi and thanks for your comment. I am glad you found it interesting and yes, the particular example chosen shows that the Stochastic oscillator can work well. Best regards, Andy

Hello there! I find this is an amazing review you have here. I am sure this information will be of great assistance to anyone who comes across it as it was to me. In my opinion, For open buy and open sell signals, the Stochastic setting I found to work well were 14, 3, 3. The higher the time frame, the better, but usually, I found that a 4 hour or a daily chart seemed to be the optimum for day or swing traders. Thanks

Hi and thanks for the comment and for the tip. I use E*Trade and the settings I have are for the period, the upper and lower ranges, and whether smoothing is applied or not. Other platforms may present the settings in a different way but it should boil down to the same thing. Thank again and best regards, Andy

Hello there!

That is an amzing bad investment advice you have there in that article. I have never heard of stochastic oscillator befpre but now I;m glad to come across this article and know what it means and also know the best use of it. I hope the whole helpful informations in that article help people to avoid and stay away from bad investments.

Thanks.

Hi and thanks for your comment. Best regards, Andy