Bug or wrong setting?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #231013

    Hi,

    I’ve recently realized that in my PRT set-up the daychange, (using either dayOfWeek or openDayOfWeek parameter), don’t switch day at midnight. The day change with the last bar before 01:00am. Meaning that if I’m in the 5 minutes resolution it changes 00:55, and if I’m in the 1 minute view, it changes at 00:59. I understand the reason for it being the bar before, but don’t understand the connection to 01:00.

    My settings are my local time zone, pic 1.

    Second image is on the output of a simple indicator only:
    return dayofweek

    Have I done something wrong in my settings, or is this a bug?

    kind regards
    Patrik

     

    #231026

    The date and time are correctly updated at 00:00:00am, but the DaytOfWeek is NOT, so they will differ till the DAILY candle closes (if the closing time is set at 00:59:59am, which is now).

    IG have set the new daily candle to open at 23:00:00 UTC+0. It is 00:00:00 CET standard time (Utc+1) or 01:00:00 CET DST (Utc+2).

     

    #231068

    Thanks for the reply!

    I understand your answer, but the documentation days nothing about a connection to the day of the daily bar…
    …on the contrary, the documentation points to “each bar”, “current bar”

    for DayOfWeek, one can read “Day of the Week of the close of each bar”
    for OpenDayOfWee, one can read “Day of week of the open of the current bar”
    for OpenDay “Day of the open of the current bar”

    even the OpenDate behave the same… changing date at 01:00

    I’m not saying that having it act according to brokers timeline for the daily bars is wrong, but there’s no hint of that in the documentation, or am I missing it?

    #231121

    You are right, that info is missing.

     

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

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