fxDreema

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

    compare And update Variable

    Questions & Answers
    4
    15
    382
    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.
    • E
      Elham last edited by

      Hello,
      please help me with the following problem

      I created a variable named maxprofit that I want its value to be updated in every tick so that it can be compared with current profit in every tick.
      How can I define this variable?
      and EA relative to this new variable value and compering them close positions

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

        How is that variable supposed to be calculated? What is it measuring?

        (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
        • S
          sktsec @Elham last edited by

          @Elham
          There are already blocks to check profit, and no need to reinventing the wheel

          1 Reply Last reply Reply Quote 0
          • E
            Elham last edited by

            Hello
            As you said, there are windows to check the profit at any moment, so I found these few in the picture.
            What I want is that considering that the variables can be changed, I need it save the highest profit touched in a transaction in itself, so that I can define in other blocks such as a conditions that compares the current profit in each tick to the maxprofit of That special transaction (((Assuming we only have one open trade)))

            Now, due to the fact that the variable amount is updated every moment, I can compare this amount with my current profit , and when the (n) percent between these two gaps is created, I will exit the transaction.

            1 Reply Last reply Reply Quote 0
            • E
              Elham last edited by

              👀 Please someone help me in this matter
              In addition, I do not know how to attach the photo taken from the open windows discussed above?😅
              I hope someone CAN solve this problem

              E l'andorrà E 3 Replies Last reply Reply Quote 0
              • E
                ehsan1362 @Elham last edited by

                @Elham
                Hello, if I understood correctly, what you should do is to first define your variable, then set a condition that if a new variable comes and is larger than your variable, it will be identified as a larger variable, which is also possible with the definition of a larger variable in new variable

                E 1 Reply Last reply Reply Quote 0
                • E
                  ehsan1362 @ehsan1362 last edited by

                  @ehsan1362
                  Of course, don't forget to reset the variable after doing the whole process

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

                    @Elham You can share the link to your project this way:

                    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.

                    E 1 Reply Last reply Reply Quote 1
                    • E
                      Elham @l'andorrà last edited by

                      @l-andorrà
                      I know how to share the project but what I wanted to show you were the blocks related to profit and percentage.
                      My question is not about a specific project, this is an idea that I have and it can be implemented in any project with any strategy and be a part of it to prevent big losses, so I wanted a photo of the desired blocks that you mentioned above ،اthat I want to Share you to see if I missed something? or is there any other blocks that I didn't see?

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

                        @ehsan1362
                        hi ehsan
                        You got it right
                        I know that I have to define the variable in such a way that every tick its amount that is updated and from this moment on, the comparison reference can be with the current profit of the transaction.

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

                          @Elham So if I get it right, you want to see on chart two figures. One is current price right now that will change from tick to tick and then the maximum profit that has bin hot so far regardless the current price. Is that correct?

                          (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
                          • E
                            Elham last edited by

                            Hiiiiiiii 😩
                            Can someone please answer my question?
                            Our talks remained incomplete and I did not receive an answer. I explained that I do not have a specific project . This is a way to avoid big losses. It can be for any project.

                            Please 👀

                            1 Reply Last reply Reply Quote 0
                            • E
                              Elham @Elham last edited by

                              @Elham yes you are right😃

                              1 Reply Last reply Reply Quote 0
                              • E
                                Elham last edited by

                                l'andorrà@ you got what I mean please Please guide me how to implement this concept in fxdreema

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

                                  @Elham Ok Then you need something like this for the profit at this moment:

                                  https://fxdreema.com/shared/bKbTjhrse

                                  This example is counting pips instead of money but you can change it accordingly. Please confirm it's doing what you need and we can move on.

                                  (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

                                  G
                                  J
                                  F
                                  G
                                  O
                                  Z
                                  M
                                  W

                                  22
                                  Online

                                  146.7k
                                  Users

                                  22.4k
                                  Topics

                                  122.6k
                                  Posts

                                  Powered by NodeBB Forums | Contributors