Trading in M1 and buying confition in M30

Forums ProRealTime English forum ProOrder support Trading in M1 and buying confition in M30

Viewing 2 posts - 1 through 2 (of 2 total)
  • #37113

    Hello,

    My algo is running in M1 time frame but I would like to add a buying condition based on the M30 time frame,

    If price> Moving avg [time frame M30] -> buy

    If anyone has any idea how to code that it would be so niiiiice 🙂

    Thanks

    #37197

    I think the best you can do until multi timeframe support comes along is to create an Average that is 30 x the MA period you require.  It is not quite the same thing as it contains all the intermediate values but should be close enough.

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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