fxDreema

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

    Error while compiling MQL5 code which is converted by Mql4 to Mql5 converter

    Bug Reports
    2
    4
    465
    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.
    • F
      frdei76 last edited by

      Suddenly all my codes that I had converted using MQL4 to MQL converter and compiled without error shows 15 errors starting with: "identifier 'Bars" already used" when I try to recompile!!!!

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

        The compiler won't replace blocks. Any blocks that sat "trade" need to be manually replaced with the equivalent blocks that say "position"

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 1
        • F
          frdei76 last edited by

          It happened since 7/30/2025 when meta released new mql5 version. Even if you create an empty mql4 file without any block in it and convert it using fxDreema converter to mql5 when you try to compile it you get error!!

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

            I no nothing about it, go back to main page and contact support, may have an answer.

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

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

            Online Users

            E
            H

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors