Beginner webinar (in Russian): wallets, exchanges, P2P and cashing out. Tentatively 30 January 2027 Details →

OKX DCA Bot (Martingale): Spot DCA and Futures DCA Step by Step

Updated: · 9 min read ·

On OKX the martingale bots are Spot DCA (Martingale) and Futures DCA (Martingale): Trade > Trading bots > Marketplace. The bot enters with a first order, buys more with safety orders as the price falls, and closes the cycle at a take profit. Below: the steps, the parameters, the capital check in a simulator and the liquidation maths.

Contents
  1. What the martingale bot is called on OKX, and how it differs from Recurring buy
  2. Steps 1-3: sign-up, KYC and USDT in the trading account
  3. How to create a DCA bot on OKX: web and app
  4. OKX DCA bot parameters: what they do and what to set as a beginner
  5. How much money the safety orders need: the martingale simulator
  6. Spot or futures DCA bot: what leverage changes
  7. OKX DCA bot fees
  8. For new users
  9. Common beginner mistakes
  10. Other bots and exchanges
OKX

The DCA bot needs an OKX account. Signing up through this link opens the form with the referral code filled in, and bots unlock after verification.

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3

The code can only be entered during sign-up.

What the martingale bot is called on OKX, and how it differs from Recurring buy

OKX has two bots with extra buys: Spot DCA (Martingale) and Futures DCA (Martingale). The word in brackets is not an accident: a first order for the cycle, then safety orders as the price falls, size and step multipliers, and a take profit for the cycle.

The "buy the same amount every week" job belongs to another OKX bot, Recurring buy. I explain the difference in the DCA bot guide. This page covers only the bots with extra buys. You can set them up four ways: Set myself (manual), Set myself - Auto fill (recommended values), AI strategy (parameters from a backtest) and Lead bots (a copy of a lead trader's bot).

Cover of the OKX DCA bot guide: the ladder of safety orders in Spot DCA and Futures DCA
Spot DCA and Futures DCA on OKX: from the account to the first cycle.

Steps 1-3: sign-up, KYC and USDT in the trading account

  1. Sign up through the referral linkSign up on OKX: choose your country of residence, enter your email or phone, check that the referral code is filled in, confirm the code and set a password. Details in the registration guide.
  2. Verification (KYC)In your profile open Verification > Individual account, enter your details, photograph the document and pass the face check. Enter your real country, it must match your documents. Then turn on 2FA under Security.
  3. Fund the trading account with USDTAssets > Deposit, pick USDT and the network: the network must be the same on both sides. Make the first transfer a small test. If your USDT sits on another account, move it to the trading account with the Transfer button: the bot draws money from there, and after creation the initial funds are set apart from your account.

You need an account, finished KYC and USDT in the trading account, otherwise the create button will not work.

How to create a DCA bot on OKX: web and app

Spot path: Trade > Trading bots > Marketplace > Spot DCA (Martingale), in the app Trade > Trading bots > Spot DCA (Martingale). Futures: Trading > Trading Bots > Bot Marketplace > DCA Bots > Futures DCA (Martingale). Names are as in the OKX help center.

Interactive

OKX Spot DCA bot step by step

Flip through the steps and repeat them on the exchange in a second tab or in the app.

OKX DCA bot parameters: what they do and what to set as a beginner

Spot DCA and Futures DCA parameters on OKX
ParameterWhat it doesBeginner setting
Initial order amountFirst order of the cycle5-10% of the bot amount
Safety order amountSize of a safety orderEqual to the first order or slightly bigger
Max safety ordersCap on safety orders, in practice limited by funds3-5
Price stepsDrop to the next safety order, % of the initial order price2-3%
TP target per cycleCycle profit that closes it1.5-3%
Amount multiplierGrows the size of each next order1-1.5
Price steps multiplierStretches the distance between orders1-1.3
Stop loss (Spot)Stops and sells the base coin at marketBelow the last safety order
Leverage (Futures)Nominal leverage, the help center says up to 100xNo more than 2-3x
Profit reinvestment (Futures)Profit goes into the next cycle's margin and cannot be withdrawn until the bot stopsOff

Source: OKX help center on Spot DCA (Martingale) and Futures DCA. The "Beginner setting" column is my experience, not exchange rules. OKX names no minimums or maximums for the parameters; the numbers in its articles are examples.

How much money the safety orders need: the martingale simulator

The main question with martingale is how much capital the whole cycle needs. First order 20 USDT, safety orders of 20 USDT, 4 of them: by eye that is 100 USDT. With multipliers the picture changes. Move the parameters yourself.

Interactive

DCA bot simulator with safety orders

Change the step, the number of safety orders and the multipliers: see how much money goes into the bot, how far a drop it can absorb and what bounce you need for the take profit.

The simulator defaults: step 2% (each next one 1.10 times bigger), size multiplier 1.50, take profit 3%. The result: the bot swallows 182.50 USDT, the orders hold a drop of about 9.28% from the first order price, and after the last safety order the price needs to bounce 6.63% off the bottom to close the cycle.

The rule I set for myself: count the whole cycle, not the first order. If the total is more than 5-10% of your deposit, cut the multiplier or the number of safety orders instead of hoping the last one never fires.

Price drop chart with the first order and safety order levels of the OKX DCA bot
Every safety order lowers the average price but raises the exposure.

Spot or futures DCA bot: what leverage changes

The spot bot buys the real coin: in the worst case you hold an asset that got cheaper, and there is no liquidation. The futures bot opens a long or short with leverage, and across a series of buys the effective leverage grows: the OKX help center warns that the displayed leverage is computed from the position size and the margin used, and rises if you grow the position without adding margin.

The table below is the simulator cycle on futures. The liquidation price is counted from the average price of the fully filled position. At 10x and 20x it sits almost against the last safety order, and at 20x the buffer is under a couple of percent. More: liquidation and leverage.

Where a long gets liquidated with the ladder fully filled (start 100, average 93.92, last buy 90.72)
LeverageLiquidation price after all buysWhat it means
2x46.96There is a buffer
3x62.61There is a buffer
5x75.13There is a buffer
10x84.53Thin buffer to liquidation, any extra dip is dangerous
20x89.22Thin buffer to liquidation, any extra dip is dangerous

A teaching estimate: margin equals 1/leverage of the whole position, with no maintenance margin, fees or funding. On the exchange liquidation comes a little earlier. Check your own price in the bot form and in the liquidation calculator.

  • Beginners: the spot bot. No liquidation, and you know how much of the coin you will buy.
  • The futures bot only after practice, with 2-3x leverage and a stop loss: the OKX help center advises setting one.
  • A size multiplier of 2 with leverage is the worst mix: position and risk grow together.
  • One bot takes no more than 5-10% of the deposit.
  • Do not add to the position "to push liquidation away": it makes the loss bigger.

My order: spot first, then futures at 2-3x, always a stop, a small share of the deposit. If liquidation sits right against the last order, the leverage is too high.

OKX DCA bot fees

There is no separate bot fee: bot trades pay the normal fee. The bot's spot orders are limit orders, while futures closes on a stop and forced closes use the taker rate.

DCA bot costs on OKX (base tier)
WhatRateComment
Bot subscription0Free
Spot, maker0.08%Limit orders
Spot, taker0.10%If an order fills at market, for example on a stop loss
Futures, maker0.02%Limit orders
Futures, taker0.05%Stop and forced liquidation
FundingFloatingYou pay or receive while the position is open

Data as of November 2026, the global okx.com platform, Regular user tier, see OKX fees. OKX Europe uses different rates.

For new users

As the exchange itself puts it: rewards for all new users. OKX runs a new-user bonus program with tasks. Amounts and conditions depend on your country and change, so check them in your account after you sign in.

  • New accounts that sign up through a referral link join the new-user rewards program: tasks such as a deposit and a first trade. Look under My rewards and the Campaign center.
  • In the My vouchers tab of the trading bots section you will see vouchers if any were issued to you.
  • For tasks, funding with a USDT transfer from another wallet or exchange is simplest: an external transfer counts, an internal one does not.

There is no fixed "everyone gets N dollars" bonus: the task list shows only in your own account. Do not take more risk than planned for a reward.

OKX

If you do not have an OKX account yet, open the sign-up link, pass KYC and start with the spot DCA bot and a small amount.

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3

The code can only be entered during sign-up.

Common beginner mistakes

  1. Counting only the first order. The real need is the whole ladder of safety orders with multipliers.
  2. A size multiplier of 2. A few safety orders turn into a big sum, and the largest part of the money goes in at the very bottom.
  3. No stop loss. The OKX help center warns that in a prolonged decline an asset can head toward zero, and on futures losses grow with the position.
  4. 10x leverage or more on the futures bot. Liquidation lands next to the last safety order.
  5. Mixing it up with Recurring buy. That one buys on a schedule and has no extra buys or take profit.
  6. Starting after a sharp rally. The first order is at the top and the take profit is far away.

Almost every loss comes from a wrong ladder calculation and leverage without a stop, not from a bot malfunction.

Comparison: a bounce closes the OKX DCA bot cycle, a long slide exhausts the safety orders
The bot wins on bounces and suffers in a long slide.

Other bots and exchanges

The general idea of DCA and martingale is in the DCA bot guide. The OKX futures grid bot is in the Futures Grid guide, the spot one in the Spot Grid guide, and the rest of the exchange's bots in the OKX bots overview. The same bots on other exchanges: Binance and Bybit.

OKX

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3
Bybit

New accounts via the link: tasks worth up to 250 USDT; 25% off spot fees paid in MNT.

Sign up on Bybit
Referral code: J8NKMG
TradingView
Open TradingView

Charts, indicators and alerts

FAQ

What is the martingale bot called on OKX?
Spot DCA (Martingale) and Futures DCA (Martingale). Buying on a schedule is a separate bot, Recurring buy.
Where do I find the Spot DCA bot on OKX?
Trade > Trading bots > Marketplace > Spot DCA (Martingale). Then pick a setup method: Set myself, Auto fill, AI strategy or Lead bots.
How much does the OKX DCA bot cost?
There is no separate fee. Spot is 0.08% maker and 0.10% taker, futures 0.02% and 0.05% at the base tier, data as of November 2026.
How much money does a DCA bot need?
As much as the whole ladder costs: the first order plus every safety order with multipliers. OKX names no minimums in its help articles, and the form shows the total.
What is a safety order?
It is an extra buy in a drop: when the price falls by a set percentage from the first order, the bot buys more and lowers the average price. The take profit is measured from that average.
What leverage does the OKX Futures DCA bot have?
The help center says up to 100x, but that is nominal leverage. 2-3x is enough for a beginner: across a series of buys the effective leverage grows and liquidation gets closer.
Sign up on OKX