fxDreema

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

    Looping and Feeding Data Between Multiple EAs in MT5

    Questions & Answers
    3
    11
    536
    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.
    • MrDaisyBates
      MrDaisyBates last edited by

      I am pretty comfortable with FxDreema, but I'm no coder. Just as a heads up.

      My aim/direction I'm going is building a centralized EA for the purposes of higher timeframe market conditions. It could either be an EA or a script (I'm indifferent at this second).

      I would like this higher timeframe EA to basically output various price levels and directional bias. I would like to store that information into a place that is safe and not lost if the terminal needs to be restarted, etc.

      Then, I would like my other EAs to run on lower timeframes and basically be referencing the values/information from the biasing one.

      So, for example, the low timeframe EAs would basically be entry models with various target and stop management, but a lot of the relevant information would come from another EA that's responsible for pre filtering conditions and all of this.

      Furthermore, I could see myself having a high timeframe algo that keeps all of this information updated, but then possibly have a script that I can use to populate the data for the first time (or any time I need to start from scratch).

      So, for example, on first use, I would run the script, it would scan (loop through) how many ever candles necessary to populate an unknowably sized list of variables, and then the EA would just keep that information updated (adding and removing values as necessary). And, again, the lower timeframe EAs would just tap into this information.

      I can't say much more because I haven't hammered it out yet.

      I can tell you right now, I don't know how to use/code arrays. I figure they're PROBABLY required here somewhere. I really am 100% code illiterate.

      Furthermore, I don't know if I need to be saving these into a file and then referencing them across other things OR if it's better to use the "Global Variables" that MT5 offers? (I've never used those, either).

      So, what am I looking for/asking?

      "What does this look like and entail exactly? And what skills/knowledge do I need to learn/master to be able to execute this way?"

      I would also appreciate either tutorial/walkthroughs (very thorough because I'm dense ahahah) or at least referrals where you'd recommend me learn said skills. HOWEVER, I understand that's my problem and not yours. So, if you at least could point me in the right direction, I would really humbly appreciate it and anything above that is just even more appreciated ahaha.

      Thanks in advance, ❤

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

        (Also, if you have any tips on how one would even be able to test any of this other than on live market data via demo account. I suppose using the strategy tester is off limits other than manually feeding in my data to the low timeframe ones, confirming they understand and interpret it, or outputting data for the higher timeframe one to acknowledge it's doing it correctly).

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

          Welcome, first you must know that nobody is going to build something for you unless you're throwing money around. If thats the case I would recommend seeking out @roar and @l-andorrà

          Many examples of things can be found in the dreema provided documentation before even getting to the forum. The forum itself is FULL of the same questions over and over and most things can be found by searching. As far as what you are trying to build, it is logical and it can be done within the same EA without having to use external scripts and things that you mentioned.

          MrDaisyBates 2 Replies Last reply Reply Quote 0
          • MrDaisyBates
            MrDaisyBates @TipsyWisdom last edited by

            @TipsyWisdom I appreciate your reply!

            And of course I don't want anyone to build my EAs for me. I'm competent and happy to do it myself.

            What I don't understand is what the workflow looks like for this.

            My opposition to doing it in "one" EA is to reduce a lot of redundancy, share information across pairs, simplify troubleshooting it, and to give me the flexibility to plug and play an abundance of different models I have in.

            My point, though, I don't understand what the backend looks like on all of this. I don't know if I'm storing things in files or global variables or if one is more capable than the other, if one prevents me from using a VPS, etc.

            Again, I don't want anyone to do the work for me. I just have no idea how all of these things work behind the scenes.

            I'm fine to look on the forums for examples, too, but I don't even know what I'm looking for examples of! Ahaha. This is why I'm inquiring.

            But as stated, if this can be explained a bit or illustrated for me, I'd appreciate it. I'm not trying to get off easy. I'm ready to work and learn. I just don't know where my efforts need to go.

            1 Reply Last reply Reply Quote 1
            • MrDaisyBates
              MrDaisyBates @TipsyWisdom last edited by

              @TipsyWisdom (I'm sure this place is drowning in people who don't like to do the work. I get why you'd be guarded about it. Haha. I've seen plenty of trading discords and stuff. I'm not trying to exploit anyone here).

              1 Reply Last reply Reply Quote 1
              • MrDaisyBates
                MrDaisyBates last edited by

                If it genuinely isn't mechanically feasible (since you're suggesting to maybe do it all in one EA instead), then I can accept that, too.

                I just know Dreema doesn't make it very easy for me to copy/paste blocks from all of my different projects into one big one and I'm concerned about my ability to manage and troubleshoot such a robust, singular EA, whereas I know I can handle a lot of smaller ones. I just don't know how I would easily import a partial project into the "whole" when done with it. If that's the route I need to go, then so be it. I just genuinely imagined there was "reasonable" ways to do share information between EAs meaningfully.

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

                  As Tipsy said, I will be happy to help, but only if you put some effort on your end. 🙂 Your idea is VERY ambitious for someone who doesn't know how to code. It is not a criticism, just a fact. I was in your exact same situation 7+ years ago and I needed more than 2 years to feel I was mastering the platform. With this I'm trying to make you see that if you are very patient and ready to dedicate a lot of time to this, you can finally get it...with my help and, hopefully, other users.

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

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

                    @l-andorrà I appreciate the reply!

                    I would like to learn to code as needed. I'm not "passionate" about programming outright, but I AM passionate about mechanical trading systems and algos in general.

                    I'm willing to learn what I need to learn. This is my career and my bachelor's and master's are both in investments and I've been in the markets for more than a decade. This isn't a get rich quick or whim thing for me. I have models that I use quite regularly, but I have so many of them that I would like to start the process of gradually transitioning all of them into fully mechanized things.

                    I appreciate the warning about this being a very ambitious aim for a newby programmer. I'm willing to take as many years as it takes at this point. This isn't a get rich quick or anything like that for me. It's my career for life basically ahaha. So. It's "required learning" for me at this point. I'm doing it with or without anyone's help. I would just appreciate the guidance and to have a community to be involved in. Trading can be a quite lonely journey.

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

                      I also am seeking the specific approach I am (a biasing EA separate from the entry stuff) because I'm not an indicator trader. I'm not opposed to using them as needed, but I will be likely using loops and arrays (loops I can do, arrays I'm still reading the MQL5 site on) to scan through candlestick formations and time based points of interest throughout historical data, storing it in the arrays and such, and then using these reference points across a multitude of other EAs basically.

                      I imagine coding this exact same logic into a bunch of different algos would be quite bloated and redundant. Furthermore, I know "advancing" up the ranks of programming and stuff means getting better at not being so repetitive and redundant. What do you call it? DRY? Or something like that.

                      Anyways, I'm a programming nub, but very rational and logical and the way of thinking, I'm okay with. Just lack the experience. My point, I see myself having lots of inefficient code/block layouts that GRADUALLY over the years, I will be able to reduce. I just imagine, up front, I'm going to be inefficient and the CPU demands per tick are going to be stupid if I tried to do this type of logic too many times in too many inefficient ways.

                      The point, I know it's probably logistically more complicated, but I know I also only have to learn it once. But I imagine it being lighter on resources and I imagine it being easier for me to manage and troubleshoot smaller chunks of stuff instead of one big monster trying to do it "all."

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

                        Well, considering your long term approach, don't you seriously consider going directly to coding instead? Maybe you will need too much time in fxDreema just to learn how to build structures when you could dedicate all that time to learn mql4 language 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.

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

                          @l-andorrà Not necessarily. Dreema is very approachable and gives me the opportunity to better learn how to think like a programmer/coder anyways.

                          Furthermore, I won't be going from nothing to final iteration in one pass. It's just too much to ask of someone earlier in this coding process. Dreema gives me a stepping stone to get the results I need, one iteration at a time, and move into coding in bite sized pieces instead of one overwhelming wave.

                          Ultimately, I believe dreema is the right place to start. But, I'm also, again, asking the question simply because I'm not at that destination yet. How am I supposed to know if Dreema can deliver everything I need it to? That's why I'm asking the question I am. I don't even know if the workflow I described is the most correct approach for what I'm trying to achieve and I don't know what the backend looks like on all of that.

                          I just want to know if it's possible, what skills I'm going to need to acquire, and any other words of caution I might need between here and there.

                          Thanks again for the reply!

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

                          Online Users

                          P
                          T
                          I
                          B
                          A
                          H
                          E

                          18
                          Online

                          146.7k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors