fxDreema

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

    As I calculate the exact price with the profit at 0, having many open positions with different sizes?

    Questions & Answers
    5
    19
    2594
    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.
    • alex222
      alex222 last edited by

      Hi everyone, I ask you if anyone knows how to visualize the exact price in relation to the profit of many open trades that have different distances, pips and sizes. I tried to use the bucket (average price) but the calculation is not accurate. It is not correct, because the average of the prices is not equal to the average of the profit. I need to know how to calculate (having many open positions with different sizes) the exact price of the profit at 0 €.
      Please have been trying for 2 weeks, but I can't
      AleX

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

        @alex222 I'm not completely sure what you exactly mean. Can you please provide a numerical 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.

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

          ![alt text](image 0_1606767899076_Immagine 2020-11-30 212346.png url)

          Please see the photo, I have a bucket with all these operations.
          How do I know the exact price when it will reach € 0.27 (or € 0.00)?

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

            @alex222 You can get it this way:

            0_1606837973614_01.png

            This structure will search for all open trades right now and will wait until profit is the amount you want. Below that second block you can connect a 'close trades' block and that will close all your open immediately.

            (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
            • P
              paragorundu last edited by

              Hi @alex222 ,

              If I get you right, you need the average profit of open trades, related to their open price and the lot size; which is calculated via block named 'Check profit (unrealized)' with the example setup below.

              In this example, buy trades are treated as a position. Their lot size and the open prices are considered in calculation of average open price of all open buy trades. You can configure money or pips as your profit target (or to take whatever action desired).

              0_1606844813430_Capture3.JPG

              I hope this helps.

              Regards.

              Notify: @l-andorrà

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

                hi guys, thanks for the answer. This module, I had taken into consideration, but it does not tell me the price, It just makes a comparison.
                I want a price that I will then put on the Take Profit.
                I really think this module is missing 😞 if you have other ideas I accept them

                M P 2 Replies Last reply Reply Quote 0
                • M
                  miki @alex222 last edited by miki

                  @alex222 Try This in a bull market moment or change sell grid with a buy grid Average_Price.In this case we have only one grid with one position type.

                  D 3 Replies Last reply Reply Quote 0
                  • alex222
                    alex222 last edited by

                    Hi Miki,
                    the average of the prices is not equal to the average of the profit.
                    it is the same only if the grid has the same size and the same distances.
                    so i can't use it.
                    @paragorundu & @l-andorrà , understood what I need, but I need the exact price when the average reaches 0 profit. But it seems to me that this module does not exist.

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

                      @alex222 the distance between the orders does not matter because the price open of each is taken and the average price across all orders, based on volume is returned. The horizontal line marks profit 0. If you use mt4 change "For each Position" block with "For each Trade" block.

                      alex222 1 Reply Last reply Reply Quote 0
                      • alex222
                        alex222 @miki last edited by

                        @miki Miki, sorry
                        I did not notice your link, I try it

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

                          @miki
                          yesssssssssss works, you are great 🙂 🙂

                          1 Reply Last reply Reply Quote 0
                          • P
                            paragorundu @alex222 last edited by

                            Hi @alex222 ,

                            Yes, as far as I know there is no such block that simply provides such information. You need to use custom mql code to calculate that.

                            I think @miki 's solution is good for you 🙂

                            Regards.

                            1 Reply Last reply Reply Quote 0
                            • D
                              duepips @miki last edited by

                              hi, is possible this system add tp and sl?

                              @miki said in As I calculate the exact price with the profit at 0, having many open positions with different sizes?:

                              @alex222 Try This in a bull market moment or change sell grid with a buy grid Average_Price.In this case we have only one grid with one position type.

                              1 Reply Last reply Reply Quote 0
                              • D
                                duepips @miki last edited by

                                @miki hi, this code not work on mq4!!!

                                1 Reply Last reply Reply Quote 0
                                • D
                                  duepips @miki last edited by

                                  @miki said in As I calculate the exact price with the profit at 0, having many open positions with different sizes?:

                                  @alex222 Try This in a bull market moment or change sell grid with a buy grid Average_Price.In this case we have only one grid with one position type.

                                  Hi, this code not work on mq4, not load volume, results zero, and error formula divide

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

                                    @duepips But what do you exactly need?

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

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

                                      @l-andorrà said in As I calculate the exact price with the profit at 0, having many open positions with different sizes?:

                                      But what do you exactly need?

                                      the same function but on mq4

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

                                        @duepips Those blocks are the ones for mq4.

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

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

                                          @l-andorrà said in As I calculate the exact price with the profit at 0, having many open positions with different sizes?:

                                          Those blocks are the ones for mq4.

                                          ok, in fact it seemed to me precisely for mq4, now I try to load in on init, perhaps on tick it doesn't work with mq4, thanks

                                          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