Calculate Distance Between 2 Moving Averages

Forums ProRealTime English forum ProBuilder support Calculate Distance Between 2 Moving Averages

Viewing 3 posts - 1 through 3 (of 3 total)
  • #149742

    I will begin by opening with the same statement as most people that post here with the old ” I am new to coding & Pro Real Code” :).

    What i I am trying/would like to do is get the distance as a percentage between 2 averages. Im not sure that i am on the right path  as the result is skewed i believe with some outputs being over 100%

    I would have thought that it the distance would likely be less given it is the same candle just 2 different averages derived from it.

    Any help is appreciated.

    #149746

    Try this as line 4:

     

    1 user thanked author for this post.
    #149761

    That Works Roberto,

    Thank you 🙂

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

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