fxDreema

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

    How much is TOO much?

    Questions & Answers
    4
    10
    696
    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.
    • gooseman
      gooseman last edited by gooseman

      I have a system that trades on mutli symbol and multi time frames. nothing fancy. if condition, go long. if position meets the opposite condition, close. I use the same system copied many times in a single project and use constants for group #s and symbols. The system works 100% when by itself. I have built a portfolio of 200 iterations of this system. No variables. just a few constants.
      layout.PNG

      Here's the breakdown of the system. it only uses moving average and rsi indicators. no custom indicators. here's my portfolio

      portfolio.PNG

      same system, just different constants for multi symbol. I use groups to create a "universe" for each symbols. when I enabled half, I get all trades being taken and no problems backtesting and can load on demo and have no errors. Once I "turn on" one of the systems on the right and load it on demo, I get errors shortly after loading the EA in mt5.

      3c1266f6-f974-45c0-8b13-82ee4bdfeed9-image.png

      Doesnt matter which system I enable, it always ends up putting out these errors. but once I turn off the system, i can load the EA and have zero errors. Its almost as if theres a limit. Ive tripled check each system to make sure the constants and inputs are correct. tried different systems. I have had about 100 of the 200 active but the minute I enabled 101 of the 200, ill get those errors. Do I have too many systems? Is this an in efficient layout for a portfolio? I know the MA indicator can take some time to calculate. Is there an ideal and more efficient way to build this portfolio?

      Edit:

      I wanted to add that I compiled the source code and returned zero errors.

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

        I guess it is a problem of time execution. Probably the bot can be optimized by using less blocks. Could you please share the link to it?

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

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

          @l-andorrà

          https://fxdreema.com/shared/PNG9D7p4e

          not the main project but a sample. regardless, it's just one system copied many times using different group #s, timeframes, and symbols.

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

            @gooseman said in How much is TOO much?:

            @l-andorrà

            https://fxdreema.com/shared/PNG9D7p4e

            not the main project but a sample. regardless, it's just one system copied many times using different group #s, timeframes, and symbols.

            id try manually doing 2 groups and see if you still have the same problem as when you are copying and pasting.

            outside of that, id assume usually a variable or constant naming issue is another common thing.

            gooseman 1 Reply Last reply Reply Quote 0
            • roar
              roar @gooseman last edited by

              @gooseman every indicator reserves some amount of your RAM memory. When you have 100 indicators with their memory allocations, there might not be space left for 101st.

              Alternative structure: work with just 1 group of blocks, but run the same blocks multiple times, changing the symbol in between. You can put the symbols in an array.

              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

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

                @TipsyWisdom

                That's how I initially created this portfolio. I have all my systems and parameters on a spreadsheet. One by one, I would build the system and backtest to compare trade amount to what I had on my spreadsheet. I doubled checked and had someone else check each system for their constants.

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

                  @roar

                  ok makes sense, especially with the moving avg indicator. Ive noticed in past systems that when I backtest systems have used the MA, it'll backtest slower than my other non-MA systems.

                  I thought of restructuring also. ill give that a shot.

                  1 Reply Last reply Reply Quote 1
                  • gooseman
                    gooseman @roar last edited by

                    @roar

                    https://fxdreema.com/shared/J4DtDAYab

                    I dont think I can utilize an array of symbols due to specifics like timeframe and condition. d1ef6f79-5fd7-48e3-a3a0-102866a63ff8-image.png
                    A - main system. has 200 iterations of this. 200 blocks (Regime) that check the MA.
                    B - Here's my attempt to work with 1 group of blocks. This system has 2 conditions. the regime block is static, with no inputs. There are 5 blocks of (EntryLV1-5). I tried using 1 (Regime) block for both groups, but the EA would trade both groups instead of one.
                    C - if position exit. no inputs

                    my goal is to have multiple groups of the main system, without overloading the memory in the mt5 client probably caused by multiple MA-based condition blocks. each group should be in its own universe. a universe determined by symbol, timeframe, and entry lv. testing the 2 groups individually works fine. but when test both at the same time, I get bad results. I get too many trades.

                    Ive checked @l-andorrà youtube channel, boxxocode channel, searched here on building a portfolio and saw @TipsyWisdom hilo thread.. Any tips on structuring this portfolio?

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

                      I dont understand the specifics of your system, but technically its always possible to change the symbol in a loop.

                      Group numbers are meant to identify different trades on SAME symbol. If you dont have many trades on same symbol, there is no need to use groups. It just makes your life harder - miss the group setting in one block, and everything breaks. Just filter by the symbol, that option is available in every block. The filtering is done automatically with "set current market for next blocks", so it saves you from editing each block.

                      Example:
                      https://fxdreema.com/shared/9GD6B7ztc

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

                        honestly, ive put a lot less time into development and more into manual trading...so these are things I just come back and randomly ponder mostly these days @gooseman

                        maybe @ me in that thread and I may be able to recall on the project and compare to help you.

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

                        Online Users

                        E
                        V

                        11
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors