fxDreema

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

    Separate sum of negative and positive trades.

    Questions & Answers
    3
    13
    1175
    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.
    • OntradingX
      OntradingX last edited by

      Hi friends, I would like to know if anyone can give examples of how I can get positive and negative values separately from the trading bucket.
      Example:
      I opened 4 deals:

      trading 1 earned 0.10$ profit
      trading 2 I won 0.05$ and profit
      trading 3 I lost 0.05$
      trading 4 I lost 0.06$

      I want my EA to show the result on the screen:
      Sum of profits: 0.15$
      Sum of losses: -0.11$

      I'm trying different ways here on Fxdreema and I'm not succeeding.

      Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
      Site: https://www.ontradingx.com.br
      Youtube: https://www.youtube.com/@ontradingx
      Boa sorte a todos nós!

      English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
      Website: https://www.ontradingx.com.br
      Youtube: https://www.youtube.com/@ontradingx
      Good luck to all of us!

      OntradingX 1 Reply Last reply Reply Quote 0
      • OntradingX
        OntradingX @OntradingX last edited by

        @ontradingx
        my project https://fxdreema.com/shared/bxxStRQye

        0_1633889031931_sumoftradesincorrect.png
        strangely even the sum total is being done incorrectly by fxdreema.
        can someone correct me if my logic is wrong?

        Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
        Site: https://www.ontradingx.com.br
        Youtube: https://www.youtube.com/@ontradingx
        Boa sorte a todos nós!

        English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
        Website: https://www.ontradingx.com.br
        Youtube: https://www.youtube.com/@ontradingx
        Good luck to all of us!

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

          @ontradingx Do not use buckets of trades. Use variables instead. In this example you will store the value for winning trades:

          0_1634027379508_00.png

          Now simply mirror it for losers.

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

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

            @l-andorrà Thank you very much for your help, but what I want is to see the metatrader history.
            This example of yours doesn't search the history if the computer or VPs is shut down, so I was trying to use the business bucket to try to make the EA get the values already closed whenever it is put back on the screen, would you have any suggestions?

            Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
            Site: https://www.ontradingx.com.br
            Youtube: https://www.youtube.com/@ontradingx
            Boa sorte a todos nós!

            English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
            Website: https://www.ontradingx.com.br
            Youtube: https://www.youtube.com/@ontradingx
            Good luck to all of us!

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

              @ontradingx Then you can substitute that 'For each trade' block for a 'For each closed trade' block instead. However, the longer the history record the slower the EA will be. You should limit the number of closed trades to search for.

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

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

                @l-andorrà I understand, the biggest issue is that these "For each" blocks don't get data from a period, they get it by quantity and for what I need it must be a period.
                For example, I want to get the sum of all winning trades for today.
                I've tested it in every way and it doesn't work, I don't know if it's Fxdreema or Metatrader, it's disheartening.

                Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                Site: https://www.ontradingx.com.br
                Youtube: https://www.youtube.com/@ontradingx
                Boa sorte a todos nós!

                English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                Website: https://www.ontradingx.com.br
                Youtube: https://www.youtube.com/@ontradingx
                Good luck to all of us!

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

                  @ontradingx You can select candle time for your close trades this way:

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

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

                    @l-andorrà
                    https://fxdreema.com/shared/m6WUZy7pb
                    This is my project I'm testing, can you help me?
                    I only want to separate the current day trades.
                    But this is not happening.

                    Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                    Site: https://www.ontradingx.com.br
                    Youtube: https://www.youtube.com/@ontradingx
                    Boa sorte a todos nós!

                    English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                    Website: https://www.ontradingx.com.br
                    Youtube: https://www.youtube.com/@ontradingx
                    Good luck to all of us!

                    jstap 1 Reply Last reply Reply Quote 0
                    • jstap
                      jstap @OntradingX last edited by

                      @ontradingx Time is vertical price is horizontal, you can't have left operand as time and, right operand as price level.

                      Learn fxDreema Without the Wait!

                      My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                      The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                      Don’t miss out

                      Click here➡️ https://mybook.to/fxDreema to get your copy today!

                      Enjoy! 😊

                      OntradingX 1 Reply Last reply Reply Quote 0
                      • OntradingX
                        OntradingX @jstap last edited by

                        @jstap can you give me an example with a project or something? or screen prints?

                        Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                        Site: https://www.ontradingx.com.br
                        Youtube: https://www.youtube.com/@ontradingx
                        Boa sorte a todos nós!

                        English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                        Website: https://www.ontradingx.com.br
                        Youtube: https://www.youtube.com/@ontradingx
                        Good luck to all of us!

                        jstap 1 Reply Last reply Reply Quote 0
                        • jstap
                          jstap @OntradingX last edited by

                          @ontradingx I can but if you look at l-andorrà's picture it has time on left and time on right.

                          Learn fxDreema Without the Wait!

                          My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                          The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                          Don’t miss out

                          Click here➡️ https://mybook.to/fxDreema to get your copy today!

                          Enjoy! 😊

                          OntradingX 1 Reply Last reply Reply Quote 0
                          • OntradingX
                            OntradingX @jstap last edited by

                            @jstap and @l-andorrà
                            https://fxdreema.com/shared/RrTPKY0sb
                            Hello friends, I got what I wanted separating the blocks, unifying them the error happened.
                            I also used it in the condition (Close time Unix), it was more correct in obtaining the exact negotiations and values.
                            Thank you very much for your help, you were very friendly.

                            I hope this project helps someone in need.

                            Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                            Site: https://www.ontradingx.com.br
                            Youtube: https://www.youtube.com/@ontradingx
                            Boa sorte a todos nós!

                            English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                            Website: https://www.ontradingx.com.br
                            Youtube: https://www.youtube.com/@ontradingx
                            Good luck to all of us!

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

                              @ontradingx Great work. Thanks for sharing. 🙂

                              (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
                              A
                              F

                              12
                              Online

                              146.8k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors