Why are there no CurrentDay function?

Forums ProRealTime English forum ProBuilder support Why are there no CurrentDay function?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #64904

    So in PRT there are a CurrentYear, CurrentMonth, CurrentWeek, CurrentHour and CurrentMinute function.

    Yet no CurrentDay function???

    I have found a workaround by checking currentdayofweek against dayofweek but that is not entirely reliable.

     

    #64912

    Just take the command “Day” instead. I think the only difference between the “current” time commands and the general commands such as

    “CurrentMinute”

    or

    “minute”

    is that “minute” can be combined with parentheses, like

    “minute[2]” ,

    and so can give time information on past bars.

    “CurrentMinute”, however, only gives the current minute, no time information on other bars.

    #64943

    Question @juanij : what is entirely reliable here ?

     

    hahaha

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login