Moving averages clustering

Forums ProRealTime English forum ProOrder support Moving averages clustering

  • This topic has 8 replies, 5 voices, and was last updated 6 years ago by avatarLeo.

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • #75044

    I posted this previously in the wrong section – see below if anyone can assist?

    Does anyone know how to program up a clustering of moving averages.

    I.e. I don’t want to take a trade if for example the following moving averages are within X pips together

    MA(5)

    MA(20)

    MA(50)

    MA(100)

    MA(200)

    Any assistance would be appreciated.

    Thanks

    #75053

    I have deleted your identical post in the Platform Support forum.

    #75056

    Not tested

     

    1 user thanked author for this post.
    #75065

    Added to here Snippet Link Library

    2 users thanked author for this post.
    #75083

    Awesome, that works perfectly! thank you

    #84382
    Leo

    Hi.

    Have someone tried to implement this in a robot?

    Like entry if close > maxMA?

    Thanks in Advace

    #84397

    I never tried, but it can be worth trying.

    #84399

    This is some quick code (see attached pic):

     

    1 user thanked author for this post.
    #84402
    Leo

    Looks awesome!

    Thanks!

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

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