fxDreema

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

    How to add a common TP price for a group of trades

    Questions & Answers
    6
    16
    2333
    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.
    • vish
      vish last edited by

      I have an EA that is simply based on DCA averaging. It will simply add more trades if the price goes against us. Every time an additional trade is entered, the EA will adjust the TP price for all trades; however, the TP price is always the same for all the EAs. I wonder how can I do something like this with fxdreema.

      Here is an example how it happens:
      0_1641114596619_e42c6c37-4c84-443e-8380-f591d5fedaa8-Screenshot_3.jpg
      See that both the trades have the same TP price.

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

        @vish You can calculate the new TP into a variable and then use this:

        0_1641123960666_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
        • vish
          vish last edited by

          I am aware of this block. My question is actually how you get this new TP price. Let's say you have 3 on going trades that were opened at three different prices and three different lot sizes. And under EA settings I can set a TP in pips. Let's say the TP is 10 pips. And then this EA calculates a TP price that will be a common average TP price while achieving 10 pips profit combining all three trades, their open prices and lot sizes.

          I can currently do it with Check Profit (unrealized) block:
          0_1641128469566_f51e801d-62e7-406b-ad44-7348a2ff9d2a-image.png

          But in this method, there is no TP line on MT4 and trades go on without TP line (TP is virtual). I want to calculate this price when a trade is opened and then place hard TPs on trades with the way you proposed with an "OnTrade" event.

          Can you help on this?

          U 1 Reply Last reply Reply Quote 0
          • XYON126
            XYON126 last edited by

            As @l-andorrà comments, you must create and calculate it with a variable, for better performance use the mql4 / 5 code block and create the variable and modify it in that block, there are no specific blocks already generated in fxDreema, you must create it yourself.

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

              @xyon126 Exactly, you will need a specific structure to do that. The only way to create a hard TP is calculating the proce value first and then use the pink blocks to put it on the chart.

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

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

                @l-andorrà Please how do I calculate the price value to use as a variable? Say my TP is 10 pips?

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

                  @betapips That depends on how that TP is supposed to be calculated. Will it be a fixed distance only? And from which reference price will it considered? Do you mean 10 pips from the first open price, for example?

                  (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 please can you how to do it?

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

                      @mdfaculty As I said one year ago, that depends on what you exactly want. 😉

                      (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à OK. Please can you tell me what the "create Area" is used for?

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

                          @mdfaculty It is used to include some blocks within that are supposed to be moved together when moving that area on the builder.

                          (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à that's all it does? Another question please how can I modify my open trade take profit to break-even or open price after going 15pips in loss?

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

                              @mdfaculty Yes, that is all it does. You will need a 'For each trade' block and then selecting the corresponding condition blocks below it. What conditions are specifically necessary for that.

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

                                @l-andorrà I did that by using three blocks after my buy or sell condition is fulfilled. Here is how:

                                1. For each trade block, connected to
                                2. Pips away from open price block(-15pips), connected to
                                3. Modify stop block(Take profit to Open price parent trade). (Note: I have this same three block setup added to the strategy except that the third block is "add volume block" which adds a trade every -5pips from current open price trade)
                                  My problem now is, it will only modify the first 3 trades to parent open price which is what I want but it doesn't modify the rest trades or every new trades that open should have the parent open price as take profit when the market goes more than -15pips in loss until it comes back and hit the parent open price which is now take profit and close all open positions whether it's a buy or sell. How can I solve this problem?
                                1 Reply Last reply Reply Quote 0
                                • U
                                  urielacosta @vish last edited by

                                  @vish do you still have access to this setup? I actuallly need exactly this.

                                  vish 1 Reply Last reply Reply Quote 0
                                  • vish
                                    vish @urielacosta last edited by

                                    @urielacosta Calculate a weighted average price considering different prices and lot sizes and then add a TP in pips to this WA price which should be the common TP. But you need to do custom coding. I never tried that on fxdreema.

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

                                    Online Users

                                    M
                                    M

                                    13
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors