fxDreema

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

    Self updating equity

    Questions & Answers
    2
    8
    2227
    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
      salahuddinonline last edited by

      Hi,  I need to use equity to close my trades, last time when balance and equity were equal,  want to close trade when equity is x plus, lets say  last time when balance and equity were equal (no trade running),equity and balance were 100.50 so close trade at 101.00 I could have used condition but dont want type again and again Can you help me out on Hi,  I need to use equity to close my trades, last time when balance and equity were equal,  want to close trade when equity is x plus, lets say  last time when last time when balance and were equal (no trade running),equity and balance were 100.50 so close trade at 101.00 I could have used condition but dont want type again and again
      .
      When no trade is running it should take equity
      And close trade when current equity is greater then last equity
      Can you help me out on this.this

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

        When there is no trade at all, Balance = Equity. When you open a trade the Balance stops moving and remains the same, while Equity shows the current amount of money you have. Balance stays the same until all trades are closed.

        In "Condition" you can use Balance, Equity or Profit, which is their difference (Equity - Balance). Again, these values show the general amount of money you have in the account. All trades can change them - trades made by the EA, trades made by another EA, trades made manually.

        There are few blocks that can extract profits from already closed trades: http://prntscr.com/c89vts

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

          I guess I couldn't describe it correctly.
          I have used "Condition"block,
          I could have used "Condition"Block with a Numeric Value but I don't want to put value again and again,

          Sometimes in a group of trade unrealized profit shows loss but if one compare it with starting equity it has a overall profit.
          doesn't matter what balance shows but ..
          If current equity is x pips greater then previous equity close all trades, I dont wanna put value in condition block again and again
          if previous equity 100.00
          Close trade when equity reaches 105.00
          Same goes again if equity is 105.00 then close trades at 110
          Every time when a group of trade close equity should be higher then last Equity and Ea should set equity+x( pips or deposit currency) as next target to close all running trade.
          I hope you understand.
          Regards,
          Salahuddin

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

            You can also use a Variable to store and get value from it. You can set the variable to contain the value of 100, then check that value as many times you want, and set it to 105 at any time.

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

              Sorry to say but I dont know how to use variables, and how to set such variables.
              I have seen examples of variables but I could not understand
              Can you give me any example except what have been given before in variables intro and examples .

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

                Variables explained: https://www.youtube.com/watch?v=aeoGGabJhAQ

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

                  Can you do me a Favour ?
                  I am unable to create a block with this condition would you care to make one for me ?+
                  What I want to get is ..
                  When ''No Trade is Running''
                  Put Value of Current ''Equity" in Condition Block
                  then add x Value as a Profit target
                  Close all trade when Target Equity Reached.

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

                    https://fxdreema.com/shared/UwzCjpEXd

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

                    Online Users

                    J
                    T
                    J
                    B

                    15
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors