fxDreema

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

    Maybe bug in the symbol field

    Bug Reports
    3
    7
    956
    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.
    • X
      Xfire last edited by Xfire

      Hello,
      i try to open position by special symbol when my EA is run on the other symbols windows but just EA can open position on the current chart window.

      i don't know it is a bug or normal!!!!
      For example, my EA is on the USDCAD and my variable is USDNZD and i want open a position on the USDNZD but EA just opened a position on USDCAD

      0_1645216925651_Screenshot 2022-02-19 073259.png

      IN GOD WE TRUST

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

        @xfire Are you using a 'string' type variable to do that?

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

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

          @l-andorrà yes it is a string and all blocks working as well just this one cant work with variables.
          what do you think? can be a bug?

          IN GOD WE TRUST

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

            @xfire This is certainly weird. I know this can sound weird but delete the block and rebuilt it from a new one. Sometimes blocks are corrupt. If it doesn't work you should fdefinitely contact the admin.

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

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

              @l-andorrà said in Maybe bug in the symbol field:

              This is certainly weird. I know this can sound weird but delete the block and rebuilt it from a new one. Sometimes blocks are corrupt. If it doesn't work you should fdefinitely contact the admin.

              i try. thank you

              IN GOD WE TRUST

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

                When you look from EA's perspective, the chart in which it is opened is giving its parameters to the EA. For example, in MQL4/5 there is a function Symbol() that returns the symbol name of the chart. Also, the EA receives the ticks from the symbol of the chart.

                But otherwise, you can open a trade in a symbol that is different from the one of the chart. The opened trade is in no way linked to the chart. And the way to do that is of course to write the exact name of the other symbol. It really should work if the variable named "fxname" is really a string variable with value USDNZD.

                I looked into your last EA and I see that the variable has no initial value, but in Init it is defined like this:
                0_1645721133778_26148367-668b-4470-9d6d-c85ebcc75bb9-image.png
                Well, this sets the value USDCAD (assuming you opened the EA in USDCAD chart). I found one more place in Tick where you set the same variable in the same way (block 73). You have some Custom MQL blocks, but I don't see this variable there. So I don't really see where the value of this variable could become USDNZD.

                I see that you are opening another charts with a custom code in block 311. But when you do that, I don't see how this changes the fact that the EA is still working on the original chart. ChartOpen() is just opening another chart, similar to how you would do it manually.

                X 1 Reply Last reply Reply Quote 1
                • X
                  Xfire @fxDreema last edited by Xfire

                  @fxdreema

                  Thank you for the complete explanation.
                  I notice from the first part of your explanation that my variable doesn't fill correctly.

                  I did this part as a test so you couldn't see my sample block.
                  Thank you so much

                  IN GOD WE TRUST

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

                  Online Users

                  R
                  F
                  S

                  14
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors