Home › Templates › Crypto DCA bot tracker

DCA Bot Spreadsheet: Safety Order Calculator and Deal Log

A free DCA bot spreadsheet for Excel and Google Sheets. Plan a bot's base and safety orders to see every trigger price, the average entry, the take-profit price and the capital one deal can use, then log each deal for profit by month, pair and bot.

Download Excel template (.xlsx) 202 KB · no macros · Excel 2016+ and Google Sheets · v1.0, 3 Nov 2026

Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. No sign-up, no add-on and no exchange API key: you type your bot settings and copy deals from your bot's history.

Preview: the Example Planner tab with fictional settings for a BTC/USDT bot: entry 60,000, base order 100 USDT, safety order 100 USDT, 6 safety orders, 1.5% deviation, step scale 1.2, volume scale 1.5, take-profit 2%, fee 0.1%.
2,178.12 USDTcapital needed if all 6 safety orders fill
14.89%price drop covered (last safety order at 51,063.07)
7.81%bounce needed from the last safety order to hit take-profit
7.59×last safety order vs the base order (759.38 vs 100 USDT)
OrderStepDrop from entryTrigger priceOrder sizeInvested so farAverage entryTake-profit priceBounce neededProfit at TP
Base order0.00%60,000.00100.00100.0060,060.0661,261.262.10%1.90
SO 11.50%1.50%59,100.00100.00200.0059,606.2160,798.332.87%3.80
SO 21.80%3.30%58,020.00150.00350.0058,941.5660,120.393.62%6.64
SO 32.16%5.46%56,724.00225.00575.0058,076.7459,238.274.43%10.91
SO 42.59%8.05%55,168.80337.50912.5056,987.9258,127.685.36%17.32
SO 53.11%11.16%53,302.56506.251,418.7555,636.5356,749.266.47%26.93
SO 63.73%14.89%51,063.07759.382,178.1253,971.7355,051.167.81%41.34
Example Planner (fictional settings): money in the deal after each order. Base order at 60,000.00, 0.00% below entry, order 100.00, total 100.00 USDT; SO 1 at 59,100.00, 1.50% below entry, order 100.00, total 200.00 USDT; SO 2 at 58,020.00, 3.30% below entry, order 150.00, total 350.00 USDT; SO 3 at 56,724.00, 5.46% below entry, order 225.00, total 575.00 USDT; SO 4 at 55,168.80, 8.05% below entry, order 337.50, total 912.50 USDT; SO 5 at 53,302.56, 11.16% below entry, order 506.25, total 1,418.75 USDT; SO 6 at 51,063.07, 14.89% below entry, order 759.38, total 2,178.12 USDT.Already investedThis orderBase order · entry · 60,000100SO 1 · −1.5% · 59,100200SO 2 · −3.3% · 58,020350SO 3 · −5.5% · 56,724575SO 4 · −8.1% · 55,169912SO 5 · −11.2% · 53,3031,419SO 6 · −14.9% · 51,0632,178

Chart: money in the deal after each order, from the same file. Labels show the order, its drop from the entry price and its trigger price.

What's inside the spreadsheet

TabWhat you typeWhat it calculates
Start hereNothingSteps, how the maths works, colour key, limits, disclaimer
Deal plannerEntry price, base order size, safety order size, max safety orders (0–40), price deviation %, step scale, volume scale, take-profit %, fee %, optional capital availablePer level: step, drop from entry, trigger price, order size, coins bought after fee, cumulative invested, cumulative coins, average entry price, take-profit price, bounce needed, profit at take-profit after fees, break-even price, share of capital. Results: total capital needed, max drop covered, how many safety orders your capital can fund, and an input check
Deal logUp to 300 deals: bot name, pair, opened, closed (blank = open), safety orders filled, invested, proceeds, fees, notesProfit, profit %, days open, close month, a status check on every row (rows that are not Closed or Open are left out and counted in B4), capital in deals on each open date
SummaryOptional: year for the monthly table, capital allocated to botsClosed and open deals, invested, proceeds, fees, net profit, profit %, deals closed at a loss, average and longest deal duration, average safety orders filled, capital in open deals, peak capital and most deals open at once; tables by month, by pair and by bot; two native charts
Example Planner, Example Deal log, Example SummaryAlready filledFictional settings and 159 fictional deals (6 Jan to 31 Oct 2026), including losses and open deals, so you can see every formula working

This template is for exchange DCA bots that buy more as the price falls and sell everything at a take-profit. For plain recurring buys (the same amount every week or month), use the DCA tracker or the DCA calculator instead.

The bot settings, as the platforms define them

Every platform uses the same few settings under different names. The planner uses the common "safety order", "step scale" and "volume scale" names; this table maps them to the names in the 3Commas, Binance and OKX help centres.

Planner input3Commas DCA botBinance Spot DCAOKX Spot DCA
Base order sizeBase order sizeBase OrderInitial order amount
Safety order sizeAvg. order size (averaging order)DCA OrderSafety order amount
Price deviation %Deviation to open first avg. orderPrice DeviationPrice steps
Step scaleDeviation step multiplierPrice Deviation MultiplierPrice steps multiplier
Volume scaleOrder size multiplierDCA Order Size MultiplierAmount multiplier
Max safety ordersAvg. orders per tradeMax DCA OrderMaximum safety orders
Take-profit %Target profit (%)Take ProfitTP target per cycle

The exact definitions:

Checked against the help centres. With Binance's own example (entry 30,000, 1% deviation, multiplier 2) the planner puts the first three safety orders at 29,700, 29,100 and 27,900, the prices Binance lists. With a 1,000 safety order and a size multiplier of 2 it gives 1,000, 2,000 and 4,000, and its total capital matches Binance's formula "Base Order Size + DCA Order Size*(1+ DCA order size multiplier^1 ... DCA order size multiplier^(Max DCA Orders-1))".

How to use it

  1. Open Deal planner. Copy your bot's settings into the yellow cells B5:B13: entry price, base order size, safety order size, max safety orders, price deviation, step scale, volume scale, take-profit and your exchange's fee per fill. Type percentages as percentages (1.5%), not 1.5.
  2. Check F4 says OK. Then read F5 (capital one deal can use), F6 (the deepest drop your safety orders cover) and F10 (the bounce the price needs from the last safety order to reach take-profit).
  3. Optional: type the money set aside for this bot in B14. F14 shows how many safety orders that money can fund.
  4. Run more than one deal at a time? Multiply F5 by the number of deals the bot can open at once. That is what a multi-pair bot can tie up.
  5. Open Deal log. After each deal closes, add one row: bot name, pair, open and close dates, safety orders filled, invested (the quote currency spent on buys), proceeds (the quote currency from the sell) and fees. Leave Closed blank while a deal is still running.
  6. Check column N: it says Closed or Open when a row is complete. B4 counts rows that need a fix; they stay out of every total until fixed.
  7. Open Summary. Type a year in B3 for another year's monthly table, and the capital you allocated to bots in B4 to see it as a percentage.

The formulas, explained

Exact formulas from the file. On the Deal planner, row 19 is the base order and row 20 the first safety order; B5 is the entry price, B6 the base order, B7 the safety order, B8 the max safety orders, B9 the deviation, B10 the step scale, B11 the volume scale, B12 the take-profit and B13 the fee. On the Deal log, C is opened, D closed, F invested, G proceeds, H fees and N the status.

FieldFormula
Planner: input check (F4)=IF(COUNT(B5:B13)<9,"Fill the yellow cells B5:B13",IF(OR(B5<=0,B6<=0,B7<0,B9<=0,B10<=0,B11<=0,B12<=0,B13<0,B13>=1),"Check inputs: prices, sizes and scales must be above 0; fee from 0% to under 100%",IF(OR(B8<0,B8>40,B8<>INT(B8)),"Max safety orders: a whole number from 0 to 40",IF(H4>=1,"The last safety order would be at a 100%+ drop: lower the deviation, step scale or count","OK"))))
Planner: last safety order deviation, closed form (H4)=IF(COUNT(B8:B10)<3,0,IF(B10=1,B9*B8,B9*(B10^B8-1)/(B10-1)))
Planner: step from previous order (C20)=IF(AND($F$4="OK",$A20<=$B$8),$B$9*$B$10^($A20-1),"")
Planner: drop from entry (D20)=IF(AND($F$4="OK",$A20<=$B$8),D19+C20,"")
Planner: trigger price (E20)=IF(AND($F$4="OK",$A20<=$B$8),$B$5*(1-D20),"")
Planner: safety order size (F20)=IF(AND($F$4="OK",$A20<=$B$8),$B$7*$B$11^($A20-1),"")
Planner: coins bought after fee (G20)=IF(AND($F$4="OK",$A20<=$B$8),F20*(1-$B$13)/E20,"")
Planner: average entry price (J20)=IF(AND($F$4="OK",$A20<=$B$8),H20/I20,"")
Planner: take-profit price (K20)=IF(AND($F$4="OK",$A20<=$B$8),J20*(1+$B$12),"")
Planner: bounce needed (L20)=IF(AND($F$4="OK",$A20<=$B$8),K20/E20-1,"")
Planner: profit at take-profit after fees (M20)=IF(AND($F$4="OK",$A20<=$B$8),I20*K20*(1-$B$13)-H20,"")
Planner: total capital needed (F5)=IF($F$4<>"OK","",INDEX(H$19:H$59,$B$8+1))
Planner: safety orders your capital can fund (F14)=IF(OR($F$4<>"OK",N(B14)=0),"",IF(B14<H19,"Not enough for the base order",MIN($B$8,COUNTIF($H$19:$H$59,"<="&B14)-1)))
Deal log: profit (J8)=IF(N8="Closed",G8-F8-N(H8),"")
Deal log: days open (L8)=IF(N8="Closed",D8-C8,"")
Deal log: capital in deals on the open date (O8)=IF(T8=1,SUMIFS(F$8:F$307,C$8:C$307,"<="&C8,S$8:S$307,">="&C8,T$8:T$307,1),"")
Deal log: pair number for the Summary list (Q8)=IF(T8<>1,"",IF(COUNTIFS(B$8:B8,B8,T$8:T8,1)=1,MAX(Q$7:Q7)+1,""))
Summary: average deal duration (B19)=IF(B10=0,"",AVERAGE('Deal log'!$L$8:$L$307))
Summary: net profit for a close month (G32)=SUMIFS('Deal log'!$J$8:$J$307,'Deal log'!$N$8:$N$307,"Closed",'Deal log'!$M$8:$M$307,A32)
Summary: pair name (A49)=IFERROR(INDEX('Deal log'!$B$8:$B$307,MATCH(1,'Deal log'!$Q$8:$Q$307,0)),"")

Trigger prices. Safety order n sits a step of deviation × step scalen−1 below the previous one. The drop from entry is the sum of the steps, and the trigger price is entry × (1 − drop). All percentages are measured from the entry price, as OKX states: "The percentage is always based on the initial order price."

Average entry and take-profit. Each order buys size × (1 − fee) ÷ price coins, so the average entry price (cumulative invested ÷ cumulative coins) includes buy fees. Take-profit price = average entry × (1 + take-profit %). Profit at take-profit = coins × take-profit price × (1 − fee) − invested, so the sell fee is deducted too.

Bounce needed = take-profit price ÷ trigger price − 1: how far the price must rise from that level before the deal closes. It grows with every safety order, even though the take-profit price falls.

Deal log profit = proceeds − invested − fees, and profit % = profit ÷ invested. Leave fees at 0 if your export already shows invested and proceeds after fees.

Peak capital adds up the invested amounts of every deal open on each deal's open date and takes the largest. Each deal counts with its final invested amount for its whole life, so the figure is an upper estimate.

Lists without UNIQUE. The Deal log numbers each pair and bot the first time it appears (COUNTIFS on the rows so far), and the Summary fetches them with INDEX/MATCH. That works in Excel 2016 and Google Sheets alike.

Worked example from the sample data

One deal, planned

The Example Planner uses fictional settings: a 100 USDT base order at 60,000, then 6 safety orders starting at 100 USDT, 1.5% apart at first, with step scale 1.2 and volume scale 1.5.

159 deals, logged

The Example Deal log has 159 fictional deals from three made-up bots on five pairs. This is invented data to show the formulas, not a backtest or a typical result. The last ten rows:

BotPairOpenedClosedSOs filledInvestedProceedsFeesProfitDaysStatus
BTC longBTC/USDT12 Oct 202612 Oct 20260100.00101.500.201.300Closed
Alt multi-pairLINK/USDT14 Oct 202614 Oct 2026025.0025.620.050.570Closed
Alt multi-pairSOL/USDT14 Oct 202617 Oct 2026025.0025.620.050.573Closed
BTC longBTC/USDT15 Oct 202624 Oct 202651,418.751,440.032.8618.429Closed
Alt multi-pairADA/USDT20 Oct 202627 Oct 20263200.00205.000.414.597Closed
Alt multi-pairLINK/USDT22 Oct 202625 Oct 20262100.00102.500.202.303Closed
Alt multi-pairSOL/USDT22 Oct 2026open3200.000.20Open
BTC longBTC/USDT25 Oct 2026open62,178.122.18Open
Alt multi-pairADA/USDT30 Oct 2026open2100.000.10Open
ETH longETH/USDT30 Oct 202631 Oct 2026050.0051.000.100.901Closed

Across 156 closed deals, the bots invested 32,024.10 USDT and got back 32,528.29 USDT, paid 64.52 USDT in fees and made 439.67 USDT net (1.37% on invested). 3 deals were closed manually at a loss. One of them, on SOL/USDT on 10 Feb 2026, lost 40.76 USDT and wiped out much of that pair's gains. The average deal stayed open 4.7 days and filled 1.52 safety orders; the longest took 19 days.

Capital: 2,478.12 USDT sits in 3 open deals, 41.3% of the 6,000 USDT allocated. Peak capital in deals was about 4,020.79 USDT (67.0%), with up to 5 deals open on one day. The BTC/USDT deal still open on 31 Oct has filled all 6 safety orders: 2,178.12 USDT, the full amount the planner said one deal can use.

By month

2026OpenedClosedInvestedFeesNet profitProfit %Avg daysAvg SOs
Jan1510875.001.7717.852.04%3.81.00
Feb13156,055.5712.1646.870.77%6.82.33
Mar20232,525.005.0736.281.44%3.20.78
Apr17142,120.004.2739.861.88%3.91.07
May16173,335.406.68-4.01-0.12%4.11.53
Jun16152,397.284.8547.581.98%4.91.60
Jul18195,788.8211.6892.751.60%5.61.95
Aug16162,600.005.2647.731.84%4.31.50
Sep14143,211.006.4962.591.95%5.62.00
Oct14133,116.036.2952.171.67%4.51.54
Total15915632,024.1064.52439.671.37%4.71.52
Example Summary (fictional deals): net profit by close month, 2026. Jan 17.85 USDT; Feb 46.87 USDT; Mar 36.28 USDT; Apr 39.86 USDT; May -4.01 USDT; Jun 47.58 USDT; Jul 92.75 USDT; Aug 47.73 USDT; Sep 62.59 USDT; Oct 52.17 USDT.18Jan47Feb36Mar40Apr-4May48Jun93Jul48Aug63Sep52Oct

Chart: net profit by close month from the Example Summary (fictional). May is negative because the losing BTC/USDT deal closed that month.

By pair and by bot

PairClosedOpenInvested (closed)Net profitProfit %Avg daysAvg SOsIn open deals
LINK/USDT2905,450.00125.182.30%5.71.830.00
BTC/USDT32113,574.99110.230.81%4.21.562,178.12
ADA/USDT3313,475.0079.782.30%4.31.39100.00
ETH/USDT3006,474.11104.431.61%4.91.700.00
SOL/USDT3213,050.0020.050.66%4.21.16200.00
BotClosedOpenInvested (closed)Net profitProfit %Avg daysAvg SOsIn open deals
Alt multi-pair94211,975.00225.011.88%4.71.45300.00
BTC long32113,574.99110.230.81%4.21.562,178.12
ETH long3006,474.11104.431.61%4.91.700.00

Risk: what the planner makes visible

A DCA bot does not remove risk; it changes its shape. Each safety order adds money to a position that is already losing, and once the last one fills, the bot stops buying. If the price keeps falling after that, the deal just holds a larger loss.

OKX's help page for its DCA (Martingale) bot puts it this way: "Using this strategy, the amount spent on trading can increase rapidly and reach a high value after just a few transactions." It adds: "if an asset continues to fall in value, there is a chance it could fall to zero, in which case the entire value of the trader's holdings would be lost." (OKX, Spot DCA (Martingale))

The US Commodity Futures Trading Commission warns that virtual currency cash markets come with risks including "Volatile cash market price swings or flash crashes" and that "Most cash markets are not regulated or supervised by a government agency" (CFTC, Understand the Risks of Virtual Currency Trading). On bots sold with big promises, its advisory says: "AI technology can’t predict the future" and asks traders to "consider the impact fees, spreads, and subscription costs would have on returns" (CFTC, AI Won’t Turn Trading Bots into Money Machines).

Three numbers from the planner answer the key questions before you start a bot: F5 (can I fund every safety order, for every deal that can run at once?), F6 (how deep a drop is covered?) and F10 (how big a bounce do I need from the bottom?).

Taxes: US note

The IRS says: "For U.S. tax purposes, digital assets are considered property, not currency." Its digital asset question asks whether you did "(b) sell, exchange, or otherwise dispose of a digital asset (or a financial interest in a digital asset)". The IRS lists disposals "For another digital asset" and "For U.S. dollars or other currency", and names stablecoins as digital assets (IRS, Digital assets).

The Deal log tracks profit per deal, not cost basis per lot, so it is not a tax report. Keep your exchange's full trade export, use the crypto tax spreadsheet or the capital gains tax calculator, and ask a tax professional about your situation. Rules differ outside the US.

Common mistakes

Limits

FAQ

What is a safety order in a DCA bot?

A safety order is an extra buy the bot places after the first (base) order when the price falls by a set percentage. OKX describes safety orders as buy orders "that execute if the asset's price drops after the bot's initial purchase". 3Commas calls them averaging orders and Binance calls them DCA orders. Each one lowers the average entry price, so the take-profit target moves closer.

How do I calculate how much capital a DCA bot needs?

Add the base order to every safety order: base order + safety order × (1 + volume scale + volume scale² + … ) for the number of safety orders. Binance's help centre gives the same formula. With a 100 USDT base order, 100 USDT safety orders, a 1.5 volume scale and 6 safety orders, that is 2,178.13 USDT for one deal. The Deal planner shows this in F5.

What do step scale and volume scale mean?

Step scale multiplies the gap between safety orders: with a 1% deviation and a step scale of 2, safety orders sit 1%, 3% and 7% below the entry, the example 3Commas, Binance and OKX all use. Volume scale multiplies each safety order's size: 100, 200, 400 with a scale of 2. A scale of 1 keeps gaps or sizes the same.

Is take-profit calculated from the entry price or the average price?

Usually from the average price. Binance defines take profit as "the target profit percentage based on the average price", and 3Commas uses the average price by default, with an option to use the base order only. The planner uses the average entry price, so each filled safety order lowers the take-profit price.

Are DCA bot trades taxable?

In the US, often yes. The IRS treats digital assets as property and asks whether you sold, exchanged or otherwise disposed of a digital asset during the year. A bot's closing sell is a disposal. If the bot buys with a stablecoin, each buy also exchanges one digital asset for another. The IRS says buying digital assets with U.S. dollars alone is not a disposal. Keep your exchange's trade export and check with a tax professional.

Can I use this DCA bot spreadsheet in Google Sheets?

Yes. In Google Sheets choose File → Import → Upload and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. The formulas use IF, AND, OR, NOT, N, INT, ISNUMBER, IFERROR, COUNT, COUNTA, COUNTIF, COUNTIFS, SUMIFS, AVERAGEIFS, SUMPRODUCT, LEN, SUM, AVERAGE, MAX, MIN, INDEX, MATCH, DATE, YEAR, MONTH, EOMONTH and TODAY, which work in Excel 2016+, Google Sheets and LibreOffice. No macros, no dynamic arrays.

Related tools and templates

Educational template only, not financial, investment or tax advice. Example data is fictional: the bots, prices, settings and deals are made up to show the formulas. They are not a backtest, a typical result or a recommendation. Platform definitions are quoted from the 3Commas, Binance and OKX help centres; IRS and CFTC material is quoted from their websites. All were retrieved on 3 November 2026; platforms change settings and names over time.