New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Can I build a scan where the maximum RSI over xxdays <60 but today's RSI >60

I'm studying the work of Andrew Cardwell and want to build a scan that looks back in time (example 160 days) where the maximum RSI has been under 60 but today has broken above 60.


  • markdmarkd mod
    edited May 2016
    Eventually, you will want to be able to write these scans yourself. It takes a little time to learn, but is well worth it.

    Here is a link to a scan building tutorial.

    There are several other useful pages and videos as well - look under the Support tab, or the "Instructions" link on the Advanced Scan workbench page at the very bottom left.

    In the meantime, here is your scan:

    // begin RSI crosses above 60 scan

    // choose stocks to look at (customize this to your requirements)

    [group is sp500]

    // specify conditions to look for

    // RSI crosses above 60

    and [RSI(14) x 60]

    // RSI has been under 60 for the past 160 bars BEFORE today

    and [ 1 day ago max(160, RSI(14)) < 60]

    // end RSI x 60 scan

    In the current market, this seems to get no hits. You will see if you shorten the 160 max period, you will get hits, so the scan is OK.
  • Thanks. It works after I shortened my period.
Sign In or Register to comment.