fxDreema

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

    how i do that in fxdreema in equity ?

    Questions & Answers
    3
    6
    1416
    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.
    • M
      Moon last edited by Moon

      hello
      my balance 100 $
      i want if my profits above 100 $ close all orders
      you tell me use condition account equity - balance
      you are right but if i use strategy hedge my equity all time will under 0 $
      So , its cant do what i say !!
      i want if add to my last amount equity ( the first work will be Deposit ) 100 $ then close all orders ,
      Ok if all orders close this mean become my equity 200 $
      Work again if my currently equity add on it 100 $ close all orders
      this mean become 300 And again >>>>>>
      how i can do that ?
      Note : the 100 Dollar i say it not must happen direct ( i mean if add 10 $ and next add 30 $ and next add 70 $ then happen 100 $ i want then close all orders

      thank you

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

        @moon
        Use a variable to store the previous balance:
        https://fxdreema.com/shared/LmbanX11b

        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

        M 1 Reply Last reply Reply Quote 2
        • M
          Moon @roar last edited by Moon

          @roar
          sorry i add new information look it
          Note : the 100 Dollar i say it not must happen direct ( i mean if add 10 $ and next add 30 $ and next add 70 $ then happen 100 $ i want then close all orders
          how i can do that with above
          thank you

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

            @moon
            We update the PreviousBalance variable at the point when there is no trades.
            When there are some trades, compare the current equity to the previous balance. If it is 100 units bigger, close trades

            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

            M 1 Reply Last reply Reply Quote 1
            • M
              Moon @roar last edited by

              @roar thanks this mean you projects work with my ask?
              thanks

              1 Reply Last reply Reply Quote 1
              • fxDreema
                fxDreema last edited by

                To make things simple, don't make hedging strategies. As I said so many times, these strategies only make things complicated and it seems that this topic is a proof of that. The whole idea of trading is to make one number bigger - the money you have. There is nothing magical in using opposite trade instead of SL. So it's better to just close the trade and continue with the real strategy.

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

                Online Users

                K
                M
                M
                C

                12
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors