fxDreema

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

    Why does the boolean block not open the sell order in the EA below

    Questions & Answers
    2
    14
    1143
    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.
    • OD
      OD last edited by

      https://fxdreema.com/shared/AGveM9nzb

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

        @od What boolean block?

        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! 😊

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

          @jstap In the modify variable block I've created a variable to store the open price level of the buy trade then in the condition block if the variable is same as current open price a sell should open. But it seems not to work that way.

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

            @od Boolean is true or false, i assume that variable is a double, your condition is always correct because they both get the same value.

            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! 😊

            OD 2 Replies Last reply Reply Quote 0
            • OD
              OD @jstap last edited by

              @jstap I wanted to place a sell order at the same price as the buy opening price.

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

                @jstap How else can the open price now be compared to the buy open price so that if they are equal a sell is opened. This one is part of a grid system where I want to buy and sell at the same time.

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

                  @od If every time, tee off the buy so it places a sell at the same time, alternatively market properties x<> open price.

                  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! 😊

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

                    @jstap Kindly if possible create an example

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

                      @od Here is a couple of examples.
                      :

                      https://fxdreema.com/shared/wQtInm7qc

                      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! 😊

                      OD 2 Replies Last reply Reply Quote 0
                      • OD
                        OD @jstap last edited by

                        @jstap Thanks for the example but in testing it could miss a trade or enter so much later. In this algo it should be nearly same price but most importantly same time.

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

                          @jstap I have these idea in the same EA where there will always be group (2) trades each 20 pips apart. My structure in block (16&23) only works the first time then it loses logic. How is it possible to open only one group (2) trade when price is retesting grid levels that already opened trades and group 2 trades are in existence at these levels.https://fxdreema.com/shared/hXJ8NAH2d

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

                            @od This is one thing I can't help you much with, haven't tried for a long time but I never got on well with the no order nearby blocks.

                            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! 😊

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

                              @jstap Might you have another suggestion ? It doesn't have to be the exact way I put it...is there a way to uniquely identify each trade apart from using group numbers

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

                                @od In the pink blocks you have pips away, you also have the option to only allow once per trade, or you can set for parent trade or current partial trade. One of these options should work but I have not used them much, I would setup a small project so I could back test each option, and find the one that works best for my needs.

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

                                Online Users

                                J
                                T
                                J
                                B

                                18
                                Online

                                146.7k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors