fxDreema

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

    First Attempt at Arrays. Could use an expert opinion.

    Questions & Answers
    4
    28
    2657
    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 @roar last edited by

      @roar This "Print()" tip is super handy! Thanks for sharing it.

      I noticed I got a "stack overflow" (whatever that means ahaha. Sounds bad). I'm going to research what that means, but I imagine the problem could lie there?

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

        I looked up what a stack overflow is. Apparently is a memory issue?

        I want to be up front, in case it matters, that I'm running MT5 through a windows emulator on Linux basically. I'm not sure if this stack overflow is some limit that MT5 has or a limit that the way my MT5 is installed is (or neither). I just want the information out there if it's relevant. I can and will look into this, also. When it comes to running these EAs (eventually one day), I'll do it on a VPS from a windows machine, but I don't use windows as my daily driver, for whatever it's worth. Idk if it's at all relevant here.

        Edit: I don't believe this is an issue. I loaded up the task manager for the emulator that my MT5 is running on and we never used even more than 10% of its resources.

        Edit again: I double confirmed the Linux isn't an issue by popping over to my windows virtual machine and ran into the same stack overflow error when I ran it on MT5 there.

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

          Upon more research, it seems stack overflow problems are caused when an infinite recursive loop is in place. So, I will continue to try to solve this myself since it's not array related (I assume it's not?). I can't say for certain that the array stuff is "solved" until I button this up, though, since I can't test my array stuff ahaha.

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

            @MrDaisyBates stack overflow most often means you have some kind of infinite loop, yes. There's many "run block x" links in your project, maybe some of them create a loop

            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

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

              @roar Thank you for your help and hospitality, Roar!

              I feel I'm still learning and fumbling, but managing with all of the above. I'm sorry for the delay in replying. I just didn't want to rush back in haste. But I still wanted to thank you. So. I appreciate you! I'll keep at it and see if I can keep fairing. Haha.

              Take care until we cross paths again!

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

                Looking through this because I need to use arrays to build a matrix, realizing now that trying to build a Generalized Regression Neural Network template for everyone to use within fxdreema; I am in way over my head.

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

                  @LightMasterSunrise youre in way over my head too, lol

                  If you have the mql5 code, I can surely help getting it to fxdreema format

                  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

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

                    @roar I do have the source code for one, but it is a header file, not sure if it would even be possible. I posted about this in another thread asking about the limitations of custom mql code boxes

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

                    Online Users

                    M
                    C
                    K
                    T
                    K
                    D
                    K

                    14
                    Online

                    146.6k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors