There are many ways you can control your losses with DBot. Here’s a simple example of how you can implement loss control in your strategy:
- Create the following variables:
- Use a logic block to check if currentPL exceeds maximumLoss . If it does, set tradeAgain to ‘false’ to prevent the bot from running another cycle.
- Update currentPL with the profit from the last purchased contract. If the last contract was lost, the value of currentPL will be negative.
Haven’t created a Deriv account yet? Click here to get started right away!