Coding with 2 different time units

Forums ProRealTime English forum ProOrder support Coding with 2 different time units

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

    Hi

    Is it possible to use 2 different time units ?

    for example : Condition 1 Money Flow in 1 Day ..

    condition 2 MACD in 1 week ..

    Thank you.

    Joseph

    #208551

    Yes, we just need to make sure we don’t use the same condition names in both TF’s.

    We can use, for example … CW = xyz //Weekly TF and CD = xyz //Daily TF … my thinking might be a bit awry? Anybody feel free to correct me or add more?.

    When coding, use of the same name in more than 1 Timefame gets an error message.

    1 user thanked author for this post.
    #208569

    When coding, use of the same name in more than 1 Timefame gets an error message.

    Very tiny correction : giving the same variable(-name) a value in more than 1 TF gets an error message.

    1 user thanked author for this post.
    #208571

    Yeah that’s right, thanks Peter!  It didn’t feel right even as I was typing above.

    1 user thanked author for this post.
    #208715

    Yes, there are many examples around. However, you can learn the basis from this topic: First approach to multi timeframe trading with ProRealTime

    #208782

    Thank you so much ,it works perfectly !

    1 user thanked author for this post.
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