fxDreema

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

    check distance module

    Questions & Answers
    3
    10
    1345
    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.
    • P
      PipTheRipper last edited by

      I cant get the check distance block to work as intended.

      I use the ZigZag indicator to place a pending order at "ZigZag Low ID 1", but I want the distance between the current price and "ZigZag Low ID 1" to be X or more pips before placing the order.

      The EA does not open any pending orders with this block active. Can anyone spot what I am doing wrong? 0_1628077685331_Screenshot 2021-08-04 at 13.47.53.png

      L jstap 2 Replies Last reply Reply Quote 0
      • L
        LadyDolares @PipTheRipper last edited by

        @piptheripper Please share your project so that we can help you.

        1 Reply Last reply Reply Quote 0
        • jstap
          jstap @PipTheRipper last edited by

          @piptheripper Personally I find using blue blocks above blue blocks doesn't work too well. Put the second blue blocks separate and put a set flag true under orange, put a set flag false under yellow, put a check flag true above buy/sell and all should work.

          Learn fxDreema Without the Wait!

          My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

          The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

          Don’t miss out

          Click here➡️ https://mybook.to/fxDreema to get your copy today!

          Enjoy! 😊

          P 1 Reply Last reply Reply Quote 0
          • P
            PipTheRipper last edited by

            Here is a link to the project https://fxdreema.com/shared/6zzw4OjQc

            1 Reply Last reply Reply Quote 0
            • P
              PipTheRipper @jstap last edited by

              @jstap Never worked with flags before. I tried to do like this https://fxdreema.com/shared/VU9OTd7W but also doesn't work. You see what I do wrong?0_1628085849144_Screenshot 2021-08-04 at 16.02.54.png

              jstap 1 Reply Last reply Reply Quote 0
              • jstap
                jstap @PipTheRipper last edited by

                @piptheripper that is correct, just add a false flag from the yellow check distance, this will stop trades when incorrect distance, but allow when correct.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                1 Reply Last reply Reply Quote 0
                • P
                  PipTheRipper last edited by

                  Thank you so much for your help! However, I still cannot get the EA to open any orders. If I put a negative number as the value in the "check distance" block, the EA opens orders, but does of course open orders no mater the distance to "zigzag low ID 1".. I relly do not understand why. Do you see what is going on? https://fxdreema.com/shared/Gjv12yhhd

                  1 Reply Last reply Reply Quote 0
                  • P
                    PipTheRipper last edited by

                    I'm assuming that the value in the "check distance" block is measured in pips. Is this incorrect? 0_1628089079183_Screenshot 2021-08-04 at 16.56.52.png

                    1 Reply Last reply Reply Quote 0
                    • P
                      PipTheRipper last edited by

                      feeling pretty dumb:/ just noticed I hadn't changed the value from numeric to pips:)))) THANK YOU FOR ALL YOUR HELP @jstap . Working with flags opens new possibilities I was not aware of!

                      jstap 1 Reply Last reply Reply Quote 0
                      • jstap
                        jstap @PipTheRipper last edited by

                        @piptheripper Don't worry about it, we all have these moments and there is lots of options in FX to deal with. Glad I helped

                        Learn fxDreema Without the Wait!

                        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                        Don’t miss out

                        Click here➡️ https://mybook.to/fxDreema to get your copy today!

                        Enjoy! 😊

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

                        Online Users

                        M
                        K
                        F
                        Z
                        S

                        12
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors