fxDreema

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

    How can i display the right profit on chart?

    Questions & Answers
    4
    21
    3712
    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.
    • F
      fxmich78 last edited by

      Hello,can anyone advice how to display the profit from each bucket of trades on chart?
      (In the below example is my effort but when i have more than 2 trades it does not show the total bucket profit.
      0_1616485718630_1616239881331-ex.png

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

        @fxmich78 Do you mean open or closed trades?

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

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

          @l-andorrà
          I mean closed trades.

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

            @fxmich78 Can you please share you 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.

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

              @l-andorrà
              https://fxdreema.com/shared/n84jXUs3c

              F 1 Reply Last reply Reply Quote 0
              • F
                fxmich78 @fxmich78 last edited by

                @l-andorrà
                I shared my project.
                Any suggestions please?

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

                  Hi @fxmich78 ,

                  I made a setup for you.

                  I used 'For each closed' block and some variables to collect profit of 'n' number of buy/sell trades.

                  Just a reminder; variables are kept in memory, so if the terminal restarts or EA re-initiates (not sure, did not tested) it flushes.

                  So this setup will calculate profit for 'n' number of closed buy/sell with commission & swaps until the variables flushed in above cases.

                  0_1616600633744_fxmich78.jpg

                  I hope it helps.

                  Regards.

                  notify: @l-andorrà

                  F 1 Reply Last reply Reply Quote 1
                  • F
                    fxmich78 @paragorundu last edited by

                    @paragorundu
                    First of all MANY THANKS!
                    I will try to make it and test it.I will get back for feedback.Thank you once again!

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      fxmich78 @fxmich78 last edited by

                      @paragorundu

                      Unfortunately i do not receive proper results..
                      0_1616603505601_index.png

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

                        @fxmich78 can you share the project?

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          fxmich78 @paragorundu last edited by

                          @paragorundu
                          https://fxdreema.com/shared/OiWoLDize
                          here you are

                          P F 2 Replies Last reply Reply Quote 0
                          • P
                            paragorundu @fxmich78 last edited by paragorundu

                            @fxmich78 ok I found it.

                            In your draw text block, you have to use 'ClosedTradesProfit' variable instead of 'ClosedTradesCount'.

                            Please update it and try again.

                            By the way, you can remove this:
                            0_1616609807378_fxmich78_mod1.jpg

                            1 Reply Last reply Reply Quote 0
                            • F
                              fxmich78 @fxmich78 last edited by

                              F
                              fxmich78 36 minutes ago

                              @paragorundu

                              i am sorry,i used this also.
                              It does not work.
                              Actually,the screenshot with the minus profit is with ClosedTradesProfit.

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

                                @fxmich78 you killed me bro! 🙂

                                Please apply the setup as I advised.

                                I found the difference. You used 'For each trade' instead of 'For each closed trade' block.

                                Things should start working properly.

                                0_1616613278846_fxmich78_mod2.jpg

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  fxmich78 @paragorundu last edited by

                                  @paragorundu
                                  LOL

                                  I am sorry!!!

                                  thank you very much!!!

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

                                    NP @fxmich78 😉 You're welcome.

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Gary 0 @paragorundu last edited by

                                      @paragorundu thank you. I am looking for such a solution too. Thanks

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

                                        hi, how do i limit the profit to just 2 decimal place?

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

                                          nevermind. solved.

                                          just add "NormalizeDouble($,3) " in "adjust" within the text box block

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

                                            sry, this didnt work accurately. when there are more than 1 position, where at least one is negative, the sum of the total profits would be inaccurate

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

                                            Online Users

                                            N
                                            L
                                            A
                                            M
                                            B
                                            E
                                            S
                                            M

                                            26
                                            Online

                                            146.6k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors