fxDreema

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

    Hedging losses

    Questions & Answers
    2
    10
    609
    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.
    • P
      purelife173 last edited by

      In my ea the buy and sell orders are exclusive sets and close visa Versa. Note all trades close at once + buy and sells cannot be open simultaneously.

      There are also two groups... group 1 is the initial order
      And group 2 is accumulating/distributing.

      If I have the sum of the losses of my closed trades (group 1, 2, and manually opened trades) how do I use that value as The lot size of the next trade in group 1

      Or would it be better to use the sum of volume of trades closed at a loss because the sum of losses would be in money

      Most times when the trade close at a loss it's usually the spread

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

        @purelife173 Can you please share the link to your project?

        (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
          purelife173 last edited by purelife173

          https://fxdreema.com/shared/P7Rsniq2b

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

            @purelife173 The problem can be the amount of closed trades to review. Is there any limit or will all closed trades from the day the account was open to be considered?

            (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
              purelife173 last edited by purelife173

              Yes all closed trades in a loss after the last candle has to be considered once (on tick).

              group1 has to be in profit eventually so net profit of all trades are considered

              Maybe trades from the start of the ea

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

                @purelife173 Searching for all closed trades in the EA so far can be a mistake. Imagine you have thousands of them. That 'for each closed trade' loop will require a lot of time to search for them...every tick! Are you sure you need them all?

                (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
                  purelife173 last edited by purelife173

                  https://fxdreema.com/shared/qL2fT0E8b
                  okay then id like the sum the lot size of all open trades currently at a loss and less than cost (commission and swap)

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

                    @purelife173 That is easier to get:

                    0_1645087610050_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.

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

                      @l-andorrà In the last shared project I tried to sum the lot size of all open trades currently at a loss greater than or equal to 0.

                      I changed my idea since the first post to avoid processing many closed trades and instead work with the sum from the open trade. I then process that value to open a new trade when a specific instance occur

                      How ever I can't get the comment to output the correct value. Thanks so much I'll keep searching through the forums

                      https://fxdreema.com/shared/c8svvA1jc

                      it doesnt recalculate when some trades are in profit

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

                        Then you can try separating both variables like this example for another project I worked on:

                        https://fxdreema.com/shared/bKbTjhrse

                        In my example I'm counting pips from all open and closed traded and then I get the overall result. You can try the same for those trades in profit and 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.

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

                        Online Users

                        M
                        L
                        T
                        A

                        14
                        Online

                        146.8k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors