Dclose, Dhigh – time difference

Forums ProRealTime English forum ProOrder support Dclose, Dhigh – time difference

Viewing 15 posts - 1 through 15 (of 19 total)
  • #251814

    For years, the commands “Dhigh, Dclose, etc.” ALWAYS ended at 1:00 AM. Recently, the day has been ending at 6:00 AM. Regardless of the timeframe, I’ve also tried MTF. Many people use these commands in their strategies. They work with them. Logically, the strategies are also designed for these end times. How can I avoid this error, or can I reverse it?

    #251820
    JS

    I hope this is still collateral damage from IG’s EPIC migration because 06:00 am indeed makes no sense…

    #251840

    You can always create your own DClose:

    #251850

    Thanks, Ivan… What’s wrong with this option? 

     


    if time = 010000 then
    myclose = close
    myhigh = highest[24](high)
    endif

    #251852

    Yes, your code is fine, but only if you are on an hourly timeframe and there are always 24 bars in a day.
    If there’s a holiday or shorter trading session with fewer bars, then it will give you a problem.

    1 user thanked author for this post.
    #251930

    @Nicolas Is there an update on the problem?

    #252029

    I want to draw attention to this issue again… the H4 candles end at the wrong time, on 2, 6, 10, etc., instead of 1, 5, 9, etc., and the trading day also ends at the wrong time. Is there a solution or someone working on this?

    #252041

    I think the reason is the wrong time zone. When I started the new DAX contract, the time zone initially was set to UTC+1:00 (London time). Set it to UTC+2:00 (Berlin time) and the H4 candles will start at 9, 13, 17 o’clock.

    #252051

    Thanks for the tip. On my platform, the box at the top is checked… my computer’s time zone, which is Berlin time. It was like that before, and I haven’t changed anything. Can you test the SP500 and NASDAQ on your platform?

    #252052

    In both markets, H4 candles start at 0, 4, 8, 12 o’clock (local time New York). I don’t know what this was like before.

    #252054

    For American markets, it is always better to use the local time zone there (US Eastern time), because then you avoid the time shift between summer and winter time between US and Europe during 4 weeks of the year. I once suggested this to PRT and then they introduced this button “use different time zones for different markets”. This way, you always get the correct New York time in US charts. Markets then open always at 9:30 and close at 16:00.

    #252059

    Can you help me with this :

    I understand the time shift in daylight savings. Until now I cover for that in the autotrading code. Clumsy but not a big deal.
    Now let’s assume that from now on we work with the New York time. What would I see in my charts ? Would that be 05:45 instead of 11:45 which latter is the AMST time at this moment ? And thus I would build in checks in the program code that don’t trade around US opening hence 15:30 our time (14:30 with the daylight savings time shifted), which now is going to be 09:30 always ?

    If that answer is Yes Indeed, then the least (and immediately worst) what will happen is that no program code will be compatible between IG and IB.

    ?


    Edit : when this is clear to me, I think I can tell what happened for changes … (after talking about it extensively with PRT).

    #252060

    Yes, 11:45 Amsterdam time is then 5:45 New York time. Except for the 4 weeks when US has summer time and Europe winter time, or vice versa.

    But NASDAQ or S&P then open always at 9:30 when you use US Eastern as time zone for US markets, irrespective of summer or winter time.

    #252067

    then the least (and immediately worst) what will happen is that no program code will be compatible between IG and IB

    Why ? When you trade American futures at IB, they should trade at the American exchanges using US Eastern Time as time zone, and European futures trade at EUREX, using Frankfurt time as time zone ?

    Same for US index CFDs or European index CFDs at IG.

    #252068

    Or is it Chicago time for US futures ? Then just subtract 1 hour or use Chicago time at IG, too.

Viewing 15 posts - 1 through 15 (of 19 total)

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