DCA bots: Deal close conditions

Here you will find the information about what are the deal close conditions and how to set them up!

Updated over a week ago

Along with the ability to open the DCA bots deals using technical indicators, it is now possible to close the deals with separate Deal close conditions!
Now you can choose any or several different technical conditions you prefer!

They work exactly the same as the Deal start conditions but in a mirrored way - if you choose RSI 7 < 30 to start a long trade, you will have RSI 7 >70 by default to close the long trade.

Please remember!

If you choose the Deal close condition for your DCA bots, you will not be able to convert these bots' deals into SmartTrades

1. Open the Conditions tab

While creating an Advanced DCA bot, head to the Take profit section and click on the Conditions tab:

2. Choose the condition/-s

After clicking on the Conditions tab, you will see condition(-s) pre-selected, depending on what you have chosen in the Deal Start conditions section.

For example, if you have chosen:

RSI-7, 1H and Less Than 30 as a Deal start condition,

then the Deal close condition will be set by default to the opposite:

RSI-7, 1H and Greater Than 70:

It is designed this way to make your settings process a little easier :)

Even if you have chosen several technical Deal start conditions, they will all be mirrored in the Deal close conditions.

Naturally, you can change it to any condition you want or add others!

IMPORTANT NOTES:

  1. Several Deal close conditions work with "AND" logic, so ALL of them should be TRUE to close the deal, just like with Deal start conditions.

  2. Not all exchanges on 3Commas support some or all of the indicators. Our team is working on making them available for all exchanges supported on 3Commas.

3. Minimum profit

This feature allows you to close the deals with some minimal profit value and prevent closing the deals in loss when the condition is met too early. It is turned ON by default as this feature makes your trading safer.

It works this way.

Let's say you have set the Minimum profit to 1%. So:

  • If the price does not reach this profit level and the Deal close condition sends the signal to close the deal - it won't be closed!

  • If the price passes the Minimum profit level and the Deal close condition sends the signal to close the deal - it will be closed!

  • If the price passes the Minimum profit level and then drops back under this level, the deal will return to the initial waiting mode. Thus, if the price falls below the Minimum profit level again and the Deal close condition sends the signal, the deal will not be closed.

If the Minimum profit feature is turned OFF, the deal will be closed as soon as the Deal close condition is met, even if the deal will currently be in loss! So please disable this feature with caution and calculated risk management!

Important detail!

If you have chosen TradingView custom signal as a Deal close condition, the message "close_at_market_price_all" or "close_at_market_price_all_and_stop_bot" will ignore the Minimum profit setting and close the trades even if the Min profit is not reached. Those tasks are developed for such cases when a trader urgently wants to close his bots and exit the trades as soon as possible. It is used as a "red emergency button" to save trades.

4. Minimum profit type

Percentage from base order - a bot will calculate the Minimum TP level taking into account only the size of the Base order, no matter how many Safety orders will be executed.

Thus, if the Base order size equals $100 and the Minimum profit is set to 5%, the TP level will give a $5 profit no matter how many Safety orders will be executed.

Percentage from total volume - a bot will calculate the Minimum TP level taking into account the size of the entire trade, not just a Base order size.
Thus, if the Minimum profit is set to 5%, the Base order size equals $100, and 3 Safety orders are executed, resulting in $900, the total size of the trade becomes $1000. And in this case, the TP level will be set to $50 instead of $5.

5. In addition

  1. Right now, on the My deals page, the deals with Deal close condition enabled do not have the following options:

    • Reverse bot - the ability to switch from Long trade to Short and vice versa,

    • Edit - the ability to edit the settings of the current trade,

    • SmartTrade convert:

      If you want to edit the trade, reverse it or convert into SmartTrade, you can cancel the trade and manually create the SmartTrade with the desired settings, or you can directly convert the bot's deal into the SmartTrade - Long trade will be converted into Smart Sell, and Short trade will be converted into Smart Buy.

  2. All new bot settings will be applied only to new trades; old trades will remain with old settings.

  3. Trailing TP feature is not available when the Deal close condition is active.

That's it! Now you can close the trades with special indicators! Good luck!

P.S. If you have any feedback about this feature, you can always fill out our Survey and share your thoughts and experience with our product team!

Did this answer your question?