CFDs are leveraged products that incur a high level of risk. Know more

What is Technical Analysis

How to trade with Stochastic?

calendar
August 15, 2024
header background

Introduction

Technical Indicators are mathematical formulas calculated from price data to provide traders with some information that cannot be easily shown from the pure prices like momentum and volatility. Indicators have two major classifications trend-following, such as moving averages and bollinger bands, and oscillators like RSI and stochastics.

What is a Stochastic?

A stochastic oscillator is a momentum indicator comparing the current closing price of a security to a range of its prices over a certain period. This is invented by George C. Lane. Stochastic has two types: fast stochastics and slow stochastics. It oscillates around level 50 between 0 and 100. As above 20 called an overbought are and below 20 is called an oversold area. It consists of two lines, K% and D%, as shown in Figure 1.

Figure 1

Types of Stochastic

Fast Stochastics

  • %K = (current close – lowest of range) / (highest of range – lowest of range) 
  • D% = SMA (3) of %K

 Range is how many time periods that stochastics is calculated over. 

Slow Stochastics

  • %K = D% (of the fast stochastics)
  • D% = SMA (3) of %K

Stochastic gives a buy signal when there is a positive crossover between the k% line and D% line and sell signals when there is a negative crossover between the k% line and D% line.

Trading with Stochastic indicator

You cannot use the Stochastic signal alone without considering trend analysis because every market phase has a different trading characteristic. In an uptrend, using Stochastic to time the buy signal will always be the best Stochastic trading strategy, and in a downtrend, using Stochastic to time the short signal.

How to trade using the Stochastic indicator in an uptrend?

During an uptrend, buyers always have control over price movement, and the best stock trades are always around the end of the downward retracement, where the best risk-reward ratio is present. 

In a strong uptrend Stochastic indicator may not reach the oversold area, so when Stochastic has a positive crossover in the zone, 40:20 could be a buying signal, as shown in Figure 2.

Figure 2

 In a Normal uptrend Stochastic indicator may reach an oversold area below 20, so the crossover could be a buying signal, as shown in Figure 3.

Figure 3

When Stochastic moves above level 80, what we call an overbought area in the uptrend does not mean it is an excellent time to sell it means buyers are aggressive, and that might lead to some relief in the price movement due to some profit-taking. So, when Stochastic bounced down from overbought, it is an excellent time to take profits for long positions, not to initiate a new short. 

How to trade using Stochastic indicator in downtrend?

During a downtrend, sellers always have control over price movement, and the best trades are always around the end of the upward retracement, where the best risk-reward ratio is present.

In a strong downtrend Stochastic indicator may not reach the overbought area, so when Stochastic has a negative crossover in the zone, 60:70 could be a selling signal, as shown in Figure 4. 

Figure 4

In a normal downtrend Stochastic indicator may reach an overbought area above 80, so the crossover could be a sell signal, as shown in Figure 5. 

Figure 5

A graph with red and blue lines

Description automatically generated

When Stochastic moves below level 20, what we call an oversold area in the downtrend does not mean it is a good time to buy. It means sellers are aggressive, which might lead to some relief in the price movement due to some profit-taking. So, when Stochastic bounced up from oversold, it is a good time to take profits for short positions, not to initiate a long position. 

How to trade using a Stochastic indicator in sideways movements?

Sideways movement occurs when there is an equilibrium between buyers and sellers, so when RSI bounce down around the overbought area could be a sell signal, and when RSI bounced up around the oversold area, it could be used as a buy signal, as shown in Figure 6. 

Figure 6

What is a divergence using Stochastic? 

Most of the time, the Stochastic indicator follows the price movement, but when it does not, we call this a Divergence which indicates a weakness in the current trend. There are two types of divergence:

1. Positive divergence

It occurs when price make a lower low, but the indicator makes a higher low, it means the current seller exhausted and loses momentum, and a correction might occur, seen in Figure 7. 

Figure 7

2. Negative Divergence

It occurs when price make a higher high, but the indicator makes a lower high, which means the current buyer is exhausted and loses momentum, and correction might occur, as shown in Figure 8.

Figure 8

 

Trading with Stochastic divergence 

A divergence signal is a mean reversion because the trader takes a position opposite to the current trend. For example, when a negative divergence appears in an uptrend short position could be taken, and when a positive divergence appear long position could be taken because divergence is an indication of a short-term correction. Divergence signals have a 1:1 risk-reward ratio but are highly likely. 

Positive divergence trade

When Stochastic shows a positive divergence, wait for any candlestick reversal pattern as a buy signal with stop loss below the candlestick pattern and using BB moving average or 50% retracement level as a target, as shown in Figure 9. 

Figure 9

 

Negative divergence trade

When Stochastic shows a negative divergence, wait for any candlestick reversal pattern as a sell signal with stop loss above the candlestick pattern and using BB moving average or 50% retracement level as a target, as shown in Figure 10. 

Figure 10

How to combine Stochastic and MACD indicators?

We can combine stochastic and MACD to improve the quality of trading signals by using stochastic for entries and MACD as signals filters.

  1. When Stochastic moves above level 80, that indicates a strong uptrend
  2. When stochastics bounces down below level 80, that indicates a downward correction is beginning.
  3. When stochastics has a positive crossover around level 50, that means that correction is over
  4. MACD will be used as a trending indicator, so buying signals will be executed only when the MACD line moves above the signal line

As shown in the Figure 11, an example of using Stochastic with MACD to improve the quality of buy signal.

Figure 11

 

Conclusion

Stochastic is a very useful technical indicator, but it is a secondary indicator that is not used in isolation. It can be used to confirm trend following signals or a mean reversion signal.

Disclaimer: The content published above has been prepared by CFI for informational purposes only and should not be considered as investment advice. Any view expressed does not constitute a personal recommendation or solicitation to buy or sell. The information provided does not have regard to the specific investment objectives, financial situation, and needs of any specific person who may receive it, and is not held out as independent investment research and may have been acted upon by persons connected with CFI. Market data is derived from independent sources believed to be reliable, however, CFI makes no guarantee of its accuracy or completeness, and accepts no responsibility for any consequence of its use by recipients.