Relative Strength Indicator with n bars ago

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #224852 quote
    domino
    Participant
    New

    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 quote
    JS
    Participant
    Senior
    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”…

    domino thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Relative Strength Indicator with n bars ago


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
domino @domino Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by JS
2 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/04/2023
Status: Active
Attachments: No files
Logo Logo
Loading...