fxDreema

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

    Clos All Trades when Equity > Balance

    Questions & Answers
    3
    6
    1200
    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.
    • C
      citiadvisor last edited by citiadvisor

      I want to close all trades when global equity or profit is 5% higher than the current balance.
      I tried as in the picture but it doesn't work.

      If someone can help me I would be very thankful.

      0_1591089538065_FXQ7.png

      roar 1 Reply Last reply Reply Quote 0
      • roar
        roar @citiadvisor last edited by

        @citiadvisor you want this:
        Equity > Balance * 1.05

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        C A 2 Replies Last reply Reply Quote 0
        • C
          citiadvisor @roar last edited by citiadvisor

          @roar It works, thank you very much.

          1 Reply Last reply Reply Quote 0
          • A
            antoniorenar @roar last edited by

            @roar how can i optmisation that imput... what kind of data in the paramet say free but dont work...

            roar 1 Reply Last reply Reply Quote 0
            • roar
              roar @antoniorenar last edited by

              @antoniorenar make a constant named factor and then just write that name in the adjust field:
              0_1591104798045_32aea7e9-f6e4-4753-8503-0e26e26b08c1-image.png *factor

              To optimize from -5% to +20%, for example, use values:
              start 0.95
              step 0.05
              stop 1.20

              Need small help? Tag me in your post
              Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

              1 Reply Last reply Reply Quote 0
              • A
                antoniorenar last edited by

                Thank you so much

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

                Online Users

                W
                M
                M
                A
                E
                A

                39
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors