fxDreema

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

    How to run 2 blocks having far numbers

    Bug Reports
    3
    13
    1982
    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.
    • F
      faiz43 last edited by faiz43

      Hello,

      I was trying to build a small EA with hedging strategy.
      I need to check " PIPS AWAY FROM OPEN PRICE" for my currently opened BUY & SELL OPTION. If it is more than 500 pips I need to check whether it is BUY or SELL. If it is BUY I need to take a new SELL position. If it is SELL I need to take a new BUY position.

      This is my requirement. The problem is I added 2 " PIPS AWAY FROM OPEN PRICE" block for my each BUY & SELL and kept it as wait till pass. When I do that it is stuck with my first block. Not going to the second block to check the condition.

      Please help me to resolve this or any alternative solution for this.

      1 Reply Last reply Reply Quote 0
      • F
        faiz43 last edited by

        0_1585173064135_Screenshot 2020-03-26 at 1.37.41 AM.png.
        It is stopping at Block 4 Now.

        1 Reply Last reply Reply Quote 0
        • F
          faiz43 last edited by faiz43

          0_1585173831781_Screenshot 2020-03-26 at 2.02.30 AM.png

          I tried this alternative option. But this is having 2 issues.

          1. It is stopping at block 5.
          2. The same PIPS AWAY is working for my newly opened SELL position at Block 5.

          I need to check PIPS away for the BUY & SELL in Block No.2&3 only. Also for whichever (Block 2 or Block 3) is crossing 500 PIPS away I need to take an opposite trade of the same.

          Please help me to sort this out

          X 2 Replies Last reply Reply Quote 0
          • X
            Xfire @faiz43 last edited by

            @faiz43 HI
            please share your project with the link.
            you can do in the project menu.

            That is not a bug, you should move this to "Answer&Question" category and other users can see your question

            IN GOD WE TRUST

            F 1 Reply Last reply Reply Quote 0
            • X
              Xfire @faiz43 last edited by Xfire

              @faiz43
              That blocks just run one time because you don't close position and block 1 never run again.
              Blocks 2 ;3 opened a position and block 1 stoped forever

              IN GOD WE TRUST

              1 Reply Last reply Reply Quote 0
              • F
                faiz43 @Xfire last edited by

                @xfire here is the link. https://fxdreema.com/builder

                Also please let me know how can I move this query to Question and Answer.

                X 2 Replies Last reply Reply Quote 0
                • X
                  Xfire @faiz43 last edited by

                  @faiz43 i think you can edit the first post and change it

                  IN GOD WE TRUST

                  1 Reply Last reply Reply Quote 0
                  • X
                    Xfire @faiz43 last edited by

                    @faiz43 please use the share project menu for creating a project link.
                    this link is builder base page

                    IN GOD WE TRUST

                    1 Reply Last reply Reply Quote 0
                    • F
                      faiz43 last edited by

                      I am sorry, I am just 2 weeks old in fxdreema.
                      Here is the updated link.https://fxdreema.com/shared/VzlAet27e

                      X 1 Reply Last reply Reply Quote 0
                      • X
                        Xfire @faiz43 last edited by

                        @faiz43 i think you can a little change and use it

                        https://fxdreema.com/shared/tplqMnTdb

                        IN GOD WE TRUST

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          faiz43 @Xfire last edited by

                          @xfire Thank You. It is working. Let me add some modification as per my requirements ( I dont need to close the old trades, need to open new trades by keeping the old BUY & SELL ) will please you for any further assistance required.
                          Thank you so much for your wonderful support

                          X J 2 Replies Last reply Reply Quote 1
                          • X
                            Xfire @faiz43 last edited by

                            @faiz43 I'm too new in Fxdreema. you're welcome

                            IN GOD WE TRUST

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jim5129 @faiz43 last edited by

                              @faiz43
                              You have to just delete the close trades block and reconnect orange lines, but if your not using stop loss then you will have to manually close the trades.

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

                              Online Users

                              M
                              2
                              M
                              M
                              N
                              B
                              A
                              B
                              S
                              E
                              W
                              M

                              31
                              Online

                              146.6k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors