fxDreema

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

    Only one trade with same base or quote

    Questions & Answers
    3
    5
    474
    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.
    • D
      DutchyyNL last edited by

      Dear FXDreema developers,

      I have a question about the following. For example I have a trade on EURUSD with the base being EUR and the Quote being USD. I now trade on two currencies EUR and USD. Now I want the bot to skip any EUR or USD pair to prevent having more exposure on 1 currency pair. Any one has an idea how to do this?

      Thank you in advance! 🙂

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

        @dutchyynl In market properties you have base/quote, when placing a trade save this into a variable, check with a condition if different before placing a trade.

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

          Thank you sir! @jstap

          Okay, but what if there are multiple trades running(not on same symbol) Do you need multiple variables to save the base/quote too?

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

            @dutchyynl Most likely if you want the EA to control trades other than the chart you are on.

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

              @dutchyynl said in Only one trade with same base or quote:

              ve a question about the following. For example I have a trade on EURUSD with the base being EUR and the Quote being USD. I now trade on two currencies EUR and USD. Now I want the bot to skip any EUR or USD pair to prevent having more exposure on 1 currency pair. Any one has an idea how to do this?
              Thank you in advance! 🙂

              I have an idea but didn't test it. Instead of using variable which is limited to the same currency pair loaded in the same Chart, try to use Global Variable (terminate variable) to modify global variable for all charts.

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

              Online Users

              T
              M
              P
              S
              A
              E

              21
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors