Dclose, Dhigh – time difference

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

Viewing 5 posts - 1 through 5 (of 5 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.
Viewing 5 posts - 1 through 5 (of 5 total)

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