CCI screener programming

Forums ProRealTime English forum ProScreener support CCI screener programming

Viewing 6 posts - 1 through 6 (of 6 total)
  • #167603

    Hi,

    I am trying to build a scan for the CCI. I want to know when the CCI(11) goes below -100, within the last 15 days on a daily basis.

    Can someone help me with the programming?

    TIMEFRAME(daily)

    Condition1 = CCI[11] Close < -100

    I have no idea how to program for it to look at the previous 15 days.

     

    Thanks,

    #167605

    That’s the line to accomplish what you want:

    if Condition1 > 0 then it’s true.

     

    #167657

    Hi Robert, thanks for the code.

    I am having difficulty concentrating today as my wife is working from home and keeps talking on the phone.

    Can you post the whole code as my mind is like quicksand this morning.

    I am guessing that the CCI[1] was supposed to be CCI[11].

    #167658

    My fault, yes [1]  should have been [11]:

    it will show the number of occurrences within the last 15 days.

     

    #175589

    Hi again,

    Is it possible to set this up on a long timeframe such as a monthly? I tried to just alter the timeframe but it didnt seem to like it. If its not possible, is it able to be programmed as a weekly using a 4 bar period?

     

    1
    2
    3
    4
    Timeframe(Daily)
    Condition1 = summation[15](CCI[11] < 100)
    Timeframe(Default)
    SCREENER[Condition1](Condition1 AS “No.”)
    #175590

    The monthly TF is not supported by ProScreener.

     

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

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