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.

Comments

  • markd
    markd 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.

    stockcharts.com/school/doku.php?id=chart_school:scanning: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.