Relative Strength Indicator with n bars ago

Forums ProRealTime English forum ProBuilder support Relative Strength Indicator with n bars ago

  • This topic has 1 reply, 2 voices, and was last updated 11 months ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #224852

    Hi, I am testing relative strength indicators available in PRT.V12. I found two of them: Mansfields’ Relative Strength and Relative strength (Comparison).

    Based on my testing, Mansfields one will give the average ratio (stock / index) of last n bars, while Comparison one will give ratio difference between current bar to last bar (diff = ratio(t) – ratio (t-1)).

    I would like to check if it is possible to set Relative strength (Comparison) calculation to previous n bar instead of last bar ? (e.g If I want to compare the performance of 5 bars ago diff = ratio(t) – ratio (t-5))

    Or if this can be achieved using PRT custom code?

    Any help and advices are appreciated.

    Thank you.

    #224903
    JS

    Hi @domino

    The code of these internal indicators is not public…

    In principle, comparing instruments is not possible (for us) in ProRealCode…

    There are some possibilities in ProScreener using “EquityFrame”…

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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