This post focuses on customizable Stochastic RSI (StochRSI) 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 RSI Values**

Tags: stochastic rsi scanner, stochastic rsi screener, stochrsi scanner, stochrsi stock screener

```
List symbols
Add Column StochRSI(14) as SRSI
Apply to NSE
```

The scan calculates and displays 14-period StochRSI for all symbols. By default, the RSI is calculated based on the “Close” value.

**OPTION 1**

Below are the StochRSI values listed for multiple periods.

```
List symbols
Add Column StochRSI(14) as SRSI14
Add Column StochRSI(21) as SRSI21
Apply to NSE
```

**OPTION 2**

To retrieve the StochRSI values for the past 3 bars.

```
List symbols
Add Column StochRSI(14) as SRSI
Add Column StochRSI(14) a bar ago as SRSI_1
Add Column StochRSI(14) 2 bars ago as SRSI_2
Apply to NSE
```

**OPTION 3**

An alternative method for calculating StochRSI involves utilizing both the “Stochastics” and “RSI” functions. In this approach, the 14-period StochRSI represents the 14-period Stochastic of the 14-period RSI calculated based on the closing prices. This technique combines these two indicators to derive the StochRSI value.

```
List symbols
Add Column StochRSI(14) as StochRSI
Add Column Stochastic(14,RSI(14)) as StochRSI_Computed
Apply to NSE
```

**Stochastic RSI in Overbought Zone**

Tags: Tags: stochastic rsi above 80, stochastic rsi below 80 and declining, stochastic rsi below 80 and decreasing, stochastic rsi overbought stock screener, stochastic rsi overbought stocks

```
List symbols where StochRSI(14) has been above 80 for the last 3 bars
Add Column StochRSI(14) as StochRSI
Add Column StochRSI(14) 1 bar ago as StochRSI14_1
Add Column StochRSI(14) 2 bars ago as StochRSI14_2
Apply to NSE
```

This scan is designed to identify NSE symbols that meet the following criteria: the 14-period StochRSI has consistently stayed above 80 for the past 3 bars. The output scan report also includes the values of the 14-period StochRSI for the last 3 bars.

**OPTION 1**

If you want to focus on symbols where the StochRSI is only in the Overbought Zone, you can modify the original scan as follows:

```
List symbols where StochRSI(14) > 80
Add Column StochRSI(14) as StochRSI
Add Column StochRSI(14) 1 bar ago as StochRSI14_1
Add Column StochRSI(14) 2 bars ago as StochRSI14_2
Apply to NSE
```

**Stochastic RSI in Oversold Zone**

Tags: stochastic rsi above 20, stochastic rsi above 20 and improving, stochastic rsi above 20 and increasing, stochastic rsi below 20, stochastic rsi oversold, stochastic rsi oversold stocks

```
List symbols where StochRSI(14) has been below 20 for the last 3 bars
Add Column StochRSI(14) as StochRSI
Add Column StochRSI(14) 1 bar ago as StochRSI14_1
Add Column StochRSI(14) 2 bars ago as StochRSI14_2
Apply to NSE
```

This scan is designed to identify NSE symbols that meet the following criteria: the 14-period StochRSI has consistently been below 20 for the past 3 periods. Additionally, the output scan report will include the values of the 14-period StochRSI for the last 3 periods.

**OPTION 1**

If you wish to modify the scan to search for symbols where the StochRSI is only in the Oversold Zone, please make the following changes to the original scan:

```
List symbols where StochRSI(14) < 20
Add Column StochRSI(14) as StochRSI
Add Column StochRSI(14) 1 bar ago as StochRSI14_1
Add Column StochRSI(14) 2 bars ago as StochRSI14_2
Apply to NSE
```

**Overbought with a Declining Stochastic RSI**

Tags: stochastic rsi above 80, stochastic rsi below 80 and declining, stochastic rsi below 80 and decreasing, stochastic rsi overbought stock screener, stochastic rsi overbought stocks

```
List symbols where StochRSI(14) has crossed below 80 after remaining above for 3 bars
Add Column StochRSI(14) as StochRSI14
Apply to NSE
```

This scan looks for symbols where the 14-period StochRSI has recently crossed below the 80 level after having stayed above it for 3 bars. The output scan report also includes the 14-period StochRSI.

**Oversold with an Improving Stochastic RSI**

Tags: stochastic rsi above 20, stochastic rsi above 20 and improving, stochastic rsi above 20 and increasing, stochastic rsi below 20, stochastic rsi oversold, stochastic rsi oversold stocks

```
List symbols where StochRSI(14) has crossed above 20 after remaining below for 3 bars
Add Column StochRSI(14) as StochRSI14
Apply to NSE
```

This scan looks for symbols where the 14-period StochRSI has just crossed above the 20 level after having remained below the 20 level for 3 bars. The 14-period StochRSI is also displayed in the output scan report.

**Stochastic RSI Moving Average Bullish Crossover**

Tags: stochastic rsi crossover, stochastic rsi crossover alert, stochastic rsi moving average bullish crossover, stochastic rsi moving average crossover

```
List symbols where StochRSI(14) has crossed above EMA(3,StochRSI(14)) after remaining below for 3 bars
Add Column StochRSI(14) as StochRSI14
Add Column EMA(3,StochRSI(14)) as EMA3_StochRSI14
Apply to NSE
```

This scan is designed to identify specific patterns in the market. It searches for symbols where the 14-period StochRSI indicator has recently crossed above the 3-period Exponential Moving Average (EMA) of the indicator. Previously, the StochRSI must have remained below the EMA for 3 consecutive bars. The scan report includes the values of the 14-period StochRSI and the Moving Average.

**OPTION 1**

Additionally, we can include an additional filter to check if the StochRSI(14) is still below 20, indicating that the symbol is in an oversold zone.

```
List symbols where StochRSI(14) has crossed above EMA(3,StochRSI(14)) after remaining below for 3 bars
And StochRSI(14)<20
Add Column StochRSI(14) as StochRSI14
Add Column EMA(3,StochRSI(14)) as EMA3_StochRSI14
Apply to NSE
```

**OPTION 2**

To change the Moving Average type, you can replace “EMA” with “SMA” for Simple Moving Average. In the following example, we have replaced “EMA” with “SMA” since it utilizes Simple Moving Average. Moreover, the scan described here is designed to identify crossovers without considering the previous state of the Moving Averages before the crossover.

```
List symbols where StochRSI(14) has crossed above SMA(3,StochRSI(14))
Add Column StochRSI(14) as StochRSI14
Add Column SMA(3,StochRSI(14)) as SMA_StochRSI14
Apply to NSE
```

**Stochastic RSI Moving Average Bearish Crossover**

Tags: stochastic rsi crossover, stochastic rsi crossover alert, stochastic rsi moving average bearish crossover, stochastic rsi moving average crossover

```
List symbols where StochRSI(14) has crossed below EMA(3,StochRSI(14)) after remaining above for 3 bars
Add Column StochRSI(14) as StochRSI14
Add Column EMA(3,StochRSI(14)) as EMA3_StochRSI14
Apply to NSE
```

This scan examines specific symbols to identify a particular pattern: when the 14-period Stochastic Relative Strength Index (StochRSI) crosses below the 3-period Exponential Moving Average of the indicator, following a period of having stayed above it for 3 consecutive bars. The values of both the 14-period StochRSI and the Moving Average are presented in the scan report.

**OPTION 1**

As an additional refinement, we can introduce another filter to verify whether the StochRSI(14) is still above 80, indicating that it is in the overbought zone.

```
List symbols where StochRSI(14) has crossed below EMA(3,StochRSI(14)) after remaining above for 3 bars
And StochRSI(14)>80
Add Column StochRSI(14) as StochRSI14
Add Column EMA(3,StochRSI(14)) as EMA3_StochRSI14
Apply to NSE
```

**OPTION 2**

To change the type of Moving Average, you can easily switch from EMA (Exponential Moving Average) to SMA (Simple Moving Average) or any other MA. In the example provided below, we have replaced EMA with SMA because it uses the Simple Moving Average. Additionally, the following scan searches for a crossover without considering its position before the crossover.

```
List symbols where StochRSI(14) has crossed below SMA(3,StochRSI(14))
Add Column StochRSI(14) as StochRSI14
Add Column SMA(3,StochRSI(14)) as SMA_StochRSI14
Apply to NSE
```

For comprehensive insights into the Stochastic RSI (StochRSI), including its calculation methodology, understanding the Stochastic RSI indicator, how to effectively use the StochRSI indicator in trading, as well as an exploration of its advantages and limitations as an indicator, click here.