How to make my bot to take just a position
-
i want my bot to work in such a way that it takes a position and if it hits tp or sl it should not take another trade even if the set up is still valid until new set up is formed.
My bot keeps taking trades after hitting tp until the set up invalidates and i don't want that
-
on trade tab - trade closed by TP - place new trade
-
please i don't understand
-
here is the link
-
This is on the on trade tab, add to on tick blocks that prevent trades being taken at the wrong time

-
Thanks alot, but i did what you did but it is still opening another trade after tp has been hit
here is the shared link: https://fxdreema.com/shared/iLOVHIzze
please did i do it correctly
-
Ok, those blocks will take a new trade every time a trade is closed. To prevent, you need to add a reason above placing a new trade, a simple way would be a condition block - if this is true - place the trade - if this is false don't place a trade (like ma 20 > candle 1 open (just un example))
-
Try
after buy trade: disable buy trade block and enable sell trade block.
after sell trade: disable sell trade block and enable buy trade block