Adaptive Moving Averag

Forums ProRealTime English forum ProBuilder support Adaptive Moving Averag

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

    I am trying to code a variation of Perry Kaufmans Adaptive Moving Average

    The Equation is AMA= (ER*Close) + (1-ER)*AMA[1]

    It Returns ‘Blank’

    Can anyone help?

     

     

     

    #213254
    JS

    Hi,

    This is how I know the Kaufman filter…

    #213279

    JS

    Thanks for the quick reply.  However I was trying to code the following equation

    The Equation is AMA= (ER*Close) + (1-ER)*AMA[1]

    Where ER is the smoothing constantent dirived from  Perry Kaufman

    I think the problem lies in the second part of the equation!

    Regards

     

    #213293

    Needs at least n data in order to calculate, so embed your code into a barindex count condition:

    #213394

    Thank You Nicolas

    That seems to work

    I have been learning prorealcode for sometime now.  Could you recommend any text that may help me

    I have studied the online manuels plus the Vivian Schmitt ebook but still need more help.

    Regards

    Mark

     

     

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