fxDreema

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

    Total gains or loss operations

    Questions & Answers
    2
    16
    1690
    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
      fabiobioware last edited by

      How to account for gains and losses from operations.
      I want to print on the screen, for example:
      Total Gainsr: 10
      Total Losses : 5

      I want the quantity, not the value.

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

        Do you mean trades or pips?

        (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
          fabiobioware @l'andorrà last edited by

          @l-andorrà trades.

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

            The you can create two variables, one for gains and another one for losses. Compare each closed trade if it is >0 or <0 to put the in one side or the other. Then create a loop to count them all headed by a 'For each closed trade' block.

            (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
            • F
              fabiobioware last edited by

              @l-andorrà said in Total gains or loss operations:

              The you can create two variables, one for gains and another one for losses. Compare each closed trade if it is >0 or <0 to put the in one side or the other. Then create a loop to count them all headed by a 'For each closed trade' block.

              can you give me any example with project on fxdreema?

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

                You can try this for the winners only and duplicate it for losers (not tested):

                https://fxdreema.com/shared/NFCWPM3Hc

                Please remember that you will need to limitate the maximum number of closed trades to seach by the 'For each closed trade' block.

                (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
                  fabiobioware @l'andorrà last edited by

                  @l-andorrà not working.

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

                    Then try this for loser trades only. And again, rememberf to use the limit of maximum trades accepted wherever relevant in the EA (no here):

                    https://fxdreema.com/shared/bx6PDQpId

                    (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 2 Replies Last reply Reply Quote 0
                    • F
                      fabiobioware @l'andorrà last edited by

                      @l-andorrà said in Total gains or loss operations:

                      Then try this for loser trades only. And again, rememberf to use the limit of maximum trades accepted wherever relevant in the EA (no here):

                      This did not work, because I use the trailling stop, so when the price is closed with profit by the trailling stop it means that the stop loss was touched to be closed, but it was a profitable trade and is counted as a loss.
                      Do we have any solution that looks at each gain or loss in the operation?

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

                        @l-andorrà Hi, I believe I got my friend,
                        I just include a condition under "For each close trades" to check if the gain on the closed trade was> or <than 0, if greater it adds +1 to the profit count if less it adds +1 to the loss count.
                        Now I will test it in the real market to see if the rule is respected.
                        Thank you very much my friend for your help.

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

                          You are welcome 😉

                          (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
                            fabiobioware @l'andorrà last edited by

                            @l-andorrà @roar @FXDREEMA
                            it works perfectly in the backtest, but in the real market it does not work, it is not recording and counting the amount of gains or losses. I tried to use it to test the "profit period of time" block and the result was the same, can you help?

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

                              Is this the same EA of your second thread?

                              (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
                                fabiobioware @l'andorrà last edited by

                                @l-andorrà yess

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

                                  Ok. Could you please forus on just one same thread, please?

                                  (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
                                    fabiobioware @l'andorrà last edited by

                                    @l-andorrà said in Total gains or loss operations:

                                    Ok. Could you please forus on just one same thread, please?

                                    yes, i will use the same.

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

                                    Online Users

                                    K

                                    11
                                    Online

                                    146.8k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors