fxDreema

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

    New Position error: market is closed (10018)

    Questions & Answers
    4
    9
    668
    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.
    • U
      Uriel 0 last edited by

      Hi, i need help with this EA bug, it just happens when is backtesting Daily chart. The EA structure looks good, just Idk how to solve this bug on Daily, because on other timeframes, it works well... Usually when this happened is because BLUE blocks, but in this case I'm not using any other, just No position block is blue

      b65837e4-344b-4402-baf4-be45e2bb4fd5-image.png

      https://fxdreema.com/shared/b3xNQJlEd

      I have tested with Broker data and my data, is the same problem modeling 1 Day chart

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Did you check the format of the 'Timeframe' constant?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        U 1 Reply Last reply Reply Quote 0
        • B
          Byens last edited by

          it tries to open position at 00:00:00
          filter those with green block time filter, any buy action or close action should be bellow this block

          image.png

          https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

          U 1 Reply Last reply Reply Quote 0
          • U
            Uriel 0 @Byens last edited by

            @Byens sure, I put it above yesterday in another version but the result is the same

            1 Reply Last reply Reply Quote 0
            • U
              Uriel 0 @l'andorrà last edited by

              @l-andorrà sure, it does look wrong? Works well in all TF, just on daily not. Thanks

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @Uriel 0 last edited by

                @Uriel-0 said in New Position error: market is closed (10018):

                @l-andorrà sure, it does look wrong? Works well in all TF, just on daily not. Thanks

                "once per bar" daily happens at 00:00 , at this time your broker doesn't accept any order/instruction. Likely it start to works at 00:04 (just a guess). There are some topic on this question on forum.....and a solution (time filter and weekend filter just above buy/sell )

                B U 2 Replies Last reply Reply Quote 1
                • B
                  Byens @ambrogio last edited by

                  @ambrogio @Uriel-0 yes change input according prevent error. That way i backtest only with mt5 now

                  https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

                  1 Reply Last reply Reply Quote 0
                  • U
                    Uriel 0 @ambrogio last edited by

                    @ambrogio it works with 00:10

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ambrogio @Uriel 0 last edited by

                      @Uriel-0 👍

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

                      Online Users

                      H
                      E
                      A
                      G
                      Q

                      13
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors