fxDreema

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

    Table that adds the profits and losses of Purchase and Sale

    Questions & Answers
    2
    8
    521
    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.
    • R
      Rodrigo Ortuzar last edited by

      Hello, can you help me create a table that adds the profits and losses of Purchases and Sales and that is shown on the graph.
      Surely it is with modifying variables but how to obtain the profit or loss of each of the open positions of purchases or sales?

      Affectionate Rodrigo

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

        @rodrigo-ortuzar Pink for each trade with a variable under and a trade loop inside will give you an individual trade price, bucket of trades block will give you average of all running, not sure how to put this into a table though.

        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! 😊

        1 Reply Last reply Reply Quote 0
        • R
          Rodrigo Ortuzar last edited by

          Hi @jstap, I share with you what if I managed to do with three elements total purchases, total sales and general total and placed on the graph. https://fxdreema.com/shared/iZT5i6uF
          But I did not understand how to do it as you tell me if you can share an example. Am I missing the profitable and losable buy and sell positions?

          Thank you very much Rodrigo

          Affectionate Rodrigo

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

            @rodrigo-ortuzar What I meant by loop is in the picture, not sure if you can have more than 1 bucket before the comment, if it works though it's good.

            0_1645632165249_e17f454e-b1ea-4458-8ffa-a57022230b11-image.png

            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! 😊

            1 Reply Last reply Reply Quote 0
            • R
              Rodrigo Ortuzar last edited by

              @jstap If yours is good and the difference in results is that mine includes Sawp, the difference is very minimal. The help I was referring to is how to differentiate the profitable ones from the losses within purchases, for example, is this what I need?

              Thanks

              Affectionate Rodrigo

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

                @rodrigo-ortuzar I think for each closed trade with a blue check closed trade profit, if > 0 = win, if< 0 = loss. means lot of work to get this working though.

                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! 😊

                1 Reply Last reply Reply Quote 0
                • R
                  Rodrigo Ortuzar last edited by

                  Look at this AE, it is for open positions and I think it fails because I don't know how to add each position to the variable, could you help me in this step.
                  https://fxdreema.com/shared/33DgSzpqb

                  Affectionate Rodrigo

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

                    @rodrigo-ortuzar bucket won't work under pink, need to use trade/order in loop:

                    0_1645643614389_f48a3d4d-655a-43fd-9da8-406fd71c6b47-image.png

                    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! 😊

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

                    Online Users

                    H
                    H
                    G

                    14
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors