display CAGR* on line or channel ? (one-year growth equivalent)

Forums ProRealTime English forum ProRealTime platform support display CAGR* on line or channel ? (one-year growth equivalent)

Viewing 4 posts - 1 through 4 (of 4 total)
  • #243990

    Hi,

    I wondered if any PRT object would display the one-year growth rate for a line or channel ? Many thanks !

    To make things fully explicit, I would expect the following calculation, as an example :

    • for a price moving from 2,0 to 4,0 in 30 days, displayed in a PRT window over 1 quarter;
    • a line (or channel) joining the first day (price 2,0) to the last day (4,0) would display +5,9%;
    • calculated as +5,9%= (4,0 / 2,0) ^ (30/365)

     

    side-note:

    my value doesn’t need to be very exact (it’s an indication), so something calculating based on 360 days a year, or whatever, would be fine !

    the value doesn’t change with a change of display scale (one quarter or one week)

     

    If this doen not exist as a standard, what would be needed to develop it as a custom-designed tool ?

     

    Hope my request is fairly clear. My apologies if the answer is too obvious. Feel free to refer me to any post/resource.

     

    Many thanks !

    #244032
    JS

    As far as I know, there is no (standard) PRT object available for this…
    You can use Ivan’s indicator and set the number of days via the number of units used…
    Additionally, you can have the indicator draw two extra lines for the start and end points…

    3 users thanked author for this post.
    #244073

    So many thanks for the rapid feed-back, jS !

    Going to try & see what I can do with that (I need to get familiar with PRCode for a start ! but that should be a good thing to have…)

    Have a great day !

    #244104

    Hi,

    thanks again JS, although what I meant to have was different from above: I’m looking for an object, with a calculated metric, calculated from the start and end point of that object, upon drwaing the object (whereas above “indicator path” adds a window, which displays that metric, which parameters to be given)

    To clarify: a graph should be clearer than a long talk, attached is a simulated graph of what I’m looking for :

    • the bold line in orange, with +12% automaticaly calculated, is the expected result;
    • the date- and level-  lines are here just to illustrate the calculation of +12%, and wouldn’t be displayed.
    • note: +12% = (136,7 / 117,6) ^ (360/524) -1,
      • with 524 being the number  of days from 3/8/23 (ini date) to 23/1/25 (final date).

     

    This metric could be displayed on top of a segment, line, or channel (here a standard-error channel).

    It could even be added as a tick box in the parameter window for any of these objects (it’s a most basic metric, if not the most …)

    From JS earlier post, I assume it does not exist in PRT “as-is”. But I would very much appreciate if it could !

    I guess I should request it for a future PRT release (shouldn’t be too heavy to implement – but would be mooost helpful).

    Thanks in advance for your inputs !

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

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