EMA, WEIGHTED AND WILDER AVERAGES CODE

Forums ProRealTime English forum ProBuilder support EMA, WEIGHTED AND WILDER AVERAGES CODE

Tagged: ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • #61487

    Hello guys!

    I need the probuilder codes of the EMA, WEIGHTED and WILDER averages.

    Does anybody knows them?

    Thanks in advance

    Max

     

    #61504

    Proprietary software is usually undisclosed, you may try to apply PRT but I don’t think you’ll get any useful help (it would be odd if they did!).

    You may search this forum for versions that you may modify to suit your needs.

    You may also search the web for the formulas and build them on your own.

     

    #61509

    Hi Roberto, yes I know probuilder indicators codes are not available, actually I was asking if anyone has programmed on it’s own the codes of the 3 averages to be able to modify them.

    Overall to use them as daily filter on the intraday timeframes.

    Max

    #61519

    Exponential moving average code:

     

    #61520

    Wilder Moving Average code:

     

    1 user thanked author for this post.
    #61630

    Thanks so much Nicolas!

    Don’t you have also the weighted average?

    Maxx

    #61635

    I recoded them from scratch, don’t have time enough to code the last one yesterday. I’ll try to make it today.

    #61638

    Weighted Moving Average code:

    All is good now 🙂

    1 user thanked author for this post.
    #61679

    Great job Nicolas! thanks so much!

    Maxx

    #153814

    Hello Nicolas 🙂 Thanks for the codes ! It’s really useful

    I’m wondering something about the wilder moving average code, on this line:

    I understand it’s a sophisticated way to make a loop,

    at the first iteration of the loop, i guess wilder is undefined, so “wilder[1] * (1-K)” should equals to “undefined * (1-K)”

    so my guess is that it is equal to 0 on the first iteration

    am I right ?

    #153816

    Indeed, so you can add this line at the top of the code in order to get a value for the first iteration of the loop:

     

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

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