fxDreema

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

    Close all trades when the price returns to where one of them was opened.

    Questions & Answers
    2
    4
    194
    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.
    • K
      kamux last edited by

      Good morning group, I need help. I explain what I want to do:

      The price goes up and at a certain moment I decide to open a sale (operation 1), the price continues to rise and exceeds X pisp, so I decide to open another sale (operation 2), and so on until I have 6 open operations for sale. The price finally decides to come back in my favor. How do I make it so that when the price reaches the level at which trade 3, 2 or 1 (whichever I decide) was opened, all are closed?

      Attached image of an example where 5 operations are opened and when the price goes back and reaches the price where the 2nd operation was opened, all must be closed.0_1654274960183_ejemplo.jpg

      How do I tell fxdreema that when the price reaches one of my previously opened trades to close them all at that point?

      K 1 Reply Last reply Reply Quote 0
      • K
        kamux @kamux last edited by

        @kamux said in Close all trades when the price returns to where one of them was opened.:

        Good morning group, I need help. I explain what I want to do:

        The price goes up and at a certain moment I decide to open a sale (operation 1), the price continues to rise and exceeds X pisp, so I decide to open another sale (operation 2), and so on until I have 6 open operations for sale. The price finally decides to come back in my favor. How do I make it so that when the price reaches the level at which trade 3, 2 or 1 (whichever I decide) was opened, all are closed?

        Attached image of an example where 5 operations are opened and when the price goes back and reaches the price where the 2nd operation was opened, all must be closed.0_1654274960183_ejemplo.jpg

        How do I tell fxdreema that when the price reaches one of my previously opened trades to close them all at that point?

        The idea is that if I happen to have 3 trades open, and the price pulls back, they should all be closed when the price hits the first trade. If there are 4 open, they close if it reaches the 2nd, if there are 5 open, close all in the 3 and so on.

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

          @kamux You will definitely need a variable to store the open price you are looking for. That is easy. The problem is deciding when you consider price is 'moving back'. Because that can happen just one second after the trade was open. How much time is supposed to happen in between?

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

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

            @l-andorrà Thanks friend for replying.

            I thought that there was some simple way to identify the position of each open operation, since by variables, the design becomes very extensive. And to know when the price is returned there is no problem, since this is not required, it is only knowing if the price, after having open X positions, reaches one of the first open positions, that's all.

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

            Online Users

            Y

            18
            Online

            146.9k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors