fxDreema

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

    Compilation error ..

    Questions & Answers
    3
    7
    1305
    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.
    • Doppe
      Doppe last edited by

      Hi guys,
      I seem to get the following error .. is it me or ..?

      0_1524837427720_8606300a-396e-4ee2-b63e-599f90edd572-image.png
      Any help is greatly appreciated ..

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

        Try exporting to .mq4 (.mq5) and use the metaeditor to compile. It will give a more detailed error report, telling which block is the problem.

        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
        • Doppe
          Doppe last edited by

          Hi Roar .. gave that a go .. but I must admit that I can't make sense of what it's telling me ..
          Something to do with the "iCustom" function .. which I think is having issues in relation to the "atrPips" variable???

          0_1524905461175_056c8e39-865c-4a3e-8ae4-0709d06e2900-image.png
          0_1524905532483_dd9c3dba-af51-4271-ad64-b5208d6c0965-image.png
          0_1524905617555_2158f30b-f487-4359-89b2-fe216e0252a7-image.png
          0_1524905660499_00f185ee-dc76-4352-9ba5-3ac44bd1bc26-image.png
          0_1524905672198_e97acf74-9a59-479f-8852-b821c0a221fa-image.png

          It's beyond me .. does it mean anything to you?

          Again, any help is greatly appreciated ..

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

            I am not much of a MQL coder, but I think this is going on here:
            0_1524907601676_2d7b0d9b-b50d-4ab1-96c7-bb5e620dd404-image.png
            The comma after "iCustomName" means that there should be a fourth parameter to the function. Instead of the fourth parameter, the function ends with ")". That's why its saying "parameter missed".

            Try removing that useless comma after iCustomName.

            The warnings (yellow icon) dont mean anything really, I got 30 of them every time and my bot runs perfectly.

            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
            • Doppe
              Doppe last edited by

              Thanks roar .. that certainly did the trick .. I take my hat off to you ..
              From my position your MQL coding skills are legendary ..

              Again, thanks for your help.

              Now, to go and lose some money ..!!?

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

                Glad to help 🙂

                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
                • fxDreema
                  fxDreema last edited by

                  The code in question (where the extra , appears) is from 0_1525114137436_cf527b4b-5793-4722-b0d6-40fe1618072d-image.png
                  I will check it, but I think it's better to add the indicator in the system and work with it via "Indicators (My Indicators)"

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

                  Online Users

                  A
                  A
                  E
                  E
                  D
                  S
                  A
                  S
                  E
                  E
                  M
                  J
                  G

                  18
                  Online

                  146.8k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors