fxDreema

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

    How to stop trading after a pre-defined Equity profit!!

    Questions & Answers
    2
    9
    472
    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
      Shamimbiss last edited by

      Hello.

      I am wondering if there is a way to tell my EA to stop the trading daily after achieving a certain amount of a daily profit, and start again next day!!

      I tried this method in the attached example. it looks not logic or not working!!,
      Could you please advise me if there are better approach.!

      Thanks

      https://fxdreema.com/shared/KNqvbkxqd

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

        above buy/sell tree - check profit (period of time) < day profit - place trade
        If you want all trades to close if profit is made - separate tree - check profit (period of time) > day profit - close

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

          Thanks for your kind replying, actually I wanna stop the trading after achieving a profit target, not to close any profitable ongoing trades, because many times after a strong market movement, will be a long and strong period of undesired volatility!!

          1 Reply Last reply Reply Quote 0
          • S
            Shamimbiss last edited by

            Sorry. I miss understand your answer, It is good approach to use (check profit period of time). but as I have seen, it just define a profit as a money, any method we can use it as percentage (for example 20% profit).
            Thanks again!!

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

              Then don't close them, you will need other blocks saving the %, for example start day balance = x.xx, x.xx /100 *20 saved in a variable is 20%, use the variable in the check profit 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! 😊

              1 Reply Last reply Reply Quote 0
              • S
                Shamimbiss last edited by

                Can you show me a simple example please!

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

                  https://fxdreema.com/shared/TwJ6eEgvd

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

                  1 Reply Last reply Reply Quote 0
                  • S
                    Shamimbiss last edited by

                    Thank you very much, that is exactly what I was looking for!!

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

                      @Shamimbiss 👍

                      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

                      A
                      A
                      L
                      G
                      N
                      S
                      E
                      S

                      24
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors