How to code a robot to take one trade at a time either a buy or a sell
-
Please, help me guys, I'm trying to build a robot to take trades automatically, I want it to take one trade at a time, if a buy trade is running, there will be no sell trade and vice-verser, no condition for the first buy or sell.
-
Just have a no trade block at the top of your block tree
-
Thank you GTOAT777, I do have a no-trade block at the top
-
What do you exactly mean by ''at a time'? Do you mean one trade per candle?
-
@Desco then that should have solved your issue because it will only run those conditions if there is “no trade”
-
Just add the "no position" block
-
@GTOAT777, @joefrey09 and @I'andorra Thank you all for the help.
-
You're welcome.