fxDreema

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

    Rule to not allow trading in specific currencies, how to do it?

    Questions & Answers
    4
    7
    400
    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.
    • OntradingX
      OntradingX last edited by

      I would like to know if someone can show me how to create these rules, for example:

      1. If I have a purchase in the EURUSD currency, then I cannot have another purchase in the USDCHF currency.

      2. If I have 1 trade in EUR currency then I cannot have other trades in currencies that start with EUR.

      3. If I have 1 trade in EURUSD currency then I cannot have other trades with any currency that contains EUR or USD.

      Can you help me?

      Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
      Site: https://www.ontradingx.com.br
      Youtube: https://www.youtube.com/@ontradingx
      Boa sorte a todos nós!

      English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
      Website: https://www.ontradingx.com.br
      Youtube: https://www.youtube.com/@ontradingx
      Good luck to all of us!

      TipsyWisdom 1 Reply Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @OntradingX last edited by

        @ontradingx said in Rule to not allow trading in specific currencies, how to do it?:

        I would like to know if someone can show me how to create these rules, for example:

        1. If I have a purchase in the EURUSD currency, then I cannot have another purchase in the USDCHF currency.

        2. If I have 1 trade in EUR currency then I cannot have other trades in currencies that start with EUR.

        3. If I have 1 trade in EURUSD currency then I cannot have other trades with any currency that contains EUR or USD.

        Can you help me?

        I have ideas, but you'd have to use strings...

        OntradingX 1 Reply Last reply Reply Quote -1
        • OntradingX
          OntradingX @TipsyWisdom last edited by

          @tipsywisdom
          no problem, i just want to solve it, can you express your idea, maybe in the form of a project for me to understand the logic?

          Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
          Site: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Boa sorte a todos nós!

          English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
          Website: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Good luck to all of us!

          1 Reply Last reply Reply Quote 0
          • B
            biztet last edited by

            What about

            If Trade > No Trade

            OntradingX 1 Reply Last reply Reply Quote 0
            • OntradingX
              OntradingX @biztet last edited by

              @biztet
              I didn't understand.
              Maybe I expressed myself badly.

              If my EA has any open trades with EURUSD then:
              Do not allow trading with Currencies that start with EUR
              Do not allow trading with Currencies that start with USD

              I want to understand if there is any way to filter and block trades with currencies that start with EUR or USD.

              Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
              Site: https://www.ontradingx.com.br
              Youtube: https://www.youtube.com/@ontradingx
              Boa sorte a todos nós!

              English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
              Website: https://www.ontradingx.com.br
              Youtube: https://www.youtube.com/@ontradingx
              Good luck to all of us!

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

                Just guessing. Didn't try it.

                0_1654255614756_Untitled-6-01.png

                1 Reply Last reply Reply Quote 1
                • jstap
                  jstap @OntradingX last edited by

                  @ontradingx The only way I can think of doing this is like this https://fxdreema.com/shared/R9JaaCAV use the pink for each blocks to get all trades in different trades into different variables, then check each variable before placing trade, reset variable when trade closed.

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

                  Online Users

                  W
                  C

                  3
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors