fxDreema

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

    How to Terminate EA when Daily Target Profit (% or Value in $) is achieved

    Questions & Answers
    4
    10
    1186
    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.
    • B
      bablaasnani last edited by

      Hi I want to Terminate EA according to Profit Amount (in Dollars) or by Percentage of Starting Balance. How to do it, in Condition box the profit is Equity-Balance its current balance not starting of the day and I take many trades.
      I want EA to close all running trades and Terminate from chart when a target Profit is achieved.
      The on trade (event data) has a profit field too. How to use it for my purpose I don't know or can I do in some other way, please someone help is much appreciated.

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

        https://fxdreema.com/shared/d06qYRTAb

        Here is a simple steps which I did to check the Profit of the day and if it exceeds to 50 dollars then it will close running trades and then Terminate the EA. Is this OK. How to do for Percentage profit based

        E N 2 Replies Last reply Reply Quote 0
        • jstap
          jstap last edited by

          Why terminate when you can just stop EA until trading wants 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
          • E
            ehsan1362 @bablaasnani last edited by

            @bablaasnani use block check profit unrealized

            B 1 Reply Last reply Reply Quote 0
            • B
              bablaasnani @ehsan1362 last edited by

              @ehsan1362 Thanks for reply I have selected check profit period of time and set it 00:00 so that when target meets it counts daily trades.

              Does unrealized one only counts current running trades and not the today's closed trades ? I thought this mentioned in description so i not used it

              E 1 Reply Last reply Reply Quote 0
              • E
                ehsan1362 @bablaasnani last edited by

                @bablaasnani so you should use time filter befor the block: check unrealized profit

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

                  Thanks for Your replies this is solved

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    ehsan1362 @bablaasnani last edited by

                    @bablaasnani you're welcome

                    1 Reply Last reply Reply Quote 0
                    • N
                      nikdp31 @bablaasnani last edited by

                      @bablaasnani I want to Terminate EA according to Loss Amount (in Dollars)

                      Please Create for Loss.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bablaasnani @nikdp31 last edited by

                        @nikdp31 Hi whats your exact requirement ? Like closing trades according to running Losses or terminate EA According to closed trades Loss Count or According to Equity ?

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

                        Online Users

                        O
                        J
                        B

                        14
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors