Skip to main content
DCA Bot

A DCA crypto trading bot automates incremental asset purchases based on predetermined price changes, spreading investments over time.

Ben Ross avatar
Written by Ben Ross
Updated over 3 weeks ago

A DCA crypto trading bot is a highly efficient tool designed to manage and generate passive income through systematic market strategies. The core principle behind dollar cost averaging (DCA) bots is to buy a certain share of assets after a predetermined price variation has occurred, ensuring that investments are made incrementally over time rather than in a single lump sum. This method is particularly beneficial during periods of short-term market decline, as it allows investors to spread their risk over multiple purchases instead of risking a large sum of money all at once. Most individuals who are keen on minimizing risk and maximizing potential returns will attempt to apply the DCA trading strategy during such market conditions. By doing so, the DCA technique effectively mitigates the danger associated with investing a significant amount of capital in a volatile market environment, thereby providing a more balanced and strategic approach to investment.

The DCA bot tab has 3 core areas: The chart of the selected asset, the settings of the DCA bot and the created bots underneath the chart.

Chart

The chart will show you the asset that you have selected in the settings of the DCA bot from the exchange. You can add the indicators on the chart to improve your understanding of the current market situation.

DCA Bot Settings

In the bot settings, first, choose your exchange and the API. This decides where you want to run your DCA bot. After picking the exchange, choose the pair for your DCA bot.

The next step would be to select the direction of the bot. Long will open only buy trades while short will open only sell trades.

Reminder: if you would like to create the DCA bot in the short direction on the Spot exchange, please, make sure that you do have the asset in your exchange wallet. For example, if you would like to launch BTC short DCA bot, then you need to have BTC on your Spot Exchange wallet.

We recommend using Cross Margin Mode for safer trading. Note that an Isolated Margin, can carry a higher risk of position liquidation.

Afterwards, you need to determine the Amount per trade. This parameter will determine the size of your initial position when your first entry order will be placed. When you choose how much to trade, the bot will show you how much is needed and what assets you have available on the connected API. The needed amount includes the bot's DCA settings (Order size Multiplier and Maximum number of DCA orders).

You can also select the type for the Amount per trade. This can either be in the Quote or Base currency or in the % from the total available amount.

Bot Start Conditions

The next section in the bot settings will determine the starting conditions for your bot. Please refer to the table below:

Bot Start Condition

Descriptions

Settings

Immediate

Under this condition, the bot will enter the position as soon as possible regardless of the market. As soon as the bot completes the strategy it will open another in the same direction immediately.

RSI

The bot will use the RSI oversold region for the “Long” DCA bot and the overbought region for the “Short” DCA bot.

Period Value - 14
Oversold Region ≤ 25
Overbought Region ≥ 75

MACD

The bot will use the MACD indicator to determine the entry points. For the “Long” DCA bot the entry condition will be when the MACD line is crossing the signal line while both of them are below the 0 line. For the “Short” DCA bot the condition will be reversed.

Fast Period - 3
Slow Period - 21
Signal - 9

Bollinger bands

The Bollinger bands indicator will signal the entry for the “Long” position when the price of the asset will be closed below the lower band and the next candle will be closed above the lower band. The reverse will be true for the “Short” DCA bot entry

Period value - 21
Standard Deviation - 2.5

Price Change

This indicator will monitor the sharp decrease in price over the fixed interval. If the price will drop, then the bot will open the “Long” DCA bot. On the other hand, if the price will sharply increase then the bot will open a “Short” DCA position.

Period 15 minutes
Price change 2%

After selecting the bot starting condition you can tune the settings of the bot. If you do not have any specific DCA strategy that you have in mind or you are not that experienced with the DCA strategy you can select our Automatic settings, which is a general preset that will be suitable for the most assets and any indicator.

However, if you would like to set the specific settings for the DCA bot then you can select the Custom settings. In the Custom settings, you have two main blocks. The first block is dedicated to the DCA settings, in which there are 4 core parameters: Max DCA Orders, Price Deviation, Order Size Multiplier and Price Deviation Multiplier.

Max DCA orders

This parameter will determine how many entries your overall strategy will have. For example: If you will put 3, that will mean that including your initial position, you will have 2 additional orders.

Price deviation

This is the value in % which determines the deviation of the additional entries from the entry price. Example: If you go long and the price of the asset is 100$ and you put an order price deviation of 1% that will mean that the first additional entry will occur when the price drops by 1%, the second entry will be triggered when the overall price will drop by 2% (as the interval between the first and the second additional entry will be 1%).

Order Size Multiplier

This parameter will determine the amount that you put into each additional position. If this parameter is equal to 1 that means that each additional entry will be equal to the initial amount. The extra volume will be added to your position from the second DCA entry. Example: Your initial position was 10$ and your Volume Multiplier is set to 2. When you reach your 1st DCA extra order target your additional order will have the same volume of 10$. When you reach your 2nd DCA target your extra order will be 20$ (previous position volume * multiplier). Your 3rd DCA target will place an order of 40$.

Price Deviation Multiplier

This value will increase the price deviation between each additional entry. It is calculated as the price deviation multiplied by the deviation multiplier. For example: if you enter long at the price 100$ and have a price deviation of 1% with the price deviation multiplier of 2 that will mean that the first additional entry will occur when the price drops to 99$, however the second will occur when the price will go to 97$ (deviation of 3% = 1% * 2). The third additional position will be entered at 94$ (deviation of 6% = 3% *2).

Exit Parameters

Once the bot enters the trade you have the number of settings for the exit of the strategy. You can select either one or multiple conditions for exit. These are: Take Profit, Stop Loss, Move Stop Loss to Breakeven, and Trailing Stop.

Exit Conditions

Input

Type

Take Profit

The percentage that the asset has to go in the direction of your trade in order to lock the profits

Based either on the average price or the initial order. If the Take profit is based on entry order, then Your Take Profit price target will be fixed. If the Take profit is based on the average entry price of the position then the % of the Take profit will be fixed.

Stop Loss

The percentage of the asset that has to go in the opposite direction of your trade in order to stop the loss.

Based either on the average price or the initial order. If stop loss is based on entry order, then your Stop Loss price target will be fixed. If the stop loss is based on the average entry price of the position then the % of the Stop Loss will vary based on the average price of your position.

Trailing Stop

Percentage for the Trailing stop activation and percentage for the trailing stop execution. You can read more about the Trailing Stop function here

Based on the average price

Move Stop Loss to Breakeven

The percentage that the asset has to go in the direction of your trade for the Stop Loss to move to the entry price. You can read more about Move stop loss to breakeven function here

Based on the average price

If your Stop Loss and Trailing stop will have the same price the Stop loss will have a priority and the position will show that it was closed using Stop Loss

Backtest

Once you have finished setting up your bot you can check your settings using the Backtest button. The Backtest will show you the results for the past 2 weeks. Once the Backtest is calculated you will see the graph with all the trades and the results on the right-hand side.

Live Bots

Once you selected and backtested your parameters, you can start your DCA bot. The newly created bots will appear underneath the price chart.

Next to each bot, you will be able to find the set of actions that you can apply to this bot.

Stop your bot. This action will stop the new entries. After applying these actions you will have two options in the new Pop-up window. You leave your trades open and the system will continue monitoring the trades. Or you can close all unrealized positions at the current market price.

List of your strategies. This tab will show live and historical strategies made by your DCA bot.

Open Settings. This action will show you the settings of the DCA bot.

Delete the bot. This will remove the bot completely from the list and delete all of its history.

Did this answer your question?