fxDreema

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

    Compilation Error Message

    Questions & Answers
    4
    9
    1229
    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.
    • A
      Alphaandy last edited by

      Hi Everyone,
      When changing a condition number and giving it a new name I keep getting some error messages. These are along the lines of "size" - semicolon expected - does anyone have any ideas what I need to do to correct this?
      Thanks

      T 1 Reply Last reply Reply Quote 0
      • T
        trader.philipps @Alphaandy last edited by

        @alphaandy Need more details. May you share your project?

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • A
          Alphaandy last edited by

          Here's the link,

          Where it say's 2 next to the "Once a Day" condition I have set the time to 08:00 - 22:00 and have made it adjustable. When I click on " to change the heading to "Set time for Sell Trades" it kicks out the settings and produces an error. Hope that helps.

          https://fxdreema.com/shared/ZASlynLmd

          Still have more to do but don't want to move on until I can get the headings right to adjust the EA.

          Appreciate anything you can do. Thanks

          roar 1 Reply Last reply Reply Quote 0
          • l'andorrà
            l'andorrà last edited by

            I'm not a programmer so i will limit my help to what I see on your project and, as far as I can confirm, there is no problem on it. Is that the whole project or are you using some variables not included in your link?

            (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

            (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

            (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

            A 1 Reply Last reply Reply Quote 0
            • roar
              roar @Alphaandy last edited by roar

              @alphaandy
              Did you try to edit the heading like this:
              0_1570307522382_767d8ae6-ba67-494a-85c2-af07066eeeaa-image.png
              The grey part is the block ID, the EA uses that ID to process the logic. Spaces will mess up the code, so replace them with underscores.
              In any case, I think it is safer to modify the text on the green part, that does not play any role in the actual logic process. Just right-click to get that Edit title button:
              0_1570307744285_c002261c-54c0-42fe-a2f5-317070144791-image.png

              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

              A 1 Reply Last reply Reply Quote 0
              • A
                Alphaandy @l'andorrà last edited by

                @l-andorrà - Thanks for your reply-The problem is that when I change the heading the settings in the condition change back to the default when I first added it. Can't see why it would do this, also, this is by no means complete but just wanted to solve this issue before I add any more conditions.

                1 Reply Last reply Reply Quote 0
                • A
                  Alphaandy @roar last edited by

                  @roar - Thanks for your reply - I did try it like that so will add the underscores in to see if that solves the problem. If not then I'll try the heading of the block and see if that gives me the heading options that I need so that the title is correct . Currently when the EA is on the MT4 platform and I look at the properties it shows me "imp2_Ro_Value" and not the name of "Set time for Sell Trades".

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Alphaandy @Alphaandy last edited by

                    @roar - That's fixed the problem - I can now see the correct heading in the EA properties on the MT4 platform. Thanks for all your help. Something new learnt. I'll share the finished results when I'm done and you can take a look and play around with it for free for all your help. Not even sure it's gonna be any good but that's what is so great about this platform.

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

                      @alphaandy Glad it worked!

                      There's another solution - not using those tick boxes at all, to get the values visible on mt4. Instead, you can declare some constants and use them. You can freely name your constants, use same constant in multiple blocks, and they will always show up on mt4.

                      Import this to your builder to see how I made the constants:
                      0_1570358144834_x.mq4

                      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
                      • 1 / 1
                      • First post
                        Last post

                      Online Users

                      C
                      N
                      P
                      T
                      E
                      C
                      S
                      N

                      14
                      Online

                      146.9k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors