fxDreema

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

    Please help draw horizontal line on chart as maximum level to close trade and stop EA

    Questions & Answers
    2
    13
    369
    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
      Bodlony last edited by

      i want to create a maximum level in profit(100 pips) using horizontal line on chart, virtual level using a variable, then give it a condition when price reach at the level it will directly close trade and stop trade or terminate
      link

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

        @Bodlony https://fxdreema.com/shared/rXHUkArJd

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

          The chances of the object == candle 0 close is unlikely, even though this is the current changing price?

          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 2 Replies Last reply Reply Quote 0
          • B
            Bodlony @jstap last edited by

            @jstap Thank you for your quick response, but still not clear on how to set the the block. if there is a way to setup maximum level when price reach and stop trade or like switch off

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

              If you have the starting value, then adjust by + or - 100 pips and save this result, if price => or =< this number act how you need

              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
                Bodlony @jstap last edited by

                @jstap yes but i dont know how to save a starting value with variable please help to complete the block

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

                  To save the level I would need to know the reason, test with this modify variables block, candle 1 high into the variable you created (as a double) - comment block displaying the variable. You can then watch this change on backtest. Use this principle to get your starting level. When this is working add a second variable adjusted to +100 pips and add this to the comment, then you can use the values to place lines, so on test you can visually see what's happening.

                  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
                    Bodlony @jstap last edited by

                    @jstap Thank you for your reply, i try but i couldn't get a positive result. need the first trade to save value for 100pips and subsequent trades for every 10pips, and continue to trade until reach a maximum level of 100pips then the ea will terminate. please help show how to plot it

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

                      Pink blocks
                      for each parent trade - 100 pips away - add to position
                      separate tree
                      for each child trade - 10 pips away - add to position

                      Create this and share the link for any problems

                      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
                        Bodlony @jstap last edited by

                        @jstap Thank you, but this is giving too many multiple orders. block 2 as main with 100pips as maximum tp and block 20 as sub 10pips until reach 100pips level and terminate https://fxdreema.com/shared/aTCdzqgRd

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

                          You have parent trade in both blocks:
                          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! 😊

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

                            @jstap Thank you this worked because the order is not more than two at a time and bank profits https://fxdreema.com/shared/qhXOx11oe now i need to stop or terminate the EA at a certain level in profit either by pips or total amount equity balance

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

                              check profit (unrealised) will act at a set profit, check profit (period of time) will check the profit over time, < let trades be placed, > close all trades, use 2 trees to achieve this.

                              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

                              14
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors