Site icon INDZARA

Stochastic Indicator – Technical Analysis – Stock Market

Stochastic Excel Template

In this article, we will be discussing the Stochastic technical indicator that is used to analyze stock performance.  

I will provide

Stochastic Technical Indicator in Excel

What is Stochastics Indicator?

The Stochastics indicator was created by George Lane. According to him, Stochastics measures the momentum of price.

“Stochastics measures the momentum of price. If you visualize a rocket going up in the air – before it can turn down, it must slow down. Momentum always changes direction before price”

Stochastics is made of two lines %K and %D.

How to calculate Stochastics Indicator?

%K = SMA ( (Current Close – Lowest Low) / (Highest High – Lowest Low) x 100, Smooth K)

Most used period is 14.

%D = SMA(%K, Period D)

Period D is the number of periods used for calculating the simple moving average. Default value is 3 periods.

Trading Signals

Overbought conditions are when the Stochastic Oscillator crosses the upper threshold.

Oversold conditions are when the Stochastic Oscillator crosses the lower threshold.

The default thresholds are 20 for oversold and 80 for overbought.


The following is an example signal strategy

  1. Buy when the %D drops below the Minimum threshold (20 by default)
  2. Sell when the %D exceeds above the Maximum threshold (80 by default)
How Stochastic indicator is calculated

Stochastic Indicator Excel Template

The template will help you create the Stochastic indicator automatically and calculate the trading signals instantly for any stock.

Stochastic Technical-Indicator-in-Excel

The lighter blue dashed line indicates the Closing price. The Blue line indicates %K and the Orange line the %D. The shaded area represents the band from the minimum threshold (20) to the maximum threshold (80).


Video Demo


To pull live Stock data from the services you would need Microsoft 365 Subscription Plans for PC and Web

How to create Stochastics Indicator in Excel?

Type in a stock sticker symbol on the top left.

Input stock symbol

If Excel does not recognize your stock symbol, it will pop up this data selector box.

Select the Stock

You can select the stock you are interested in.


The template can pull up to 5 years of price history by default. You can choose how much history to display on the chart easily using the slicer buttons.


The options are 5 Days, Month Till Date, 1 Month, 3 Months, 6 Months, Year Till Date, 1 Year, 5 Years.


The template allows price history at 3 different intervals.


Daily/Weekly/Monthly are the options.

Input Parameters

RSI Input parameters
Minimum and Maximum thresholds

The chart will update automatically based on all the above inputs.


The template shows two types of signals (Buy, Sell) on the chart.

Stochastic Indicator with Trading Signals

The following rule generates the signals.

In addition, if the latest day has a signal, it will be displayed below the current price.

Stochastic Technical Indicator – Stock Price


On the top right you can see the maximum of the last trade time of these currencies.

The default time that Microsoft provides is UTC.  The offset is set to -7 hrs, to convert to pacific time zone.

You can modify this if you need the time in a different time zone.

Visit to view offset.

How to refresh data?

How to refresh Stocks data


Stochastic – TradingView

For more Excel Templates for Stock Market, visit


Please share your feedback on this template in the Comments below. If you find this useful, please share with your friends who may benefit from this content.

Exit mobile version