DAYOFWEEK delayed by one hour

Forums ProRealTime English forum ProOrder support DAYOFWEEK delayed by one hour

Viewing 2 posts - 1 through 2 (of 2 total)
  • #177147
    gfx

    Hi,

    I added the DAYOFWEEK function in a money management routine;

    I was very surprised that it increases by one after 01:00 am.

    Though it is already Thursday 00:30 AM on the graphique, DAYOFWEEK  returns 3 as if it was based on UTC+1 whereas chart prices displays on UTC+2.

    Any solution ?

    Thks

     

    #177154

    There’s no pic attached.

    In any case, DayOfWeek is the day of the week when a candle closes, while OpenDayOfWeek is the day of the week when a candle opens.

    On DAX, 1h, Thursday is returned when the 00:00 (Utc+2) candle closes (at 01:00).

    On DAX, 4h, Thursday is returned when the 21:00 (Utc+2) of the previous day candle closes (at 01:00 of the next day).

     

     

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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