fxDreema

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

    How to close 75% in profits of total trades running

    Questions & Answers
    @fxdreema @roar @l-andorrà @jstap
    4
    12
    1268
    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
      Mdfaculty last edited by

      Please can someone help me on how to close 75% in profits and 25% in loss of all current trades running at a time?
      For instance if I have atleast 6 or more trades with 10pips distance from each trades all running in loss then this closing system should be engage when all the 6 or more trades are returning to profits, as soon as the it reaches 75% in profits, it should close all 6 or more trades.

      FX'Gnosis 1 Reply Last reply Reply Quote 0
      • FX'Gnosis
        FX'Gnosis @Mdfaculty last edited by

        @Mdfaculty for each position, pips away from open price, once per trade, close partial (mt5)
        look for similar terms in mt4

        30PIPS master

        1 Reply Last reply Reply Quote 1
        • M
          Mdfaculty last edited by

          @fx_boy that will not work the way i want. and maybe you didnt understand my question very well. out of 100% of trade running, i want to close whenever it reaches 75% in profits but it should only be executed when there are atleast 6 trades or more actively running.

          i tried using formula block but whenever it reaches six trade it just close i dont know what am doing wrong. i will share the link to my project here to help me check.

          1 Reply Last reply Reply Quote 0
          • M
            Mdfaculty last edited by

            here is a link to my project pro builders help me check https://fxdreema.com/shared/tj8VnPV3d

            1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà last edited by

              I'm not sure I fully get that 75% part. Do you mean that (when there are at least 6 open trades) at least 4 or 5 of them should be in profit and the rest in loss?

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

              M 1 Reply Last reply Reply Quote 0
              • M
                Mdfaculty @l'andorrà last edited by

                @l-andorrà yes that is what I meant

                M 1 Reply Last reply Reply Quote 0
                • M
                  Mdfaculty @Mdfaculty last edited by

                  @Mdfaculty said in How to close 75% in profits of total trades running:

                  @l-andorrà yes that is what I meant

                  That is if there is 6 trades only then when 4 or 5 are in profit which is about 75% profit of total trades it should close all 6.

                  If it is 7trades only then 5 or 6 trades should be in profit which is also 75% in profit, it should close all 7 trades. So there may be 2trades in loss and 5trades as profit taken. And so on and so forth.

                  Therefore the number of trades open should determine how many trades should close in profit and how many should close in loss but the profit should be 75% and the loss 25% out of 100% before it closes all trades. But the closing system should be active when it reaches at least 6 trades or more but if trades open is less than 6 it should let TP OR SL close it.

                  I couldn't get the formula block to do it or maybe I am doing wrong.

                  This is the formula I used to get 75% of total trades in profit

                  For instance,
                  Maximum floating profit/loss of 6trades= -$100,
                  75% or 0.75 of $100=75 which is desired profit
                  And the loss will 25. Close all trades.

                  Likewise if you use pips the same result.

                  How I used it in the formula block
                  If maximum floating profit/loss of 6trades=-$100
                  Divide the floating profit by maximum floating profit/loss
                  Let's say the floating profit reached+$75
                  75/100=0.75
                  Therefore whenever the formula block does this calculation and the result is 0.75, it should close all 6 open positions.

                  The result 0.75 is the 75% of profits.
                  Do you understand now?

                  l'andorrà 1 Reply Last reply Reply Quote 0
                  • l'andorrà
                    l'andorrà @Mdfaculty last edited by

                    @Mdfaculty You can do it with current profit/loss instead of trades. If I get your idea correctly, you just need to close all trades when the global profit right now is $75.00. You don't need to count trades, simply close all of them when that profit is hit by using this block:

                    01.png

                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Mdfaculty last edited by

                      The block works but it is not dynamic. It is fixed. If I change any setting's in the EA. I will have to do a new calculation...Thank you. I hope to get more dynamic way to do that.

                      l'andorrà 1 Reply Last reply Reply Quote 0
                      • J
                        Jeson C. last edited by

                        Are you asking if all open trades should have a total of 75% profit? If so, here's a possible translation:

                        If this is the case, then the following variables apply:

                        balance * 0.75 = target_profit
                        target_profit + balance = target_balance
                        Then, you can use the following code to close all open orders when the equity is greater than or equal to the target balance:
                        if (equity >= target_balance) {
                        close all open orders;
                        }

                        Mechanical Engineer and Software Master
                        Mr. Jeson C.

                        1 Reply Last reply Reply Quote 0
                        • l'andorrà
                          l'andorrà @Mdfaculty last edited by

                          @Mdfaculty You can always create a Constant that can be embedded into the block so you can use different values as an input parameter.

                          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jeson C. last edited by

                            I get really annoyed by people who comment just to reply.

                            Mechanical Engineer and Software Master
                            Mr. Jeson C.

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

                            Online Users

                            N
                            L
                            A
                            E
                            B
                            P
                            S

                            20
                            Online

                            146.6k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors