How do I control my losses with DBot?

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:

  1. Create the following variables:

  1. 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.

  1. Update currentPL with the profit from the last purchased contract. If the last contract was lost, the value of currentPL will be negative.

Update currentPL
Haven’t created a Deriv account yet? Click here to get started right away!