I cant get criteria to work

Forums ProRealTime English forum ProBuilder support I cant get criteria to work

Viewing 2 posts - 1 through 2 (of 2 total)
  • #197275

    Attached is my code. It only gives me criteria 1 . Please help

    indicator1 = ExponentialAverage[26](close)
    indicator2 = ExponentialAverage[37](close)[1]
    c1 = (indicator1 > indicator2)

    indicator3 = ExponentialAverage[37](close)[1]
    indicator4 = ExponentialAverage[55](close)[1]
    c2 = (indicator3 > indicator4)

    indicator5 = ExponentialAverage[26](close)
    indicator6 = ExponentialAverage[55](close)[1]
    c3 = (indicator5 > indicator6)

    indicator7 = ExponentialAverage[21](close)
    c4 = (close < indicator7)

    indicator8 = ExponentialAverage[21](close)
    indicator9 = ExponentialAverage[34](close)[1]
    c5 = (indicator8 < indicator9)

    indicator10 = ExponentialAverage[34](close)[1]
    indicator11 = ExponentialAverage[55](close)[1]
    c6 = (indicator10 < indicator11)

    indicator12 = ExponentialAverage[21](close)
    indicator13 = ExponentialAverage[55](close)[1]
    c7 = (indicator12 < indicator13)

    indicator14 = ExponentialAverage[21](close)
    c8 = (close > indicator14)

    x1 = c1 AND c2 AND c3 AND c4
    x2 = c5 AND c6 AND c7 AND c8
    y = x1 OR x2
    SCREENER[y] (y AS “1/2”) //1=bullish, 2=bearish

     

    #197276

    look at this one

     

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login