RSI Overbought OR Oversold scan

Filter stocks that are either overbought(crossed below 70) OR oversold(crossed above 30) in a single scan.

Video for overbought OR oversold stocks

Steps to find Overbought OR Oversold stocks:
  1. As we want to filter stocks that have filtered either of the filters(overbought or oversold filter), click on the ‘All’ keyword, and change it to ‘Any’ from the first sub-filter.
  2. Click on the funnel() and select the RSI indicator from the pull-down menu.
  3. Select the offset(Latest) and specify the duration (which is by default 14 days for RSI). You can change both the offset and the duration as per your requirements by clicking on them.
  4. Click on the next icon(…) and select the ‘Crossed above’ operation, as we want to find out the oversold stocks crossing above 30 (meaning RSI having a value below 30 for the past day but above 30 for today).
  5. The number constant selected by default is 50, which is changed to 30 for oversold stocks.
  6. Repeat steps 2-5 for a “crossed below” operation & comparing it against a value of 70
  7. Run the scan by clicking on ‘Run Scan’ button.

 

RSI Oversold scan

List stocks that have their RSI(14 day) change its zone from “below/equals” 30 yesterday to “above’ 30 today(crossed above 30), indicating they are likely to see an upmove ahead.

Steps to find Oversold stocks:
  1. Click on the funnel() and select the RSI indicator from the pull-down menu.
  2. Select the offset(Latest) and specify the duration (which is by default 14 days for RSI). You can change both the offset and the duration as per your requirements by clicking on them.
  3. Click on the next icon(…) and select the ‘Crossed above’ operation, as we want to find out the oversold stocks crossing above 30 (meaning RSI having a value below  30 for the past day but above 30 for today).
  4. The number constant selected by default is 50, which is changed to 30 for oversold stocks.
  5. Run the scan by clicking on ‘Run Scan’ button.

 

RSI Overbought scan

List stocks that have their RSI(14 duration) change its value from “greater than/equals” 70 yesterday to “below” 70 today(crossed below 70), indicating they are likely to see some downside ahead.

Steps to find Overbought stocks:
  1. Click on the funnel() and select the RSI indicator from the pull-down menu.
  2. Select the offset(Latest) and specify the duration (which by default is 14 days for RSI). You can change both the offset and the duration as per your requirements by clicking on them.
  3. Click on the next icon(…) and select the ‘Crossed below’ operation, as we want to find out the overbought stocks crossing below 70 (meaning RSI having a value above/equal 70 for the past day but below or equal to 70 for today).
  4. The number constant selected by default is 50, which is changed to 70 for overbought stocks.
  5. Run the scan by clicking on ‘Run Scan’ button.

 

Scanner User Guide

The enclosed information will help you develop the skills and knowledge to create, understand, and run custom scans for technical & fundamental indicators. While reading this guide, we suggest having our scanning tool open in another window to apply the demonstrated steps, which would help you create your unique custom scans.

New! Video Tutorials

More video tutorials by “Fun Techni.”
More video tutorials by “Samco Securities.”
  1. Introduction
  2. Filter components
  3. Examples
  4. Fundamentals Scans
  5. Frequently Asked Questions (FAQ)

Introduction-

Chartink scanner offers unparalleled flexibility to deliver custom, accurate, and fast stock scans. Chartink’s scanner is a powerful tool that enables you to scan stocks based on the technical levels and indicators you have developed through your experience with stock markets and technical analysis. Some examples of what you can do with the scanner include listing stocks that have crossed the 200-day moving average, have RSI values greater than 70, or have the Highest volume, and many more.
The scanner allows you to customize technical (e.g., RSI, MACD, breakout..) and fundamental parameters (e.g., P/E, book value..) to suit your needs.

Filter components

Sample filter; shows close above 500

A scan comprises several filters, which can be added by clicking on the filter icon.

A scan with a single filter appears as follows:

The scan, besides filters stocks whose “close is greater than 500”, notice the interface relates closely to our English language grammar –


 Stock attributes
Add “Stock Attribute”

Relates to the open, high, low, close, and volume are always prefixed by an offset that indicates whether you are looking for the current candle Value, a value of the previous candle, or a specific number of candles ago, applies to all timeframes, such as daily, Intraday, weekly, monthly.

Steps performed to add “Close” as a filter attribute. Notice the “Offset” component automatically added.


Offsets
Modify “Offset”

Relate to the timeframe for the indicator for the current or prior candle; often, you’d want to compare the values of a specific component from one day to another, like, referring to the RSI value of today & comparing it against the RSI value 10 days ago.

Offsets allow you to add this flexibility to your analysis, enabling you to compare components from days before the most recent trading day. This can be useful when conducting trend analysis or identifying potential opportunities in the market.

 

For example, you may want to identify stocks that have closed above their previous day’s close.

Hint: An offset is automatically added once you select a stock attribute or an indicator defaulting to “Latest” (current daily candle). To change, click on it(latest).


Number constant:
Number constant

Hard-coded numbers are fixed/constant values. To create filter, you can use comparison operators (like greater than or less than) or math operations (+,-,/,** *) to create a filter.

Number constants don’t have an offset, which means their Value stays the same no matter when you’re looking at it. That’s different from variables or other data points that might change depending on different conditions or inputs.
An example is highlighting the “number 60” as the number constant.

Indicators:
Indicator filter

You can add multiple indicators, such as SMA, RSI, MACD, and ADX, and perform various computations on them to filter stocks.

Most indicators require a parameter for their computations, and Chartink automatically sets a default value for the parameter when you add the indicator (shown in brackets).

You can easily change any indicator’s parameter(clicking on it) to suit your needs.

Adding SMA as an indicator(to the first line), notice the parameter for SMA i.e (close, 20), signifying the computations to be on the “close” stock attribute for the past 20 days.

Hint: If an “Indicator” requires multiple parameters, they are separated by a comma, e.g., “(close, 20)” here.


Operations:

After adding a “stock attribute” or “indicator”, you may want to perform operations on them to compare them or use them in your custom criteria. These operations allow you to link indicators and other filter components together to create more complex criteria. For example, you may want to compare an indicator value to a number constant or add two indicators together.

The format for linking operations with other filter components is as follows:

indicator operation(greater than/less than) number constant ....
stock attribute operation(equals) indicator ....
number constant operation(*, /, +, -) number constant operation(less than) indicator ...

An operation can be performed by clicking on the icon. “Also, multiple operations can be performed for a single filter.


Types of operations:

Arithmetic:

To construct more advanced scans, you can use arithmetic operations (add, subtract, multiply, divide) on filter components. This allows you to create scans for stocks that have gained a certain percentage today (e.g., 5%). The example below shows a scan that uses two operations, one of which is an arithmetic operation (*), to filter stocks that have experienced a gap up or gap down. Here is an example scan.

Close > 1 day ago by 3%
Comparison:

Probably the most common operation you’d use, as every valid scan requires a comparison among 2 filter components. A single filter can have only a single comparison. In the below snippet, the “greater than” operation denotes the relation between the 2 stock attributes(close & open) & filters stocks that have a “Close” greater than a stock’s “Open.”; here is an example scan.

Close > Open
Crossovers:

Often you’d want to filter stocks based on certain breakouts, which can occur when a stock closes below a certain value yesterday but closes above it today (signifying a crossover). [Value here refers to any indicator or stock attribute.] here is an example scan.

Close crossed above SMA20

The above would filter Stocks that closed below the 20- day SMA yesterday but today it closed above the 20-day SMA (crossing over from below).

Steps to add operations to a stock attribute:

To filter stocks that are closing above 5,000, you can perform the following operation:

Operation filter


Steps to create the scan

  1. Select the ‘Add a filter’ option from the menu.
  2. Choose the ‘Close’ attribute from the list of available stock attributes.
  3. Select the ‘Greater than’ comparison operation.
  4. Enter the Value of 5,000 in the constant number field.

Multiple Filters & Filter Behavior:

Normally you’d want to have multiple filters specified in a single scan. To add more than a single filter again, click on the filter icon and select a new filter to add.

Operation “passes ANY”

i.e., You can change the filter’s behavior within a scan to achieve an AND or an ANY condition or even have it fail a certain filter within your scan.


Sub-filters/Grouped filter:

Sometimes it may be necessary to group filters and their behavior to create more complex criteria.

Multiple Filters

In this scenario, we can see that the main group condition passing is “latest close > 200”. This condition is a must. 2 sub-filters or sub-groups are created after that, out of which the scan passes any 1 of the 2 groups along with the main condition “latest close > 200”. You can see the sub-groups are highlighted and are being passed in a “Passes Any” join.

Scan for EMA 20 with volume OR close crossing EMA 20 where RSI above 70


Functional Filters(Min/Max):

The Min and Max filter components are unique because they accept other filter components as parameters. These functions are useful for calculating the highest or minimum values over a specified number of days. These functions take two parameters, as follows:

  1. Period – Denotes the periods over which this function shall perform its computations.
  2. Measure(stock attribute, indicator) – Denotes the measure against which the computation shall be performed.
Multiple Filters

To identify stocks that have reached their 52-week High on a given day, the Max(period, measure) function can be used.

After selecting this function, its required parameters will be automatically added. These parameters can be modified by clicking on them; in this case, they should be changed to 252 and High.

The measure selected, in this case, High is used to identify stocks at their 52-week High, which consists of 252 trading days.

This allows for identifying stocks that have reached this milestone on the specified day(latest).


Examples with scans –

We’ve compiled a few examples to help you design your custom scans. Click here to view more example scansYou can also browse through the scans created by other users here.

Overbought filter:

List stocks that have RSI(14 days) changed their zone from below 70 yesterday to above 70 today, indicating they are likely to see entering to overbought zone. Here is an example scan.

Overbought stocks
Oversold filter:

List stocks that have RSI(14 days) changed their zone from above 30 yesterday to below 30 today, indicating they are likely to see entering the oversold zone. Here is an example scan.

Oversold stocks
Gap-up filter:

Listing stocks with an open greater than 3% of yesterday’s close. If a stock closed at 100 INR yesterday, Its open today should be greater than 103, denoted by “1 day ago Close * 1.03”. Here is an example scan.

Gap-down filter:

Listing stocks with an open of less than 3% of yesterday’s close. If a stock closed at 100 INR yesterday, Its open today and should be less than 97, denoted by “1 day ago Close * 0.97”. Here is an example scan.

List gap-down(-3%) stocks
Bullish stocks filter:

Often a crossover of 50-day SMA over 200-day SMA is treated as a bullish signal. Here is an example scan.

SMA50 crosses above SMA200

FUNDAMENTAL SCANS

Examples and usage of fundamental filters can be found here.

Frequently Asked Questions –

Kindly refer to our FAQ  page for further queries. If you have any suggestions/doubts, kindly contact us.

We hope that this guide provides a solid foundation for creating custom scans and helps you make informed trading decisions.