Announcement

Collapse
No announcement yet.

I can't find a "get Current Bar Date" function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I can't find a "get Current Bar Date" function

    I have been searching but so far have been unable to find a function which returns a bar date. I am familiar with and have used the function GetCurrentBarCount() to retrieve a bar number. I have guessed at using getCurrentBarDate() but that doesn't work?

  • #2
    Re: I can't find a "get Current Bar Date" function

    jcm21
    There is no getCurrentBarDate() function as such.
    If you want to retrieve the date, month, year of a bar you can use the day(), month() and year() series functions or you can use the Date Object (see the links to the relative articles in the EFS KnowledgeBase for the descriptions and syntax of these functions and examples on how to use them)
    Alex

    Originally posted by jcm21
    I have been searching but so far have been unable to find a function which returns a bar date. I am familiar with and have used the function GetCurrentBarCount() to retrieve a bar number. I have guessed at using getCurrentBarDate() but that doesn't work?

    Comment


    • #3
      As always, Thanks Alex

      As always, Thanks Alex

      Comment


      • #4
        jcm21
        You are most welcome
        Alex


        Originally posted by jcm21
        As always, Thanks Alex

        Comment

        Working...
        X