RRC Stock Screener – Example 8: Present in a particular quadrant with NIFTY500 as the underlying benchmark Index

Sectoral Rotation, or Relative Rotational charts, are a powerful visual tool in assessing how different sectors compare in terms of their relative strength and momentum; it’s easier to spot stronger and weaker sectors, thus highlighting possible changes in market leadership and trends in asset performance

5 minutes

This functionality, pertaining to Relative Rotational Charts (RRC), was introduced in October 2023.


Scan #8:
Look for stocks that are currently present in a particular quadrant while using the NIFTY500 Index as the underlying benchmark Index

List symbols where 
pattern is RRCQ2(NIFTY500)

Add Column RSRATIO(NIFTY500) as RSR
Add Column RSMOMENTUM(NIFTY500) as RSM
Add Column RRCSTATUS(NIFTY500) as Status
Add Column RRCSTATUS(NIFTY500) a bar ago as PvsStatus
Add Column RRCQUADRANT(NIFTY500) as Quad chart
Add Column RRCQUADRANT(NIFTY500) a bar ago as QuadYest chart

Apply to NIFTYTOTAL

Purpose of the Scan

The purpose of this scan code is to find and list the symbols of stocks that are currently present in a particular quadrant (“RRC Q2”).

The stocks that will be scanned are those that make up the NIFTYTOTAL Index.

The underlying benchmark Index that will be used to compute the relative strength and relative momentum of these symbols will be the NIFTY500 Index.



Lines 1 and 2

List symbols where 
pattern is RRCQ2(NIFTY500)

The part (“List symbols where …“) tells the scan code to start looking for stocks that meet certain conditions.

The specific condition the scan code will look for is if the stocks fall into a RRC quadrant called “RRCQ2” (“pattern is RRCQ2(NIFTY500)“).

“RRCQ2” represents a quadrant called “RRC Q2,” where you can find “Leaders.” These are stocks that have shown positive relative strength, meaning they perform better than the benchmark index (“NIFTY500” in this context), and they also have positive relative momentum.

In simpler terms, this scan is looking for stocks that are strong performers with positive momentum.


Line 3

Add Column RSRATIO as RSR

This line instructs the scan to create a column (“Add Column“) called “RSR” and list the values of the “RSRATIO” function into it. This is done to make it easier to work with the RSRATIO data.

The column title “RSR” can be modified or personalized to your preference.


Line 4

Add Column RSMOMENTUM as RSM

Similarly, this line creates a column (“Add Column“) called “RSM” and copies the values of the “RSMOMENTUM” function into it. Again, it’s for convenience and analysis.

The column title “RSM” can be modified or personalized to your preference.



Line 5

Add Column RRCSTATUS as Status

Here, a new column called “Status” is added (“Add Column“), and it contains information related to the stocks’ status or condition (“RRCSTATUS“) in the context of a Relative Rotational chart’s (RRC) scatter plot.

The column title “Status” can be modified or personalized to your preference.


Line 6

Add Column RRCSTATUS a bar ago as PvsStatus

This line creates another column (“Add Column“) called “PvsStatus” and lists values of the “RRCSTATUS” function from one bar ago (“a bar ago“) into it. It helps in comparing the current status with its previous status.

The column title “PvsStatus” can be modified or personalized to your preference.


Line 7

Add Column RRCQUADRANT as Quad chart

A new column named “Quad” is created (“Add Column“), and it contains information related to the stocks’ status or condition (“RRCQUADRANT“).

The “RRCQUADRANT” function helps us figure out which quadrant a symbol falls into on the Relative Rotational chart (RRC), and it gives us one of the labels like “Q2” (which is the same as LEADERS) or “Q4” (which is the same as LAGGARDS) to describe its position.

The function “chart” allows the RS-RATIO and RS-MOMENTUM indicators to be plotted an the chart should you open a symbol’s chart from within the scan results report.

The column title “Quad” can be modified or personalized to your preference.


Line 8

Add Column RRCQUADRANT a bar ago as QuadYest chart

This one creates a column (“Add Column“) called “QuadYest” and displays values of the “RRCQUADRANT” function from one bar ago (“a bar ago“) into it. This allows for comparisons between the current quadrant and the one from the previous bar.

The function “chart” allows the RS-RATIO and RS-MOMENTUM indicators to be plotted an the chart should you open a symbol’s chart from within the scan results report.

The column title “QuadYest” can be modified or personalized to your preference.


Line 9

Apply to NIFTYTOTAL

Finally, the “Apply to …” function specifies the scan to be applied to a specific group of stocks that make up the “NIFTYTOTAL” Index.


The Scan Report in ChartAlert

%d