fxDreema

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

    Average take profit times no positions

    Questions & Answers
    4
    11
    847
    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.
    • W
      willzed last edited by

      Hi, I'm having a bit of trouble implementing the take profit system I want. I want a TP that averages out a group/basket of trades timed by the amount of open positions.

      I can get it so it averages the TP across the group/basket, this is pretty simple, but I want it to times the target TP by the number of open trades in that group.

      For example:

      TP target is 10 PIPS per trade

      Buy trade 1 opened at 1.0000 (TP is 1.0010 but that never gets reached so I open trade 2)
      Buy trade 2 opened at 0.9980

      Now trade 1 has a TP of 1.0000 and trade 2 has a TP of 1.0000.
      Trade 1 will close at break even, trade 2 will close at +20 PIPS (10 pips per trade)

      ...and so on, obviously I'm thinking of more than 2 open trades at a time which means the TP needs to be averaged as new positions are opened/closed.

      Any suggestions? Thanks 🙂

      Q l'andorrà 2 Replies Last reply Reply Quote 0
      • Q
        q8carpenter @willzed last edited by

        @willzed Hello,

        What is the aim you want to get out of this? is it that you reach a certain amount of profit? If so, then the simplest thing you can do is is to use the following:
        Unless you had something else in mind?

        0_1624500807072_close all.png

        W 1 Reply Last reply Reply Quote 0
        • W
          willzed @q8carpenter last edited by

          @q8carpenter Hi, thanks for your reply,

          No I don't just want to reach a set amount of profit. The TP target would change depending on how many open positions there were, so I don't think your proposed solution would work. Let me try to explain again in a different way.

          The TP is +10pips x the number of open positions, example:
          1x open position TP is 10pips
          5x open positions TP is 50pips
          8x open positions TP is 80pips
          etc....

          So it would be something like this...

          Find how many open positions, find the sum (in pips) of the positions, set TP to 10 (pips) x the number of open poisons.

          This would mean my TP changes depending on how many open positions I have and the more positions the higher the overall profit.

          Thanks for any help, hope this is a better explanation!

          Q 1 Reply Last reply Reply Quote 0
          • Q
            q8carpenter @willzed last edited by

            @willzed
            If I understand you correctly, this may help

            0_1624588127195_bucket.png

            W 2 Replies Last reply Reply Quote 0
            • B
              biztet last edited by

              Hi @q8carpenter . The value 10 in Formula block is the value of what?

              Q 1 Reply Last reply Reply Quote 0
              • Q
                q8carpenter @biztet last edited by

                @biztet the 10 pips that you multiplied by the # of open position

                1 Reply Last reply Reply Quote 0
                • B
                  biztet last edited by

                  Oh, okay. I'll try it. Thanks @q8carpenter .

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

                    @willzed I don't get the logic. Why trade 2 should close at 20 pips target? Ig trade 1 is closed at BE, trade 2 got 10 pips, why adding 10 more?

                    (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.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      willzed @q8carpenter last edited by

                      @q8carpenter Super busy weekend here, will try it out ASAP and get back to you. Really appreciate the help, thanks 🙂

                      1 Reply Last reply Reply Quote 0
                      • W
                        willzed @q8carpenter last edited by

                        @q8carpenter Hey, sorry been at the other end of the country for family reasons and had no access to MT4 until today, hate asking people for help then not getting back.

                        Your solution wasn't exactly what I was looking for but pointed me in the right direction so managed to get what I wanted, thank you! 🙂 Think it was me who explained it badly anyway haha

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

                          @l-andorrà I was just trying to mimic the exit strategy of an EA I was using to try and find a 'worst case scenario' for when the market turns against it. I didn't create the original EA so not sure why it was made that way to be honest 🙂

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

                          Online Users

                          R
                          B
                          E
                          S
                          N
                          G
                          F
                          D
                          E

                          14
                          Online

                          146.8k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors