Buy order after two conditions from 2 time frames

Forums ProRealTime English forum ProOrder support Buy order after two conditions from 2 time frames

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

    Hello,

    I’m having trouble writing a code with conditions from 2 TF.

    1. Weekly rsi[9] crosses under 30

    and then wait for:

    2. Daily rsi[14] crosses under 20.

    Is that possible?

    #176529

    There you go:

    #176531

    At lines 1 and 4 you can replace UpdateOnClose with Default, not to wait the closing of the candle before updating variables.

    1 user thanked author for this post.
    #176535

    Thank you robertogozzi

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