fxDreema

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

    Don't open new trade after TP hit

    Questions & Answers
    3
    26
    2767
    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.
    • S
      sheeraz last edited by sheeraz

      Hello, I created an rsi ea that opens buy trades when the rsi exceeds 60 and sell trades when the rsi falls below 40. I've set a take-profit but no stop-loss. When the rsi falls below 40, the buy trade will be closed. When the rsi rises above 60, the sell trade will be closed. So the problem is, when the TP is reached, it opens another trade in the same direction. For example, if it opens a buy trade, when the TP is reached, it opens another buy trade in the same direction. I only want it once. If the TP is reached, I don't want to open another trade in the same direction. Please provide a solution.

      https://fxdreema.com/shared/lOOdQ1xB

      alt text

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

        @sheeraz On the on trade tab, trade closed by TP (purple block) set flag, on tick tab check flag before buy/sell, reset flag when you want new trade.

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

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

          @jstap alt text

          After this, what to do? I don't know what a flag is. I'm new here. Can you make it for me please?

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

            @sheeraz The flag is on the left in green, use set flag (bool/true/false), set to false under the purple block, on tick check bool flag before buy sell, reset back to true once per (daily) bar, or whenever you want trade to restart.

            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
            • S
              sheeraz last edited by

              @jstap Is this correct? https://fxdreema.com/shared/iTBFNRHBc
              alt text
              alt text

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

                @sheeraz The flag looks wright but you cannot share between buys and sells, you also need something to reset back to true.

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

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

                  @jstap How to reset back to true?

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

                    @jstap I hope you will help. I don't want to waste this EA.

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

                      @sheeraz A condition block, or a once per bar block with a flag block underneeth.

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

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

                        @jstap I am totally confused about where to add "once per bar block". I don't think I will be able to fix this. Can you please make this EA and provide me with the link? You can make it in seconds. Even though I am ready to pay you, I don't want to waste this EA.

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

                          @sheeraz https://fxdreema.com/shared/NHt7mvG9b you'll see haw to reset flag in here.

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

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

                            @jstap Is this correct? https://fxdreema.com/shared/JHZndBYmd
                            alt text
                            alt text

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

                              @sheeraz Looks good except check flag needs to be set to true:

                              0_1650744391685_e9fcb7e1-4af1-4fe2-b2ed-209254c52217-image.png

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

                              S 1 Reply Last reply Reply Quote -1
                              • S
                                sheeraz @jstap last edited by

                                @jstap Do you mean that the "check flag" of both blocks must be true?

                                Please check this out now: https://fxdreema.com/shared/OjNRGrJNd

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

                                  @sheeraz Yes so when TP hit trading stops until the flag is reset.

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

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

                                    @jstap Thank you so much. I will get back to you if I find any problems with this EA after subscribing to FXDREEMA. Right now I am in free mode and it is not downloading.

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

                                      @sheeraz I hope it what you looking for
                                      https://fxdreema.com/shared/niXNoQtKd

                                      Abbas

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

                                        @abbas25 No mate because this is not using the on trade tab for when TP is hit, check pose 2 above to see how is done.

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

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

                                          @jstap yes you right but as he want with his strategy

                                          Abbas

                                          jstap 1 Reply Last reply Reply Quote 1
                                          • jstap
                                            jstap @Abbas25 last edited by

                                            @abbas25 He already had an EA doing this but if TP hit it place another trade, I showed how to stop trade once TP hit.

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

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

                                            Online Users

                                            M
                                            N
                                            G
                                            H
                                            S
                                            E
                                            G

                                            17
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors