fxDreema

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

    How to make EA multi currency most efficiently?

    Questions & Answers
    3
    8
    1416
    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
      coinmaster last edited by

      Hi there!
      I'm trying to convert a number of FXDreema EAs to run on all 28 currencies at once.
      I've tried using the "set current market" block using all 28 currencies separated by comma, but as I understand it only runs once per tick so it is not suitable for a true multi currency EA.
      So I am now going to duplicate all of the logic blocks 28 times and apply the "set current market" block to each set of logic blocks in order to avoid having to edit the "symbol" tab in every single logic set for a different currency.
      However now I have the issue that variables are currency independent. This means I would need to make sets of variables (sometimes hundreds) for each currency, which is very impractical and certainly not efficient.
      Is there a more efficient way to solve this variable issue?

      Much appreciated.

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

        post screenshot of your tree blocks .. so we can understand where is the issue

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

          @coinmaster Are you sure those variables need to be 'customized' for each chart? What are they supposed to do exactly?

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

            Here is an example
            https://fxdreema.com/shared/0eETyHGkb

            My point was that while I can easily avoid having to edit countless logic blocks by using the "set market" block, I cannot easily avoid having to re-create countless variables for each currency because you cannot set variables to a specific group # or currency as far as I know.

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

              Anyone??

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

                @coinmaster Yes, you can specify what charts are applicable for any specific condition/modify variables block this way:

                0_1623416844631_01.png

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

                  But my problem is that, the variables are currency independent, So I need to make hundreds of new variables on some of my EAs if I want to do multi-currency.
                  In the example I gave, blocks 2, 6, 8, and 12 are linked between all currencies. I want it to save the values of 2, 6, 8, 12 for each currency separately without needing to make a dedicated variable for each currency.

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

                    @coinmaster Then you need arrays to store those variable's values. That means custom code AFAIK.

                    (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

                    V
                    O
                    J
                    B

                    29
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors