fxDreema

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

    Multipairs EA

    Questions & Answers
    4
    11
    679
    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.
    • C
      Crisfx last edited by Crisfx

      Good evening everyone, I have already tried to do some research in the forum but I haven't found exactly what I'm looking for. I would like to connect my EA to a single (random) chart but also operate on other "X number" charts if the conditions are respected. In other topics I read about adding the "Set current market" block above the "no trade" block. Inside Set current market I would like to insert a string constant with all the names of the charts on which it is possible to check conditions and open trade, for example a string with: AUDCAD,EURUSD,GBPUSD,EURJPY ETC.. or with the extension that the broker assigns to it... (EURUSD., EURUSD+ etc..) to be able to add/remove pairs simply from the EA inputs.

      I tried different combinations but every time, shortly after starting the bot, the "zero divide" error appears in the Experts tab. How should the blocks be set correctly?

      Cattura.JPG

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

        @Crisfx If this is for MT4, then it won't work. MT4 doesn't support multicurrency trading on one chart, only MT5. For MT4, you have to put the EA on each individual pair.

        C 1 Reply Last reply Reply Quote 0
        • C
          Crisfx @willramsey last edited by

          @willramsey Only backtesting is not possible on MT4, I assure you that I am already using several bots that work on many charts by connecting them to just one. I would just like to understand how to do it here on fxdreema, there are several topics but many no longer have the working link to be able to look at the examples.

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

            I see, yeah it can work live. This works for me at least when I just tried. Blocks have to be in the right order or it won't work.
            https://fxdreema.com/shared/XhphwbtIc

            1 Reply Last reply Reply Quote 0
            • C
              Crisfx last edited by Crisfx

              Thanks for the reply, I tried, as in my case it opens the trades but in the experts tab it returns the "zero divide" error in line 11124...

              Cattura.JPG

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

                Can you link your project so I can see all the blocks. I don't know if I'll be much help but, I normally work with MQL5 more than MQL4.

                1 Reply Last reply Reply Quote 0
                • C
                  Crisfx last edited by

                  I checked again and it was my mistake, in "No trade" before selecting any symbol I had tried with specified by inserting the constant with all the graphs to be used in the box. Then I left the constant inserted and clicked on any symbol, without removing it by right clicking "return to original value", now it no longer gives me any errors.

                  The problem now is: how do I open a trade at a distance of X pips for each open pair? Until now I have used the blocks that I attach in the photo, simple since the bot was connected on every chart, in this case of multipair I can't understand how to "filter" each open pair..

                  Cattura.JPG

                  1 Reply Last reply Reply Quote 0
                  • S
                    s00071609 last edited by

                    May be its not fully related to this but instead of opening new thread i would like to ask. How is it possible to check the symbol of each open position against a text input Symbol pattern. Like, check if currently loaded position is XAU? symbol including XAUUSD, XAUUSD.raw etc. I have attached what i am trying to check to clarify

                    image.png

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

                      You can do it as explained here, but it is not easy to implement. https://fxdreema.com/forum/topic/19820/how-to-avoid-correlated-pairs/6?_=1709808007606

                      (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
                      • C
                        Crisfx last edited by

                        I managed to solve it, but now I have this Zero divide error (11730,31). Anyone know how to solve it?

                        Cattura.JPG

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

                          Can you please share the link to your project?

                          (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

                          M
                          D
                          N
                          G

                          12
                          Online

                          146.7k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors