fxDreema

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

    Button that makes SL move closer to price

    Questions & Answers
    2
    17
    495
    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.
    • B
      BrianaM1 last edited by

      How do I make a button that makes the SL move a certain amount of pips closer to price?

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

        create button on init - on tick button pressed (condition block, button state == 1) - select trade with a pink for each trade block - move stops with a pink modify stopes block - re-draw button

        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 1
        • B
          BrianaM1 last edited by

          Thanks. Also is it possible to make an ea that doesn’t let trades exceed a certain amount of loss? Even a very small amount if any?

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

            Yes but how do you mean?

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

            B 1 Reply Last reply Reply Quote 0
            • B
              BrianaM1 @jstap last edited by

              @jstap
              The orders don’t loose more than a specific dollar amount.

              1 Reply Last reply Reply Quote 0
              • B
                BrianaM1 last edited by

                Also what’s the maximum I can set my orders to not lose?

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

                  Set a SL, or set a close trades when loss is too much

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

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    BrianaM1 @jstap last edited by

                    @jstap
                    How to do the close trades when loss is a certain amount?

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

                      various ways, condition block, profit < x.xx - close block

                      This will check the combined total profit and close all

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

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        BrianaM1 @jstap last edited by

                        @jstap
                        What’s the minimum loss I can possibly say for the trade to close?

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

                          It is your choice, doing it that way should account for the total profit, but you have a chance that things like slippage will cause a loss

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

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            BrianaM1 @jstap last edited by

                            @jstap
                            Wow that’s cool. So if I wanted I could say the max loss is 0?

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

                              If you set it to 0 it would try to close at breakeven, will likely cause a small loss though

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

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                BrianaM1 @jstap last edited by

                                @jstap
                                Even though it’s 0 it could still close at a loss?

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

                                  Yes because at breakeven price the close signal is sent, but by the time things close price may have moved into a slight loss

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

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    BrianaM1 @jstap last edited by

                                    @jstap
                                    Oh that makes sense, thanks.

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

                                      @BrianaM1 👍It could move into a slight win, but on average a loss is more likely

                                      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
                                      • 1 / 1
                                      • First post
                                        Last post

                                      Online Users

                                      E
                                      H
                                      R

                                      12
                                      Online

                                      146.7k
                                      Users

                                      22.4k
                                      Topics

                                      122.6k
                                      Posts

                                      Powered by NodeBB Forums | Contributors