fxDreema

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

    How to avoid correlated pairs

    Questions & Answers
    3
    14
    919
    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.
    • J
      Juan Manuel Quiñonero last edited by

      If there is an open trade "EURUSD" how can you prevent it from being opened in other pairs that contain the same "quote" or "base"?

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

        this will take a bit of work but before opening a trade you can loop through running trades, get the symbol with OrderSymbol(), strip it down to quote and base, do this with the trade symbol, then compare before placing the trade or not.

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

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

          @jstap Just curious. Would there be any option to do that WITHOUT custom code?

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

            Not that I know of, generally this type of code is what's in the light pink blocks, just not that, so a for each block, with OrderSymbol() in a modify variable block, will give you the symbol of the last loaded order. But then you would have to split it in 2, and if your symbol has extra letters it would fail. When I get a minute I will put something together.

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

              This is quite hard to back test but this should do it: https://fxdreema.com/shared/I9PjwP3xd

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

              l'andorrà J 2 Replies Last reply Reply Quote 1
              • l'andorrà
                l'andorrà @jstap last edited by

                @jstap Very interesting. Thank you.

                (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
                • J
                  Juan Manuel Quiñonero last edited by

                  Thank you very much, I'll try it.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Juan Manuel Quiñonero @jstap last edited by

                    @jstap It does not work

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

                      I haven't looked at this for a while, this should do it, works on backtest but is only 1 symbol: https://fxdreema.com/shared/P9WAmCK1d

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

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Juan Manuel Quiñonero @jstap last edited by Juan Manuel Quiñonero

                        @jstap I have checked it in demo and it does not work, does not open in any pair

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

                          It did for me

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

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Juan Manuel Quiñonero @jstap last edited by

                            @jstap If it works if you have the same quote or base but it does not open operations in pairs that have different (quote or base)

                            1 Reply Last reply Reply Quote 0
                            • J
                              Juan Manuel Quiñonero last edited by

                              Open operation in EURUSD, it does not open in correct USDCAD, but it does have to open, for example, CHFJPY.

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

                                In EURUSD EUR is the quote and in USDCAD USD is the quote, so I do not see how this makes a difference. All this is doing is checking if the current symbol is different to running trades regardless of the base/quote starting value.

                                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
                                • 1 / 1
                                • First post
                                  Last post

                                Online Users

                                B
                                A
                                T
                                M
                                E
                                C
                                B

                                23
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors