fxDreema

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

    Convert mq4 to mq5?

    Questions & Answers
    2
    5
    2380
    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.
    • T
      Trader3487 last edited by

      Is there a way to convert a metatrader 4 project into metatrader 5? Would copying/pasting blocks work?

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

        The biggest problem is that MT4 works with multiple trades and MT5 works with a single position per market. Not even a month ago MQL5 had more features, now MQL4 is almost like MQL5, but that trades-position difference remains, and that difference leads to different strategies basically - the same strategy will not work the same way in MT4 and MT5. That's why I keep MT4 and MT5 separate 🙂 Otherwise in the code I tend to make everything to look similar, if possible.

        1 Reply Last reply Reply Quote 0
        • T
          Trader3487 last edited by

          that's strange - why would the next generation of metatrader not support concurrent trades?

          I was just thinking that mt5 would be faster for backtesting since it is said to support use of mutli-threading/multiple cpu cores. But I can't figure out how to get older historical data in there and when I set it to tick-level, it was about as slow as mt4 in visual mode. Without visual mode, mt5 is much faster.

          Do you know any ways to speed up mt4? I tried it with 16 processors and 60Gb RAM but 2 processors and 4Gb RAM performs almost as well.

          Thanks 🙂

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

            MT5 is from 2010 and it still cannot beat MT4 because of this problem and also because MQL5 is not as simple as MQL4. I also noticed that MT5 in visual mode is slow, I don't know why.
            Now the new MQL4 is similar to MQL5, I think they added possitives from MQL5 to it and in backtesting MT4 600+ should be faster than older versions. If you are still on version 509, get the latest version, this is first. I don't know about the processor, I have normal processors here 🙂 I can suggest how to speed up the process of generating ticks data. Well, I'm not aware if Tickstory or something like that can be used to skip this process, but in any case now there are SSD hard drives which are faster than normal HDD. SSD have their problems as well - they have limited write cycles and MT4 can only make their life shorter, but there is something even more faster - the RAM 🙂 If you have more RAM (I think 4GB is small amount of RAM these days) you can create what is called Ramdisk and to read/write files from there with amazing speed.

            1 Reply Last reply Reply Quote 0
            • T
              Trader3487 last edited by

              Tickstory does support mt4 600+ via this link: http://www.tickstory.com/files/tickstor ... 1.3RC2.zip
              I've also noticed improved performance in the new mt4 release, especially in compiling mq4 files.

              Thanks for the tips - Ramdisk sounds interesting 🙂

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

              Online Users

              V
              C

              17
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors