No Trade Function
-
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!
-
@mischa Please, what is the condition for opening trades?
Can you make an example? (screenshot or share a little part of your project) -

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!
-
@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 -
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.
-
@mischa Oh, you can use "turn on" and "turn off" block according to your pattern, it can be?

-
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?
-
@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

-
Awesome Thank You!