starting date of graphic

Forums ProRealTime English forum ProBuilder support starting date of graphic

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

    Hi to all,

    I am trying to create a indicator on the price graphic that compare the evolution of one asset (F.E. SP500) with the analysed asset.

    For that, i need to set a variable as the first date of the period i am seeing on the graphic, that depends on how much zoom i do on the history of the asset.

     

    Is it possible to create extract that dynamic date and program accorting to that?

     

    kind regards

    #226003

    Is this what you mean?

     

    #226006

    Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.

    Thanks 🙂

     

    #226193

    Sorry, First time using this forum.

     

    The indicator i was hoping  creating was variable depending on the starting date of the graphic, not the historic.

    I try your code (thanks for that) but the value is constant because is always the value of the first date of the historic of the company, not the graphic.

    For example, in the capture, I used the varaible of the year you used in the code,  but the starting date of the graphic is 2012-2013, so i was hoping the variable to get that value.

     

    thank you very much for the asnwer.

    #226197

    I think i solved it,

     

    Thank you very much

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