fxDreema

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

    Currency exposure

    Questions & Answers
    3
    9
    1538
    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.
    • S
      shack11 last edited by

      Hi 🙂
      I was wondering if there's a way that before entering a trade, the EA will check if there's an open position already with the same currency ? for example: Let's say that I'm already in a long position on EURUSD and then there's a signal to enter a trade on EURAUD. In that case, I want the EA to direct to a different block.

      Hope I was clear enough.

      Thanks a lot.

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

        Probably this thread will help.

        https://fxdreema.com/forum/topic/8169/how-can-a-sl-based-on-currency-be-set-up/22

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

          Thanks for your replay.

          Unfortunately, that is not helping with my issue.

          What I need is a block that checks if there is already an open trade with one of the currencies, here is another example:

          I have an open position on AUDUSD and now there is a signal to enter another trade on EURAUD.
          It means that AUD is already on my open positions. I need the EA to recognise that condition so it could take different size on the next trade (with AUD).

          Hope it makes sense...

          Thanks

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

            I see. That is an interesting question. Honestly I don't know how to do it. Are roar or miro near here? 🙂

            (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 2
            • roar
              roar @shack11 last edited by roar

              @shack11 we can store the 2 currencies into 2 variables, and then store the full symbol of each trade into 3rd variable, in a loop.
              Then use StringFind function to search those 2 currencies from the full symbol string, for each trade.
              The function returns -1 if it doesnt find a match.
              https://docs.mql4.com/strings/stringfind

              https://fxdreema.com/shared/NAq3OKTEb

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                I'll try that.

                Thank you very much!

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

                  Once more, roar at the rescue! Impressive, once more.

                  BTW, what's the logic at using the yellow output of the 'For each trade' block? What is the opposite of 'For each trade? No trade, maybe?

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

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

                    @l-andorrà thanks. Its not opposite logic here, the yellow just activates after the loop work has finished. So the block first activates orange (for x number of times) and then it activates yellow.
                    Here's block info:
                    0_1590770398291_4d036415-a20f-4f01-a2eb-f86e31403ee6-image.png

                    Need small help? Tag me in your post
                    Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                      Four years here and this is tyhe first time I read it!!! 😮

                      Thank you very much again.

                      (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

                      T
                      K
                      D
                      K
                      K
                      E
                      S
                      I

                      20
                      Online

                      146.6k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors