How to know EOF? the last barindex?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56334 quote
    Tobees
    Participant
    New

    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 quote
    AVT
    Participant
    Senior
    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 quote
    Nicolas
    Keymaster
    Master

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

    LastBarOnChart=currenttime=opentime and date=today
    #56342 quote
    Tobees
    Participant
    New

    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 quote
    Tobees
    Participant
    New

    Thx Nicolas!!!

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

How to know EOF? the last barindex?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Tobees @tobees Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Tobees
8 years, 1 month ago.

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