fxDreema

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

    Importing Variables and constants

    Questions & Answers
    3
    8
    1751
    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.
    • J
      jzfusion last edited by

      I have created a long list of variables that I want to use in another project. What is the quickest way of importing them into the new project?

      roar L 2 Replies Last reply Reply Quote 1
      • roar
        roar @jzfusion last edited by

        @jzfusion I have the same problem.. Modifying the .mq5 file and importing back to the builder doesn't seem to work. Usually I just open 2 windows side by side and ctrl+c ctrl+v the whole circus

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        1 Reply Last reply Reply Quote 0
        • J
          jzfusion last edited by

          That's bronze age!

          1 Reply Last reply Reply Quote 1
          • J
            jzfusion last edited by

            I tried to modify the source code and add my variables in the global variables section but it still didn't pick up. I don't think it's that hard if you know what you're doing. I think a little guidance is what is needed. I will stay clear of the main code, just add my variables.

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

              Yeah I tried the same. You actually have to put your variable in 2 different places. Use the search function to find the places..
              But yeah, those variables still don't show up when imported back to builder...

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              1 Reply Last reply Reply Quote 0
              • L
                Leonvn @jzfusion last edited by

                @jzfusion
                Create new project. Import project with variables. Delete blocks. Still got your variables. This is the simplest way i could think of doing it.

                Hope it helps.

                J 1 Reply Last reply Reply Quote 2
                • J
                  jzfusion @Leonvn last edited by

                  @leonvn
                  That's very clever. Why didn't I think about that!
                  cheers

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Leonvn @jzfusion last edited by

                    @jzfusion
                    Let me know if you come across an easier method.

                    Good luck!

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

                    Online Users

                    J
                    E
                    T
                    E
                    B
                    A

                    19
                    Online

                    146.6k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors