How to know EOF? the last barindex?

Forums ProRealTime English forum ProBuilder support How to know EOF? the last barindex?

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

    Hallo,

    Is it possible to know when your at End of File?

    … So you know for instance that you are processing the last indexbar available at that time?

    Thx.

    #56338
    AVT
    1. what do you mean with “the last indexbar available” – the first one in history which is the oldest and left in chart or the most current which is the most right in chart?
    2. usually you don’t need to know that, if calculation is finished, you reached the limit
    3. it would be helpful if you just give an example what you need it for
    #56341

    If you want to know the current bar is the last barindex, you can try with this code snippet:

     

    #56342

    Thx for your reply.

    With EOF I mean the last data available at that “current” time (most right one in chart)

    When i am at EOF ==> I want to draw some data on the chart

    #56343

    Thx Nicolas!!!

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