fxDreema

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

    My EA Zigzag did not run as I want

    Questions & Answers
    3
    8
    3778
    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
      Ahlanbika last edited by

      Sorry, but once again I need your help here. Again I ask, if the language I couldn't understand well because I use a translator.

      All right! I include here a picture to explain my problem to make it more clear.0_1487687765975_GBPJPYM1.png

      I try to make a zigzag EA that can act as I would describe in the picture above. but I can't make it. I have run out of ways to make it buy or sell when the line of zigzag 5 touching the zigzag's line of 50.

      Thanks for the help and here my project.
      https://fxdreema.com/shared/2EWl3IOUd

      Hope I get a response from anyone here.
      and Please give me a simple example

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

        Well, I'm not a good friend with this indicator. I always need to remind myself how everything works. But if you don't know what exactly happens in that Condition block, put those values in a Trace block, so you can actually see them in realtime and decide how to compare them.

        I don't like blocks 9 and 10. Take a look at this: https://fxdreema.com/demo/mt4-wrong-closing-rule

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

          @fxDreema Thank you for answer. Although unable to solve my problem now, but, I believe that the fxdreema could resolve it at the future. I am fully convinced that zigzag indicator is the most perceptive, wise and complete among all indicator. Therefore I hope if there are solutions for my problem now.

          Thanks!

          M 1 Reply Last reply Reply Quote 0
          • M
            miro1360 @Ahlanbika last edited by

            @Ahlanbika
            you probably dont know how exactly zigzag works .... last leg is reapainting, so "current value" can never cross itself ... please run zigzag indicator in tester and see its behaviour ...

            Between trading and gambling is a very small gap, be careful.

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

              @miro1360 Thank you for your advice. I will try to see how its work by using tester. I am sorry for inconvenience you all.

              But I still hope if you can give an example about how to make pending in place that I mark in the picture above. I want after zigzag 5,1,0 while the opposite direction of zigzag 50,1,0 then the ea will be pending (limit) on place I mark with circle. For example, The EA pending will happen when the price has reached 130.481. See examples of image I attach above.

              I want every time when there is a turnaround I mean when there is sign of reversal then pending would happen. Despite the reversal occurred several times.

              So I will make this EA as EA for pending limit and not to open position on current time.
              I really hope.
              I'm sorry to trouble.

              1 Reply Last reply Reply Quote 0
              • M
                miro1360 last edited by miro1360

                actually it is problem 😄 ... because here is something like high ID , low ID and these IDs reprezenting high/low of zigzag ... but ID 0 means first High or Low ... and from core of this logic current ID is sometimes High 0 and sometimes Low 0 ... that means, you need some separated custom code which can detect previous High when (High 0 == current zz value) 😄 ...
                working with zigzag is really complicated and I dont recommend it for people who can not working with basics mql code, if you are coder you can resolve it but can take a lot of time ...

                0_1487927052125_upload-eb6a49b2-1921-4d2c-8503-c5527d0416e6

                and it is why this simple project can not working properly ....
                https://fxdreema.com/shared/ymOGQbagb

                Between trading and gambling is a very small gap, be careful.

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

                  @miro1360 Thank you! I will try to emulate the example you have provided and try it with tester before I start using to trade without caring.

                  Thanks once again to you and fxdreema.

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

                    @Ahlanbika Thank u very much! by the example you provide it above I feel i know now and begin understand. Thank you!

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

                    Online Users

                    M
                    M
                    E
                    Y
                    L
                    F
                    S
                    F
                    N
                    S

                    30
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors