fxDreema

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

    Close all every profit 10%

    Questions & Answers
    2
    2
    444
    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.
    • N
      notiiz last edited by

      https://fxdreema.com/shared/2hP972VMc

      please suggest me to set it to close all order when equity +10%

      Ex. start 100$ when equity is 110$ close all and start again
      when equity is 11010% = 121$ close all and loop again
      when equity is 121
      10% = 133.1$ close all and loop again

      Thank you

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

        The block you are using now calculates the profit made out of a group of trades. This is not the actual account profit (Equity minus Balance).

        If you want to work with the account Equity, then use the Condition block. Something like this:http://prntscr.com/chp8ps
        But if you still want to use the blue block, then in "Profit amount" you can use the native functions AccountEquity() or AccountProfit(). For example, you can try with value such as: AccountBalance() * 0.1. If the balance is 1000, then the result of this calculation will be 100.

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

        Online Users

        M
        L
        T
        A

        18
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors