This post focuses on customizable Stochastic Oscillator factory scans, which can be edited, modified, or rewritten and then scanned using ChartAlert’s native stock screener or technical analysis scanner, namely the Basic Scanner and Advanced Scanner.
Display Stochastic Oscillator (StochOsc) Values
Tags: stochastic oscillator screener, stochastic oscillator scanner, stochastic indicator screener
List symbols
Add Column Stochastic Oscillator(5,3) as Stoch%K
Add Column SMA(3,STOCHOSC(5,3)) as Stoch%D
Apply to NSE
This scan calculates and displays the Stochastic Oscillator values for all symbols. The numerical parameters 5 and 3 represent the %K time period and %K Smoothing Period respectively. Additionally, this analysis provides the %D value, which corresponds to the Simple Moving Average (SMA) of the Stoch%K value.
OPTION 1
This is a modified scan to retrieve the Stochastic Oscillator values pertaining to the most recent 3 bars.
List symbols
Add Column StochOsc(5,3) as Stoch%K
Add Column StochOsc(5,3) a bar ago as Stoch%K_1
Add Column StochOsc(5,3) 2 bars ago as Stoch%K_2
Apply to NSE
Stochastic Oscillator (STOCHOSC) in Overbought Zone
Tags: stochastic oscillator overbought screener
List symbols where StochOsc(5,3) has been above 80 for the last 3 bars
Add Column StochOsc(5,3) as STOCH%K
Add Column StochOsc(5,3) 1 bar ago as STOCH%K_1
Add Column StochOsc(5,3) 2 bars ago as STOCH%K_2
Apply to NSE
This scan is designed to identify NSE symbols exhibiting a consistent Stochastic Oscillator reading above 80 over the past 3 bars. The output scan report includes the Stochastic Oscillator values for the aforementioned 3 bars.
The numerical values 5 and 3 correspond to the %K time period and %K slowing period, respectively.
OPTION 1
To identify instances in which the Stochastic Oscillator resides in the Overbought Zone, the scan can be modified as given below.
List symbols where StochOsc(5,3) > 80
Add Column StochOsc(5,3) as STOCH%K
Add Column StochOsc(5,3) 1 bar ago as STOCH%K_1
Add Column StochOsc(5,3) 2 bars ago as STOCH%K_2
Apply to NSE
Stochastic Indicator (STOCHOSC) in Oversold Zone
Tags: stochastic oscillator overold screener
List symbols where StochOsc(5,3) has been below 20 for the last 3 bars
Add Column StochOsc(5,3) as STOCH%K
Add Column StochOsc(5,3) 1 bar ago as STOCH%K_1
Add Column StochOsc(5,3) 2 bars ago as STOCH%K_2
Apply to NSE
This scan looks for NSE symbols where the Stochastic Oscillator has consistently remained below 20 over the past 3 bars. The resulting scan report provides a display of the Stochastic Oscillator values observed during the last 3 bars.
The parameters labeled as %K time period and %K slowing period correspond to the numerical values 5 and 3, respectively.
OPTION 1
To identify instances where the Stochastic Oscillator is in the Overbought Zone, the original scan can be modified in the following manner:
List symbols where StochOsc(5,3) < 20
Add Column StochOsc(5,3) as STOCH%K
Add Column StochOsc(5,3) 1 bar ago as STOCH%K_1
Add Column StochOsc(5,3) 2 bars ago as STOCH%K_2
Apply to NSE
Overbought with a Declining Stochastic Indicator (STOCHOSC)
Tags: stochastic indicator overbought and decreasing screener, stochastic oscillator overbought and declining screener
List symbols where StochOsc(5,3) has crossed below 80 after remaining above for 3 bars
Add Column StochOsc(5,3) as STOCH%K
Add Column SMA(3,StochOsc(5,3)) as STOCH%D
Apply to NSE
This scan looks for symbols where the Stochastic Oscillator has recently crossed below the 80 level after being consistently above it for a period of 3 bars. The output scan report includes the Stochastic Oscillator for reference.
The numerical values of 5 and 3 represent the %K time period and %K slowing period, respectively.
Oversold with an Improving Stochastic Oscillator (STOCHOSC)
Tags: stochastic indicator oversold and increasing screener, stochastic oscillator oversold and improving screener
List symbols where StochOsc(5,3) has crossed above 20 after remaining below for 3 bars
Add Column StochOsc(5,3) as STOCH%K
Add Column SMA(3,StochOsc(5,3)) as STOCH%D
Apply to NSE
This scan looks for symbols where the Stochastic Oscillator has recently crossed above the 20 level after having remained below the 20 level for 3 bars. The scan report includes the Stochastic Oscillator display.
The parameters 5 and 3 correspond to the %K time period and %K slowing period, respectively.
Stochastic Indicator Moving Average Bullish Crossover
Tags: stochastic crossover strategy, stochastic crossover screener, stochastic crossover above 20, stochastic bullish crossover, bullish stochastic cross
List symbols where StochOsc(5,3) has crossed above SMA(3,StochOsc(5,3)) after remaining below for 3 bars
Add Column StochOsc(5,3) as STOCH%K
Add Column SMA(3,StochOsc(5,3)) as STOCH%D
Apply to NSE
This scan identifies instances in which the Stochastic Oscillator line has recently crossed above the 3-period Simple Moving Average of the indicator, following a sustained period of having been below it for 3 bars. The output scan report provides both the Stochastic Oscillator and Moving Average values.
The values 5 and 3 refer to the %K time period and %K slowing period, respectively.
OPTION 1
Including an additional filter to verify if the StochOsc(5,3) is still below the threshold of 20, indicating an oversold condition.
List symbols where StochOsc(5,3) has crossed above SMA(3,StochOsc(5,3)) after remaining below for 3 bars
And StochOsc(5,3)< 20
Add Column StochOsc(5,3) as STOCH%K
Add Column SMA(3,StochOsc(5,3)) as STOCH%D
Apply to NSE
OPTION 2
To modify the Moving Average type, one can easily replace “SMA” with “EMA” to indicate the use of Exponential Moving Average. In the provided example below, we have replaced “SMA” with “EMA” to demonstrate the usage of Exponential Moving Average. Additionally, it is important to note that the scan presented here seeks crossovers without considering their position prior to the occurrence.
List symbols where StochOsc(5,3) has crossed above EMA(3,StochOsc(5,3))
Add Column StochOsc(5,3) as STOCH%K
Add Column EMA(3,StochOsc(5,3)) as EMA_of_STOCH
Apply to NSE
Stochastic Oscillator Moving Average Bearish Crossover
Tags: stochastic crossover strategy, stochastic crossover screener, stochastic bearish crossover, stochastic crossover below 80
List symbols where StochOsc(5,3) has crossed below SMA(3,StochOsc(5,3)) after remaining below for 3 bars
Add Column StochOsc(5,3) as STOCH%K
Add Column SMA(3,StochOsc(5,3)) as STOCH%D
Apply to NSE
This scan is designed to identify instances where the Stochastic Oscillator line has recently crossed below the 3-period Simple Moving Average of the indicator, following a period of having remained above it for 3 bars. The scan report provides the Stochastic Oscillator and Moving Average values as well.
The numerical values 5 and 3 represent the %K time period and %K slowing period, respectively.
OPTION 1
Including an additional filter that verifies if the Stochastic Oscillator (5,3) is still above 80, indicating an overbought condition.
List symbols where StochOsc(5,3) has crossed below SMA(3,StochOsc(5,3)) after remaining above for 3 bars
And StochOsc(5,3)> 80
Add Column StochOsc(5,3) as STOCH%K
Add Column SMA(3,StochOsc(5,3)) as STOCH%D
Apply to NSE
OPTION 2
To modify the Moving Average type, one can easily replace SMA with EMA for Exponential Moving Average, or choose any other desired type. In the provided example, the Exponential Moving Average (EMA) has been substituted for SMA. Moreover, it is important to note that the presented scan focuses solely on identifying crossovers without considering their previous positions.
List symbols where StochOsc(5,3) has crossed below EMA(3,StochOsc(5,3))
Add Column StochOsc(5,3) as STOCH%K
Add Column EMA(3,StochOsc(5,3)) as EMA_of_STOCH
Apply to NSE
Bearish Stochastic Divergence
Tags: stochastic bearish divergence, bearish divergence stochastic
List symbols where pattern is Bearish Divergence Stochastic
'Plot StochOsc(14,3)
Apply to NSE
This scan is designed to identify NSE symbols that display a bearish Stochastic divergence. The default settings for this function utilize values of 14 and 3 as the %K time period and %K slowing period, respectively, to identify classic divergences. Divergence is determined by analyzing the high-low range of the price chart, with a minimum requirement of 5 bars.
For hidden divergences, please refer the option below.
OPTION 1
To identify hidden divergence, it is recommended to modify the original scan as shown below. In this case, the closing value of the price chart should be utilized.
List symbols where pattern is Bearish Divergence Stochastic(Hidden, 5, Close)
Add Column StochOsc(14,3)
Apply to NSE
Bullish Stochastic Divergence
Tags: stochastic bullish divergence, bullish divergence stochastic
List symbols where pattern is Bullish Divergence Stochastic
'Plot StochOsc(14,3)
Apply to NSE
This scan aims to identify NSE symbols that demonstrate a bullish Stochastic divergence. By default, the function employs values of 14 and 3 as the %K time period and %K slowing period, respectively, to identify a classic divergence. The divergence is determined based on the high-low range of the price chart, with a minimum requirement of 5 bars.
To explore hidden divergences, please refer the option below.
OPTION 1
To identify hidden divergences, it is recommended to modify the original scan as listed below, taking into consideration the closing values from the price chart.
List symbols where pattern is Bullish Divergence Stochastic(Hidden, 5, Close)
Add Column StochOsc(14,3)
Apply to NSE
For comprehensive insights into the Stochastic Oscillator, including its interpretation, how to use it in trading, as well as an exploration of its advantages and limitations as an indicator, click here.