fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Is there a way to isolate the closing time trade time as a variable?

    Questions & Answers
    2
    4
    208
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FaulknerTrading1 last edited by

      Hi all,

      I was wondering if there was a way to isolate the closing time of a given market as a variable?

      I am looking for this as I keep having issues with time filters when trading indices as a daily timeframe trader, especilaly when daylight saving comes into affect and messes up my entrytime for my algos.

      Another rwason I am lookin for this is because I use multiple brokers and particularly for indices, the trading times close hours apart, even for the same asset. For example, the UK closes at 12Am servertime on 8CAP, and 11PM On ICMarkets.

      This has an impact on my results from backtesting and so if anyone has any solutions I would really appreciate it

      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by

        Can't help, I have previously tried to get this, but server time changes with daylight saving time.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 1
        • F
          FaulknerTrading1 last edited by

          Understood... Have you been able to come up with another solution? I have been using time filters and simply setting real life reminders when its near DST adjustment

          I have thought about possibly using webrequest, like many here have done with news avoidance, as well as some sort of on timer function but all have been failed attempts

          1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by

            TimeDaylightSavings
            Returns correction for daylight saving time in seconds, if the switch to summer time has been made. It depends on the time settings of your computer.

            int TimeDaylightSavings();

            Return Value

            If switch to winter (standard) time has been made, it returns 0.

            Doesn't work on back test though, have never tried it but will possibly help.

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            C
            N
            S
            C
            F

            9
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors