fxDreema

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

    Unwanted trades live vs backtest

    Questions & Answers
    0
    13
    383
    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.
    • A
      Ads last edited by Ads

      Hi everyone, im at a loss to what ive done wrong here and im hoping someone might be able to take a look and provide some advice. My EA works as it should in backtest but since i have let it run live this week im getting random trades that it isnt supposed to put on in addition to the ones that are expected. Im only trying to trade once a day so i suspect it is something to do with the count of how many trades there has been on a given day. Any help would be much appreciated!
      Here is the link and some photos of what im seeing:
      1_1674284696006_Live.png 0_1674284696004_Backtest.png

      H jstap 2 Replies Last reply Reply Quote 0
      • H
        heppbraian @Ads last edited by

        @that_adam_guy
        you are wearing asia session?

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

          @that_adam_guy no trade block is better at limiting to 1, light pink blocks need to go under a dark for each block, this needs to be in a separate tree because under the no trade of check trade, they won't work. Generally though this is set up how I would do it, so a couple of changes is all you need.

          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! 😊

          A 1 Reply Last reply Reply Quote 0
          • A
            Ads @jstap last edited by

            @jstap Thanks for this. Ive also noticed that this random trade only seems to happen just after midnight local time but not at the exact same time each day (and some days not at all) so im wondering if this is a coincidence or it has something to do with my local time being a new day? It also doesnt happen if i have a trade still running so keeping to 1 trade at a time seems to be working fine. The trade doesnt even line up with the rules so im very confused?

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

              @that_adam_guy I haven't noticed trades doing this, the only thing I can suggest is use a time filter block to prevent trade from and to a certain 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! 😊

              A 1 Reply Last reply Reply Quote 0
              • A
                Ads last edited by

                Ok so ive improved the function of the 1 trade per day by adding in a conditon block with a constant set at max 1 trade and have that checking against the variable which gets a number added to it each time a trade occurs then resets at the start of each day.
                https://fxdreema.com/shared/uDYZGbXTb

                On a day where there is actually a trade it will now block that random trade which is helpful but on days where there is no trade it may still appear so the problem is still there. I must be missing something in the blocks but i have no idea what it is?

                Since im asking the platform for highs and lows from a certain time period in the day could i be having some sort of issue with the data coming from the brokers side which is throwing off the ea? Maybe i should run it parallel on a different broker and compare the results?

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

                  @that_adam_guy You need the for each position block, you dont need the once per tick block on the on tick tab.
                  0_1674337336461_f6b52626-be92-419d-bb7f-3c9aa71e4726-image.png

                  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! 😊

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Ads @jstap last edited by

                    @jstap thank you for this

                    1 Reply Last reply Reply Quote 0
                    • A
                      Ads @jstap last edited by

                      @jstap I thought of this but it is within the time period I do actually want to trade so I can’t block it out.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Ads last edited by

                        So the EA is still misbehaving 🤬, it seems to do it at or around 15:00 server time if a trade hasn’t been placed before that (the 1 trade per day blocks it at that point) 15:00 server time is coincidentally 12:00 midnight here. I wonder if my physical day ticking over is somehow doing something to confuse it? It works exactly as expected in backtest.

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

                          @that_adam_guy Possibly but I don't know.

                          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
                          • A
                            Ads last edited by

                            Just an update to anyone who may read this in the future that may have a similar problem. I seem to have solved to the problem by moving the modify variables field out on its own with a Once a Day on timer field. It only needed to get that info once per day and with it getting it repeatedly it either got confused or got a bad bit of data from the broker and it was set off.

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

                              @that_adam_guy Thank you for sharing that info.

                              (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.

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

                              Online Users

                              B
                              A
                              J
                              D
                              E

                              15
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors