DCA bot settings explained
Four numbers decide how a DCA bot’s ladder looks: the price deviation (how far the first safety order sits), the step scale (how much each gap grows), the volume scale (how much each order grows) and the number of safety orders. Together they set how deep a drop the bot can average through, and how much money one deal can use.
In short
- Gap of safety order n = deviation × step scale^(n−1); the drops add up.
- Size of safety order n = first safety order × volume scale^(n−1).
- Money per deal = base order + all safety orders. Coverage = the last order’s total drop.
- More coverage costs more money per deal; a bigger volume scale pulls the average down faster but grows fast.
- Take profit is measured from the average entry price, not from the first buy.
Base order size
The first buy of every deal, in the quote currency (for example 20 USDT). It decides the deal’s profit when the price goes straight to the take profit without any safety order. A market base order fills at once; a limit one waits for its price.
Safety order size
The size of the first safety order. Later ones are this size times the volume scale, again and again. Many traders set it equal to or larger than the base order, so the first fill already moves the average noticeably.
Max safety orders
How many safety orders one deal may ever place: the length of the ladder. More orders reach deeper but need more money. Some bots also have max active safety orders: how many of them sit on the exchange at once, so the rest are placed only as earlier ones fill.
Price deviation
How far from the entry price the first safety order sits, in percent. 1.5 % on a long means the first safety order buys when the price is 1.5 % below the base order’s price.
Too small and the ladder is used up by normal noise; too large and the bot rarely averages. A common starting point is close to the coin’s typical daily swing. QuantPhi can also set it from the coin’s volatility: the ATR mode takes the 1-minute ATR as a percent of the price, times a multiplier, so calm coins get tight steps and wild ones get wide steps.
Step scale
Each gap between safety orders is the previous gap times the step scale. With 1 every gap is equal; above 1 the gaps widen, so the ladder reaches further with the same number of orders.
gap(1) = deviation gap(n) = gap(n−1) × step scale drop of order n = gap(1) + gap(2) + … + gap(n)
Example: deviation 2 % and step scale 1.3 give gaps of 2, 2.6, 3.38, 4.39 … % and total drops of 2, 4.6, 7.98, 12.37 … %.
Volume scale
Each safety order is the previous one times the volume scale. Above 1 the later, deeper orders are bigger, which pulls the average entry down faster: the price needs a smaller bounce to reach the take profit. The price is the money: the sizes grow geometrically.
size(1) = safety order size size(n) = size(n−1) × volume scale
With a first safety order of 10 USDT and a volume scale of 1.5, eight safety orders are 10, 15, 22.5, 33.8, 50.6, 75.9, 113.9 and 170.9 USDT: 492.6 USDT in total, where a scale of 1 would need 80.
Money per deal and coverage
money per deal = base order + size(1) + size(2) + … + size(N) coverage = drop of order N
These two numbers describe a setting better than any single field. The table compares three example ladders, each with a 1.5 % take profit, all from an entry price of 100:
| Ladder | Safety orders | Deviation | Step / volume scale | Coverage | Money per deal | Bounce needed after the last fill |
|---|---|---|---|---|---|---|
| Even | 5 × 10 USDT | 1.5 % | 1 / 1 | 7.5 % | 60 USDT | 5.5 % |
| Widening | 6 from 10 USDT | 2 % | 1.3 / 1.5 | 25.5 % | 217.8 USDT | 13.0 % |
| Deep | 8 from 20 USDT | 1 % | 1.4 / 1.6 | 34.4 % | 1,408 USDT | 17.0 % |
The even ladder is cheap but runs out after a 7.5 % drop. The deep one survives a 34 % drop, but each deal can use 1,408 USDT, 140 times its base order. Pick coverage from how far the coin really falls, then check that you can fund it for every deal you allow at once.
Take profit
The target in percent above the average entry (below it for a short). After every safety order fill the target moves down with the average. Variants:
- Fixed percent: the simplest; 1–2 % is common on liquid coins.
- ATR-based: the target follows the coin’s 1-minute volatility, read at the first target and at each safety fill.
- Trailing: once the target is reached, the bot follows the price up and sells when it turns back by the trailing distance.
- Laddered: the position is sold in slices at several targets.
Stop loss and time limit
A stop loss closes the deal at a set loss from the average entry; a time limit closes (or detaches) a deal that has been open too long. Without either, a deal past its last safety order simply waits. Neither is free: a stop loss turns a temporary drawdown into a realised loss, so set it beyond the ladder’s coverage, not inside it.
Leverage (futures only)
Leverage divides the margin a deal uses, not its risk. A deal that uses 1,000 USDT at 5× needs 200 USDT of margin, but a full ladder plus a further move can reach the liquidation price. Keep the liquidation price well beyond the last safety order.
Try your own numbers
The DCA bot calculator prices every order of your ladder, the money per deal, the coverage and the bounce each step needs. A backtest then shows how the same settings would have traded on real price history.
Questions
What is a good price deviation for a DCA bot?
There is no single value. A common start is near the coin’s typical swing: about 1–2 % for large coins, more for volatile ones. A deviation based on ATR adapts it to each coin’s volatility automatically.
What does volume scale mean in a DCA bot?
Each safety order is the previous one times the volume scale. Above 1 the deeper orders are bigger, which lowers the average entry faster but makes the money per deal grow quickly.
What does step scale mean in a DCA bot?
Each gap between safety orders is the previous gap times the step scale. Above 1 the gaps widen, so the same number of safety orders covers a deeper drop.
How many safety orders should a DCA bot have?
Enough for the drop you want to survive, and no more than you can fund. Check the coverage and money per deal in a calculator before choosing a number.
Try it on your own exchange account
QuantPhi runs DCA, grid, rebalance and Hedge Stop bots on Bybit, OKX, Bitget, Binance, BingX, Coinbase and Hyperliquid. There is a free plan; your funds never leave your exchange.
Create a free accountCrypto trading involves risk; past results and backtests do not guarantee future returns. This guide is education, not investment advice.