Docs

ITMScript

Screen a list of symbols

List the symbols in a set whose RSI is below a level, with the RSI and the 20 bar return, sorted weakest first.

List the symbols in a set whose RSI is below a level, with their RSI and their return over 20 bars. Screens are in beta. Their columns and options may still change.

itm
//@itmscript 2
study("Weak RSI screen", overlay=false)
len = input.int(14, "RSI length", min=2, max=100)
level = input.float(40, "RSI below", min=10, max=90)
reading = ta.rsi(close, len)
screen([NVDA, AMD, AVGO, INTC, QCOM, MU, TXN, ADI], reading < level, "Weak RSI", rsi=reading, ret20=ta.ret(close, 20), sort=rsi, limit=10)

What you see

The study gives a table with one row for each symbol that passes the condition. A row has the symbol, the RSI and the 20 bar return. The weakest RSI is first and the table holds at most 10 rows. A screen reads daily bars, so open it on a daily chart.

Inside a screen, close is the daily close of the symbol in that row. A screen is a study by itself and may not sit beside a plot.

Change these inputs

  • RSI length. The window of the RSI, from 2 to 100 bars.
  • RSI below. The level a symbol must be under to appear, from 10 to 90.

The symbols are written in the script. Edit the list in square brackets to screen other symbols. A list holds at most 64.