fxDreema

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

    "Market Closed" Issue (again/unresolved)

    Questions & Answers
    5
    5
    852
    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.
    • D
      Dre last edited by

      Re: My backtest EA stops due to "Market closed" message in the Journal tab

      Hi All,

      Regarding the post mentioned above on the "Market Closed" issue...

      I love fxDreema but this is the ONE REAL ISSUE that I have come across and can't find a way around. @fxDreema

      I have tried the ideas that have been mentioned on the few posts on this matter but nothing works for me.

      It is logical to expect that you are asking the EA to trade when the market is closed, and so the error occurs. But I don't think this is the case. Third party EAs do not show the same error within the same trading periods.

      Does anyone know of a solution that works for this issue?

      Thanks,

      Dre

      CedieTraderMax 1 Reply Last reply Reply Quote 1
      • CedieTraderMax
        CedieTraderMax @Dre last edited by CedieTraderMax

        @dre
        Add logic after your buy/sell block when broker server did not successfully processed the order due to their DB is not yet opened.
        It is usually happened at the start day of week before the Broker server open eventhough there are tick event received by EA but the broker server is not yet ready to accept trade events from EA (e.g. Sell order, close trade etc...)

        1 Reply Last reply Reply Quote 0
        • B
          biztet last edited by biztet

          When market is closed, there is nothing you can do manually or using EA.
          So if you use Time to trade, you should know when the server of the broker open/close.
          Not fair for the broker if traders can setup traps when they are not working.
          Like a restaurant, there's nothing you can order when they closed.

          1 Reply Last reply Reply Quote 0
          • X
            Xfire last edited by

            HI
            guys he talking about backtest no live market!

            I never had this issue in backtesting. i had more than 1000 backtest in different EA.
            Just I think you should try with a demo account from another broker and see the result
            or share your project link and I can test with my broker.
            Maybe your broker can download full data for the backtest and EA cant working

            IN GOD WE TRUST

            1 Reply Last reply Reply Quote 0
            • D
              DutchyyNL last edited by

              Look for the time your broker closes, then use a timefilter. For example my broker closes at 00:00 UTC +2. I then set a timefilter in front of all trade and close conditions with settings start 00:05 and end 23:55. Now my journal does not get stuck anymore and I can backtest the strategy.

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

              Online Users

              N
              L
              A
              E
              B
              P

              16
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors