Coding something happening in the last 5 periods

Forums ProRealTime English forum ProOrder support Coding something happening in the last 5 periods

Viewing 4 posts - 1 through 4 (of 4 total)
  • #40045

    Hi everyone,

    Is it possible to code something happening in the last 5 periods???

    Example:

    IF MM6 Crosses over MM5 (in any of the last 5 candles)  AND close>MM6 THEN

    I am trying to BUY when two or more conditions occur, but in some cases all of them happen within the last 3-5 candles.

    Thanks in advance,

    Juan

    #40046

    This should do it.

    #40059

    Despair,

    Thanks so much for your help. It works the way you said.

    I am learning a lot from these contributions.

    Regards,

    Juan

    #40087

    You may try this one:

    Roberto

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

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