fxDreema

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

    Time filter,server time and local time option

    Questions & Answers
    2
    2
    661
    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.
    • J
      Juanki1978 last edited by

      Helllo, congratulations fxDreema for your great software

      I have a doubt in relation with Time filter block, the results are the same with option server time and localtime, and that can´t be Right because my robot depends much of the time when it put the pending orders. Between 20:00 and 04:00 and just in the case that price crossover one moving average it put a grid of pending orders.

      Is it possible that Metatrader 4 in backtesting use only local time or server time?, do you know wich one it use? or can be that the block time filter have an error, bug and it use always the same option?

      Thank you very much¡

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

        https://www.mql5.com/en/docs/runtime/testing#time

        __During testing, the local time TimeLocal() is always equal to the server time TimeTradeServer(). In turn, the server time is always equal to the time corresponding to the GMT time - TimeGMT(). This way, all of these functions display the same time during testing.

        The lack of a difference between the GMT, the Local, and the server time in the Strategy Tester is done deliberately in case there is no connection to the server. The test results should always be the same, regardless of whether or not there is a connection. Information about the server time is not stored locally, and is taken from the server.[/quote:qdo9sokh]

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

        Online Users

        M
        C
        L
        P
        A

        11
        Online

        146.9k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors