How to know EOF? the last barindex?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56334 quote
    TobeesTobees
    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
    AVTAVT
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    TobeesTobees
    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
    TobeesTobees
    Participant
    New

    Thx Nicolas!!!

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

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 TobeesTobees
8 years, 9 months ago.

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