Average a moving averages difference?

Forums ProRealTime English forum ProBuilder support Average a moving averages difference?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #91573

    Hello Everyone,

    I have recently studied the ProBuilder Manual and found it very exciting and helpful. However, I tried to code something and it is giving me an error which I am unable to rectify.

    Here is the code:

    The problem is with the differenceAvg line. I want to get the average of both trendDifference and differencePeriod but unable to do so.

    Can anyone please guide me how to rectify this problem.

    Thanks in advance.

    I also have attached the image.

    Regards,
    Maisam

     

    #91576

    You cannot use AVERAGE as you have done. Simply do this:

     

    #91580

    Another “code help” labelled topic. We should declare it as the only one valid name for topics, it would save me soooooo much time! :devil:

    #91581

    Thanks very much @Vonasi. Very quick reply. Really appreciate it.


    @Nicolas
    – Really sorry about that. I will try to be more careful next time.

    Regards,
    Maisam

    #91582

    Another “code help” labelled topic.

    Ooops….. was going to correct that but forgot to do it after I’d replied!

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

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