CCI above -100 for the last year scan?

Hi, is there a way to have a scan where today the CCI is below -100 but every other day for the past year was above CCI -100? Thanks in advance!

Comments

  • markd
    markd mod
    edited June 2020
    You want to use the min( ) function to limit the lower bound of CCI for one year (251 trading days):

    and [CCI(20) < -100]

    and [1 day ago min(251, CCI(20)) > - 100