Coding issue – indicator has been under a certain value a certain days in a row

Forums ProRealTime English forum ProBuilder support Coding issue – indicator has been under a certain value a certain days in a row

Viewing 3 posts - 1 through 3 (of 3 total)
  • #44397

    Hello.

    I have problems to find and write the correct function in my new indicator. I want it to give me a signal when an indicator has been under a certain value a certain days in a row.

    F
    or example:
    When RSI[4] has been < 20 the last four days. Is this possible to do? I would be very glad if there is someone here that could help me.

    Thanks a lot!

    /Christian

     

    #44400

    If you are using for example the daily timeframe:

     

    #44402

    I suggest a different approach:

    In this case 10 periods are scanned and tested if they are consecutive (10 periods aginst constant 10).

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

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