fxDreema

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

    No Trade Function

    Questions & Answers
    2
    9
    1072
    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.
    • M
      mischa last edited by

      Hi guys I need to figure out how to tell my bot not to take anymore trades if a specific condition has been met.

      Once a new conditions gets met then I want it to start taking trades again.

      Thanks!

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @mischa last edited by

        @mischa Please, what is the condition for opening trades?
        Can you make an example? (screenshot or share a little part of your project)

        1 Reply Last reply Reply Quote 0
        • M
          mischa last edited by

          0_1576246437322_Screen Shot 2019-12-13 at 9.13.17 AM.png

          This is what my project looks like.

          The bot is buying based on a specific pattern at a specific time period. I need it to stop buying once a specific counter pattern happens.

          I'm not sure what function to use to do that.

          The "no trade" function seems to only check if there are any trades running but it doesn't stop the bot from opening new trades.

          Once that counter pattern shows up I need it to stop taking trades until a new patterns occurs.

          Thanks!

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @mischa last edited by

            @mischa The "no trade" block is the right block, if there is already a Buy trade, it will prevent to open another of it.
            Put the "no trade" block (specify filter by type ==buys) just before the "buy now" block

            1 Reply Last reply Reply Quote 0
            • M
              mischa last edited by

              I see what you mean but this is not what I am trying to do.

              What I want to do is irrelevant of whether or not there are any trades running.

              What I want the bot to do is to stop trading when a specific pattern shows up (That pattern is not related to the original entry pattern) until another different pattern occurs then it can start looking for the entry pattern again.

              I'm wondering if what I should use is the turn off block function but I have no idea how it works so I'm not sure.

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @mischa last edited by

                @mischa Oh, you can use "turn on" and "turn off" block according to your pattern, it can be?

                0_1576249385492_Cattura.PNG

                1 Reply Last reply Reply Quote 0
                • M
                  mischa last edited by

                  yeah I'm thinking this might be what I need to use but I have no idea how these blocks work.

                  Does anyone have an example of these blocks being used?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    ambrogio @mischa last edited by

                    @mischa This is just an example, blocks #32 and #33 stop your entry rules, then the block #34 and #35 restart trading according with your strategy

                    0_1576252401798_Cattura.PNG

                    1 Reply Last reply Reply Quote 0
                    • M
                      mischa last edited by

                      Awesome Thank You!

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

                      Online Users

                      H
                      G

                      10
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors