fxDreema

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

    CLOSE ALL TRADES AT A PARTICULAR TARGET

    Questions & Answers
    3
    14
    336
    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.
    • N
      NZEFILI last edited by

      Good day. My Question is simple. I have 2 Group of trades, The Buy is Group 1, and then the sell trade is Group 2.
      So close all trades when running trades of Buy and sell Trades equals a particular profit Target. checks the startup balance for the day, then immediately the bot starts running, both closed trades and running trades, if all hits the profit Target. Close all trades.

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

        block, check profit (period of time) - close block, this will check profit made over a given time then close if reached.

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

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

          @jstap If the today target has been hit for the day, how do I terminate the bot for the day, then it resumes the following day

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

            you don't terminate you use 2 blocks, above your trade blocks < the goal amount, above a close block in a separate tree > goal amount

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

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

              @jstap Please can you show me a typical representation

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

                Basically like this:
                1cdf65e7-3f2b-4ce8-a163-ccd31be18253-msedge_7OEvpRjvR3.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! 😊

                1 Reply Last reply Reply Quote 0
                • B
                  Bogdaiki @NZEFILI last edited by Bogdaiki

                  @NZEFILI you can also "terminate the bot for the day, then resume the following day" with Set Flag and Check Flag.

                  • Once a day you Set Flag (textual) to ON
                  • Then Check Flag to be ON to run your system
                  • If your Take Profit target is met, Close all Positions and set a separate flag Set Flag to OFF. Trading will stop and resume next day when the flag is reset to ON again.
                  jstap N 2 Replies Last reply Reply Quote 0
                  • jstap
                    jstap @Bogdaiki last edited by

                    @Bogdaiki of cause you can... buy why...

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

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

                      @jstap said in CLOSE ALL TRADES AT A PARTICULAR TARGET:

                      @Bogdaiki of cause you can... buy why...

                      To stop trading for the day then resume next day.
                      Because I'm thinking in your example above all trades would close when profit is hit, then continue trading during the same day.
                      I also need to count TP and SL in pips, so I use Check profit (average), because Check profit (period of time) is doing it in Money only..
                      But maybe I'm wrong in my assumptions 🙂

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

                        It does exactly that, only allows trades if day profit not met then closes, you could not use the close section, and it would work the same if a trade closes above the value. It doesn't work for pips, a different multi block set up would be needed.

                        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
                        • N
                          NZEFILI @Bogdaiki last edited by

                          @Bogdaiki Please can you show me an Example

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

                            I can but get things working as you want, then if needed you can refine by changing set up's to use pips.

                            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
                            • B
                              Bogdaiki @Bogdaiki last edited by Bogdaiki

                              @Bogdaiki said in CLOSE ALL TRADES AT A PARTICULAR TARGET:

                              @jstap said in CLOSE ALL TRADES AT A PARTICULAR TARGET:

                              @Bogdaiki of cause you can... buy why...

                              To stop trading for the day then resume next day.
                              Because I'm thinking in your example above all trades would close when profit is hit, then continue trading during the same day.
                              I also need to count TP and SL in pips, so I use Check profit (average), because Check profit (period of time) is doing it in Money only..
                              But maybe I'm wrong in my assumptions 🙂

                              In that case your solution it's much cleaner and shorter - thank you 👍 ! Wondering how to make the Profit target for the day in pips instead of money though..!
                              I have it like in the imgage but have to test if the Profit resets to 0 next day.. (I'm not sure).
                              Bo-StoTactics-Cond-Day--01-11-2026_06_25_PM.jpg

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

                                Pips means regardless of lot size the trade will stop when enough distance is covered, so I see why it would make sense. But test with money, once working as you want you can upgrade the logic to pips, because at this point you will know the money value of a trade's action, so on the same lot you will see how many pips give the same result.

                                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

                                E
                                C
                                M
                                M
                                F
                                L
                                F
                                F
                                E
                                K
                                M
                                T

                                26
                                Online

                                146.6k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors