fxDreema

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

    Fractal Creation - Errors will not compile

    Questions & Answers
    3
    7
    934
    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.
    • V
      VanceDavid last edited by

      Compile on MT4
      Shared Project Link: https://fxdreema.com/shared/QjvK4jBnd

      Goal : Identify Up and Down Fractals

      I have created blocks to identify fractal patterns however there are compile errors. I don't know how to set the appropriate setting and I don't understand the compile errors. I believe the logic flow is straight forward.

      Enclose is a Pic of the variable (They do not seem to come up in Shared Project)
      0_1614882901266_4bf52538-9497-4d95-b264-7616171ebebf-image.png

      Enclosed is a Pic of Compile Errors
      0_1614883152409_80-01 Fractals - Compile Errorsjpg.jpg

      Please help fix this EA.

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

        @vancedavid I spotted a couple things:

        • Your Min_CandleSize datatype is Int, not int.
        • If you use a variable in some field, you cannot tick the box to make it constant input:
          0_1614883734112_3f5c2670-61d3-42c2-814a-8fb6a3676357-image.png

        Btw, if you just want the basic fractal indicator, its available in the indicator drop-down

        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

        V 1 Reply Last reply Reply Quote 0
        • L
          LuciVuur last edited by

          In the shared project I cant see the Constants and variables definitions

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

            @roar
            Thank you for the help roar. So appreciated.

            Now I have made changes as best as I could understand your instruction and many errors have been eliminated.

            Enclose is the new Shared project: https://fxdreema.com/shared/A1rMEPnL

            I have updated the variables to:
            0_1614887740199_80 -01 Variables - Fractals.jpg

            Min_CandleSize Types was changed from: Type: Int to ...Type: int

            An error still exist when attempting to compile:
            0_1614887925211_80-01 Compile errors - Fractals.jpg.

            This is much better, thanks to your help.

            Any idea's on how to fix this last error. I just cannot see the solution?

            Thanks for your help Roar.

            Further, I have added a single system supplied

            Update:

            roar 1 Reply Last reply Reply Quote 0
            • V
              VanceDavid @LuciVuur last edited by

              @lucivuur

              Thank you for your input LuciVuur.

              Roar made a couple of suggested changes which I incorporated . They did help but not completely.

              I have updated the project. The variables are shown in the post as an image.

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

                @vancedavid said

                Any idea's on how to fix this last error. I just cannot see the solution?

                Its just the last check mark in block 10
                0_1614890125598_dcdf8da6-d816-4229-9aa6-31532401fb42-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

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

                  @roar
                  Thank you Roar.

                  I know some of my limitations and I am a really bad editor. I simply so not see errors. I guess it is because I speed read and my mind skips over so much; kind of like I am a bit blind. ( Reviewed the blocks probably 6 times and always missed the small check mark.)

                  I made the change and it compiles. Thank you so much. Once again you are the best.

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

                  Online Users

                  B
                  S
                  D
                  K
                  B
                  F
                  W
                  T
                  J

                  17
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors