fxDreema

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

    Assistant as close all if profit

    Questions & Answers
    3
    24
    1728
    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
      firooz last edited by

      Hello
      I need an assistant that close all positions If It reach determined profit in MT5.
      THanks

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

        Is simple create a project, paste shared link here if 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! 😊

        F 2 Replies Last reply Reply Quote 0
        • F
          firooz @jstap last edited by

          @jstap
          I tried but Unfortunately It didn't work
          https://fxdreema.com/shared/tN6KMR38d

          1 Reply Last reply Reply Quote 0
          • F
            firooz @jstap last edited by

            @jstap
            In Event section instead of "on Tick" I even "on Trade" arranged these block But It didn't work

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

              Looks like it should work, how are the trades being placed?

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

              F 1 Reply Last reply Reply Quote 0
              • F
                firooz @jstap last edited by

                @jstap
                manually placed and I need an assistant when I'm scalping and It quickly check profits and If It was positive close all positions.

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

                  It is because in most blocks you have a manually open setting, change all these and should work:

                  image.png

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

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    firooz @jstap last edited by

                    @jstap
                    I've done It But didn't work!!

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

                      Set tis up to place random trade on back test, that way you can see what happens in quick time

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

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        firooz @jstap last edited by

                        @jstap
                        I have tested in live trade But It didn't work .

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

                          Test on back test

                          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
                          • K
                            karthiiy @firooz last edited by

                            @firooz You said that the calls are placed manually but in your blocks you didn't select "Manual calls". So in ALL BLOCKS select the group mode to manual calls or both manual and automated.

                            Manual calls.JPG

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              firooz @karthiiy last edited by firooz

                              @karthiiy
                              I've done every selections but It didn't work . Even I moved all blocks in "on Trade" event sections But It didn't work. and I tested in live trade to close my all positions if My profit got positive . unfortunately It didn't work.

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

                                @firooz Im not sure how to want to close the calls but below is the simple step that when the desired profit reaches as per the input, it will close all positions.

                                https://fxdreema.com/shared/Iq7AtRdPb

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  firooz @karthiiy last edited by

                                  @karthiiy
                                  Thank you very much Karthiiy It worked.
                                  I think I just complicated the process by Loop blocks and They were unnecessary .
                                  You Know I want to put a stop-loss in my trade from my open order just to prevent about events like disconnect with Internet . and I'm trying
                                  Its link:https://fxdreema.com/shared/owpAXdY5

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

                                    @firooz I think you are again complicating with the blocks. Check profit (unrealized) can be used for SL also. If you give negative value it will take as stop loss. I never tried this but this is as per my knowledge. You can try and say what happens.

                                    https://fxdreema.com/shared/Iq7AtRdPb

                                    F 2 Replies Last reply Reply Quote 0
                                    • F
                                      firooz @karthiiy last edited by

                                      @karthiiy
                                      The problem is Loss is negative figure and the Block couldn't recognize minus figures and It didn't work

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        firooz @karthiiy last edited by firooz

                                        @karthiiy
                                        I 've made these blocks But It didn't work for stop-loss but in taking profit It works.https://fxdreema.com/shared/XlMWeMfW

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

                                          @firooz I had sent you the link in my previous reply but you made it wrongly in your EA.

                                          Connect the SL block to "If Position" block in orange.

                                          F 2 Replies Last reply Reply Quote 0
                                          • F
                                            firooz @karthiiy last edited by

                                            @karthiiy
                                            I didn't get you what you mean . your link was just for taking profit but for stop-loss I tried many blocks even in orange output .
                                            by any way Thanks for your help

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

                                            Online Users

                                            S
                                            A
                                            B
                                            A
                                            J

                                            13
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors