fxDreema

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

    Importing a mq5 file creates a mq4 project, NOT mq5

    Bug Reports
    2
    2
    1482
    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.
    • FXFun
      FXFun last edited by FXFun

      Since I didn't see a mq5 project after the import, I happened to try to import the mq5 file several times.

      Later I made developments to the EA, but then I understood I was randomly working with several different projects, with the same name, but different Magic numbers.

      So, now everything is just a confusion and a mess.

      I don't know which project to delete or keep, since I made developments a little here, a little there, before I realized it's not the same project anymore.

      I am sure the function should be that importing a mq5 file should create a mq5 project, and not mq4, right?

      I might add that the mq5 file came from a conversion with your tool, to convert from mq4 to mq5.

      My intention was to not recreate my whole mq4 project as a mq5, but simply convert it, and then re-import the mq5 file as a mq5 project and continue developing for MT5. Smart, I thought, but not, so far. 😉

      This happened 2017-09-05.

      Life is FUN - when you have control over it. Take control over FX & Have FUN all the Time! :-)

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

        When you import a file, the language (MQL4/MQL5) is decided while you are doing that. I can't remember exactly... maybe because of the file extension of the input file or most probably by getting information about that from the embedded project information.

        When you generate .mq4/.mq5 file from fxDreema, the project data is embedded at the end of that file and it looks like a big comment with letters. Then when importing, this data is read only. And in that data there is information about the language.

        If you want, you can have MQL4 project, copy its blocks and paste them into a new MQL5 project. And then check that everything works, because there are few differences here and there.

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

        Online Users

        L
        S
        A
        F

        8
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors