fxDreema

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

    For Each Position Close, Please Help

    Questions & Answers
    5
    10
    710
    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.
    • T
      Temmy 25 last edited by

      Hi all,
      Please I need your help to correctly implement this idea:

      If the last closed trade(s) was triggered by stop loss,
      open a reversed position.

      This works well if just one trade was closed at the same time
      But if 2 or more trades were closed at the same time (for example, when 2 or more trades have their stop loss at the same price level) once stop loss is triggered all trades are close but only one trade is re opened in the reversed direction.

      I want the number of closed trades by stop loss to be the same number of reverse trades opened

      This is easy with Position Close block in the On Trade tab but that is currently not working

      fx.PNG

      1 Reply Last reply Reply Quote 0
      • T
        Temmy 25 last edited by

        I think only one reversed trade is opened because "Check Type (last loser)" block only loads one trade. The last loser.
        Is there a way I can make "For each closed trade" block to only loop trades closed by stop loss

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

          I think I can use For each closed trade -- Check how it was closed (stop loss) -- once per position -- sell now

          fx.PNG

          T 1 Reply Last reply Reply Quote 0
          • T
            Temmy 25 @Temmy 25 last edited by

            @Temmy-25 This is not also working as intended

            1 Reply Last reply Reply Quote 0
            • jstap
              jstap last edited by

              Never tried this, but try using the on-trade tab, position closed by SL, then pink to loop through each closed position, buy or sell, and check the closed time so the EA knows if it was recent, and check type so you know weather to buy or sell.

              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
              • l'andorrà
                l'andorrà @Temmy 25 last edited by

                @Temmy-25 The problem is working on Mt5. If you try the same structure on MT4 it will work. The problem is in fxDreema, sadly. 😞

                (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
                • T
                  Temmy 25 last edited by

                  It has been solved, position closed block now working correctly on On Trade

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MS_fxDreema @Temmy 25 last edited by

                    @Temmy-25 how did you resolved it?

                    1 Reply Last reply Reply Quote 0
                    • O
                      omid57de last edited by

                      I have exactly the same problem.

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

                        Can you please share the link to your project? It should work now.

                        (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

                        D
                        S
                        G

                        11
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors