fxDreema

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

    "No Trade" Block condition issue resulting zero divide when "first" added to the Metatrader.

    Bug Reports
    3
    7
    396
    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.
    • L
      lvang1126 last edited by

      I've identified a potential issue related to the "No Trade" block that seems to cause a divide by zero error under specific conditions:

      Steps to Reproduce:
      Prerequisite: Ensure auto trading is enabled.

      1. Launch MetaTrader and add a symbol that is not part of the default startup list.

      2. Copy the EA into the MetaTrader Experts folder.

      3. Attach the EA to the newly added symbol.

      4. Once the condition in the EA is triggered, the divide by zero error may occur.

      Workaround:
      I resolved the issue by removing the "No Trade" block and replacing it with the "Check Trade Count" block, which prevented the error.

      EA link: https://fxdreema.com/shared/Nbvs0Q39

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

        Really weird. Both blocks work normally on my projects without haveing to substitute them.

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

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

          @l-andorrà
          Agree. Probably not related to fxdreema.

          It is likely that the chart do not have enough histoical data during the first startup, that make any EA or indicator fail in calculation

          L 1 Reply Last reply Reply Quote 0
          • L
            lvang1126 @sktsec last edited by

            @sktsec

            I agree. If you replace the "No Trade" block with the "Check Trades Count" block, the trade would execute without any errors. I haven't tested this yet, but I’m wondering—what if, after adding the symbol, you immediately load the history data? Maybe then the trade would execute properly even with the "No Trade" block. Also, when you get the error using the "No Trade" block, re-attaching the EA to the same chart usually clears it. So the error typically only happens on the initial startup.

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

              @lvang1126 Is the error happening on different brokers and data histories? Maybe the issue is on a specific broker data only.

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

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

                @l-andorrà

                The brokers I tested that were affected by this issue include BlackBullMarket-Demo, FXPig-Demo, and Alpari-ECN Demo. These were all free demo accounts I was able to create. I'm sure there are many others, but these are the ones I've tested so far.

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

                  Then the problem is apparently on the code itself. I guess some of the fxDreema blocks were corrupt. I know this can be annoying but the best way to check it out is building the whole project from scratch again (no copying any block from the original one). Then try the new version normally to confirm the issue still persists or not.

                  (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

                  H
                  R
                  D
                  S
                  M
                  A

                  19
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors