Need help programming RSI without wilderaverage function

Forums ProRealTime English forum ProBuilder support Need help programming RSI without wilderaverage function

Viewing 6 posts - 1 through 6 (of 6 total)
  • #156086

    I need help programming an RSI without the pre-existing “wilderaverage” function. The reason is that i have a few ideas about altering the relative strength formula. I have tried to do this myself but have not been successful.

    #156092

    Here’s the code, you can change it as best suits you:

     

    #157389

    Thank you robertogozzi for that answer.

    I have tryed to apply a golden ratio multiplier of 1.618 to all closing prices that go in to the formula but no mather how i write this code it just dosen’t seem to work. The program ignores the multiplier (1.618) and displayes regular RSI instead.
    Do you have any idea of what it is i’m doing wrong, or is it simply not possible to apply a multiplier to the Prorealcode Wilderaverage function?

    Here is my code:

     

    #157395

    It shouldn’t change anything.

    If you have 14 closing prices RSI returns some data, If you multiply those prices for wahtever number you want RSI will always return the same result.

    Example:

    no matter if you multiply each number by two or else, the result will be the same (11.5):

     

     

    1 user thanked author for this post.
    #169979

    Oh, now i understand, thank you 🙂

    I have another question.
    Is it possible to change the smoothening/dampening of RSI in pro realcode?

    #169986

    Smoothing any indicator means applying an average to it. So a smoothed RSI is quite simple:

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

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