fxDreema

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

    How can I store the profit of any current open trade in variables?

    Questions & Answers
    3
    8
    1213
    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.
    • G
      guille4 last edited by

      I need to store the profit of a trade in a variable, but I have multiple trades. I give an example: I have 5 open buy trades, and I need to take the profits (or loss) of the oldest trade and the most recent trade, and store those values in two different variables. In my example, if I have 5 buy trades, I want to store in variables the profits of trade number 1 (the oldest) and trade number 5 (the most recent). I can't figure out how to do it. Can somebody help me?

      V l'andorrà 2 Replies Last reply Reply Quote 0
      • V
        vonmunchy @guille4 last edited by

        @guille4 not sure why you want to store the values of profit with open trades. If your trying to get profit/loss of current trades. You can use the unrealized block.

        If not sure if this is what your trying to do but if your trying to close positions when it reaches a certain amount while already having positions that had closed due to sl/tp. In that case you cant use the above block. This is what i use and works well for me.

        https://fxdreema.com/shared/yWAvHYH7d

        Know that there are cunning manipulative idiots who only looked for themselves. Who will come to seek what you know and the moment they learn a little they claim to be a master and think they know what they are talking about.

        The perfect example is in this platform named Tipsy Wisdom. From someone who didn't know what constant variable or back testing, rather a letteral noob when it came to algo trading, spent 2 months learning from ME for FREE OF CHARGE and is now self proclaimed teacher with a discord group who will take your money to build EAs claiming it will give you a Edge 🤣

        When his arragonce is beyond tolerant and decided to discard any and all work spent teaching the idiot, he decides to write a sympathy signature claiming the poor sad innocent guy was burnt and played for a fool WHEN HE SHOULD BE THANKFUL IN MAKING PROGRESS WITH ALGORITHM TRADING. 🤷

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

          @guille4 Do you only need the oldest and the most recent or there can be other combinations?

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

          G 1 Reply Last reply Reply Quote 0
          • G
            guille4 last edited by

            I need store just the oldest and just the newest profit (or loss) of a group of trades (buy or sells).

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

              @l-andorrà I need store just the oldest and just the newest profit (or loss) of a group of trades (buy or sells).

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

                @guille4 You can do it this way:

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

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

                  @l-andorrà muchas gracias andorrano, funcionó perfecto !!

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

                    @guille4 No hay de qué. Fué un placer. 🙂

                    (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

                    A
                    R
                    S
                    M
                    P
                    R

                    24
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors