fxDreema

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

    when at BB upper line to put pending order 70 points above

    Questions & Answers
    4
    13
    120
    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.
    • H
      hueijia85 last edited by

      Hello,

      I am trying to make the EA put a pending order which is 70points above the Bonlinger band upper line, when the candle touches the upper bolinger line.

      what i did was draw a line at the bolinger upper band, then add 70points to it for the pending order to go in.

      However the EA just draw a line and stopped there..

      anyone can help? here is my link:
      https://fxdreema.com/shared/FHfp2Kxue

      thank you in advance!

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

        I think you want to change either one of these operands
        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

        1 Reply Last reply Reply Quote 0
        • B
          Byens last edited by

          maybe separate pips with 7 --> +7 pips

          https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

          1 Reply Last reply Reply Quote 0
          • H
            hueijia85 last edited by

            Hello @Byens and @roar , thank you just noticed i put both to above.. and i have the +7 and -7pips set in the condition to adjust .

            i amended the blocks.. now it draws the line correctly, but it does not open a trade which is 7pip below the pink line.. can i ask what did i set wrongly?

            here is my new link : https://fxdreema.com/shared/Y5fxl3Bcb

            1 Reply Last reply Reply Quote 0
            • H
              hueijia85 last edited by

              I am trying to make it draw a line when at upper bolinger band , then open a pending order which is 7pips above the upper bonlinger band.

              And same for lower bolinger, when the price is at lower, to draw a line and then open a pending trade which is 7pip below the lower bolinger band.

              image.png

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

                @hueijia85 remove your #16 and #20 condition block
                Put your 7 pips in "price offset" inside pending order block

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

                  EightCap.JPG

                  1 Reply Last reply Reply Quote 0
                  • H
                    hueijia85 last edited by hueijia85

                    @ambrogio , i notice it works fine for buy trades. but for sell trade, its opening at -70 instead of +70 above the line..

                    1 Reply Last reply Reply Quote 0
                    • H
                      hueijia85 last edited by

                      The line is at 1943.64, so it should open at 1943.64 + 0.70 = 1944.34
                      But it opened a sell at 1942.94

                      image.png

                      1 Reply Last reply Reply Quote 0
                      • H
                        hueijia85 last edited by

                        Here is my link : https://fxdreema.com/shared/qTNgykp5b

                        image.png

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

                          @hueijia85 since we are placing "limit" pending orders (below the price for buy and above the price for sell), we have to set negative price offset. So you have to put -70 points for sell also.

                          1 Reply Last reply Reply Quote 0
                          • H
                            hueijia85 last edited by

                            @ambrogio , thank you so much its working properly now 🙂

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

                              @hueijia85 you're welcome!

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

                              Online Users

                              S
                              S
                              A
                              N
                              F
                              Z

                              14
                              Online

                              146.8k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors