Barindex Value

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

    Hello,

    Is there a way to retrieve the barindex  value of the last bars loaded .

    I need it in order to draw a segment from 000000 to actual time .

     

    Giovanni

     

    #23278

    This is something I need too.

    But, while loading the history for the first time, the last current bar is always “BARINDEX”, but we have no possibility to know if this barindex is currently the real actual LIVE one (current time I mean.. hope it makes sense?).

     

    #23365

    Thanks Nicolas,

    I did it this way and it works except that the segment is not automatically refreshed on a new bar.

     

    #23370

    Well done, your code is clever.

    What is the purpose of “+010000”?

    Did you try with this condition instead?

     

    #23399

    Fantastic Nicolas!

    I tried your code and now the segment is refreshed!

    I am adding +010000 because ProrealTime  is installed on IG UK while  my computer  is in Germany (I work in Remote Deesktop) and there is one hour difference.

     

    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