fxDreema

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

    stopped generate to mq4 file

    Bug Reports
    3
    4
    889
    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.
    • G
      GM4370 last edited by

      Hi.

      I have 810 blocks in my project till now and I can't do generate mq4 file anymore fxDreema stopped do this. Is any limit numbers of blocks or limit of size ?
      I just realised when more and more blocks have in the project fxDreema getting slower to work. 😐

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

        I have same problem.

        Some time ago I generated MQ4 file but now I can only "Save" or "Open"

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

          The local version is actually Server + Chrome Browser + Web App (fxDreema itself) all packed into single .exe file using 3rd party software. And yes, it goes heavy and slower with more and more blocks, as every web page goes heavy and slow when it has to print many data. HTML/CSS/JS is normally heavy stuff, especially in last years. But it was at least 10 times as bad few months before! Back then 100 blocks were enough to make it respond slow, but I spend some time to optimize those processes and now it's in the best way I can make it.

          When you click to generate output file, then PHP starts to work to combine all blocks into a single file. This is where things can break, but on the server side.

          What I can suggest... to make everything in a better more optimized way. But I understand that this requires experience 🙂 Building projects in fxDreema is like programming, but without writing code. What bad programmers do is to use the same code again and again, to do copy/paste of the same things and use them two or more times with little differences. Eventually they end up with some code that is big and hard to understand, aka "spaghetti code". The best is if 1 part of code is written at 1 place (as function) and used multiple times, so there are not tons of different copies of the same thing. But again, this is hardcore, not easy. This is what I do for the last year - I solve problems like this, I'm getting deeper into how to make something as simple as possible, as accurate as possible, as lightweight as possible and as flexible as possible. Hardcore 🙂

          Learn to use loops (cycles) and to reuse things (blocks, small groups of blocks). When you need to use big group of blocks (more than 3-4 blocks) more than 2 times in the same project, this is big red alert - the same result can be achieved with less blocks for sure! If they does not exists, if something can be added as functionality... this is one of the things I am here, so ask me 🙂

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

            casebefx, what have you changed in Windows? Basically fxdreema.exe wants to have full access in MT4/MT5 files and folders, because it wants to write those files there, but newest Windows versions are a little bit of weird, more restrictive and "protected". Set fxdreema.exe to run as administrator, this is the best suggestion I can give.

            Also make sure that you write files in the right output directories. Because now MetaTrader can work in "normal" or portable mode, and what is normal is to have experts in some strange looking folder somewhere deep in AppData. Here is a topic I wrote about these problems before: viewtopic.php?f=2&t=2374

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

            Online Users

            G
            J
            H

            14
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors