Open Buy after x trade of Sell
-
Hello everyone
How to open one buy for every 5 sell trade? -
Check count
-
@Pheaktra-Capo As jstap says, just add this block:

-
Hello brother @jstap @l-andorrà
I know this block. This block activate 1 buy after 5 sell, and then will keep open buy after every one sell open
i want to open 1 buy after every 5 sell. Next 5 sell, open new one buy. and so on.
Ex: total 15 sell it mean 3 buy was executed. -
Then you need a trade counter. Every time a new trade is open, counter adds +1. Once the counter hits the number you need, a 'turn off' block can point to the block stopping buys or sells accordingly.
-
Hello brother. I see. I just fixed out something after your idea. Every Sell create, make variable Sell Count +1, when it reach 5 then open Buy and reset Sell Count back to 0
-
Exactly. Well done.
