First Attempt at Arrays. Could use an expert opinion.
-
@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?
-
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.
-
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.
-
@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
-
@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!
-
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.
-
@LightMasterSunrise youre in way over my head too, lol
If you have the mql5 code, I can surely help getting it to fxdreema format
-
@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