fxDreema

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

    How to tell my bot to close all opened position once it has gotten to a certain profit percentage

    Questions & Answers
    3
    13
    470
    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.
    • H
      Humble_Fx last edited by

      i want to add a feature that allows my robot close all positions once the total profit of the running trades is up to a certain equity percentage.. Please help me if you can help me achive this

      below is shared link of my already created robot that i want to add the feature to:

      shared link: https://fxdreema.com/shared/OTHyImXyb

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

        Above no position - check profit (period of time) set to < value - in a separate tree check profit (period of time) set to > value - close trades, if you want to close all if value reached - separate tree at the start of the day, take balance or equity / 100 * by you % value

        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! 😊

        H 3 Replies Last reply Reply Quote 0
        • H
          Humble_Fx @jstap last edited by

          @jstap Thanks for replying but i really didn't understand it..

          Please, can you do an example for me and send me the shared link so i could study it

          1 Reply Last reply Reply Quote 0
          • H
            Humble_Fx @jstap last edited by

            @jstap I want it to be recurring... the idea is to create a robot that buys and sells when a bullish and bearish candle closes respectively and then it closes all trades if profit is made maybe a certain percentage of the equity or value.

            after it closes, it could still continue trading that way for all day

            even if its possible, i would also like to make it in a way that it keeps track of trades opened in each pair/asset and then closes all trade in that asset/pair when there is a certain profit made on the trades from that pair/asset while still holding other trades from other pair/asset

            1 Reply Last reply Reply Quote 0
            • H
              Humble_Fx @jstap last edited by

              @jstap Here is the shared link: https://fxdreema.com/shared/HfDl80KE

              Help me design it as it should be and drop me the shared link. I really will appreciate that..

              Thanks alot

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

                @Humble_Fx You can do something like this, for example to close all trades when equity is 3% in profit right now:

                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.

                H 2 Replies Last reply Reply Quote 0
                • jstap
                  jstap last edited by

                  What Landorra has shown does work, I don't use it because there is no start time, what you have is what I mean, what is not working?

                  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! 😊

                  H 2 Replies Last reply Reply Quote 0
                  • H
                    Humble_Fx @l'andorrà last edited by

                    @l-andorrà Thanks a lot,

                    Do i just leave it as a separate tree or i need to connect it to the main bot tree?

                    l'andorrà 1 Reply Last reply Reply Quote 0
                    • H
                      Humble_Fx @jstap last edited by

                      @jstap Okay.

                      So what i have now is good?

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

                        If you want to stop EA from taking new trades if day profit is reached

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

                          @l-andorrà I did it but i still need some help.

                          I want my bot to open a new position once a candle closes be it bear or bull

                          it should open new buy position anytime a candle closes bullish and open a sell trades anytime a candle closes bearish.

                          can i achieve it?

                          1 Reply Last reply Reply Quote 0
                          • H
                            Humble_Fx @jstap last edited by

                            @jstap I want my bot to open a new position once a candle closes be it bear or bull

                            it should open new buy position anytime a candle closes bullish and open a sell trades anytime a candle closes bearish.

                            can i achieve it?

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

                              @Humble_Fx It needs to be a separate tree AFTER all the previous ones have been executed in 'on tick' tab.

                              (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

                              E
                              J
                              T
                              J

                              21
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors