Welcome to our new support center!
We provide 24x7 support by human agents! So if our documentation can’t help you out, feel free to reach out and create a ticket!

Altrady Support Altrady Support

How to create a DCA bot: Immediate, Indicator or Price move

A DCA bot opens a position, lines up safety orders below it and closes the position at your take profit or stop loss. You decide when it opens: straight away, when your indicator conditions turn true, or when price moves by a percentage you set. Creating one takes about five minutes.

Before you start: you need a connected exchange account or a demo account. DCA bots require a paid plan.

Choose a bot kind

  1. Open Bots in the left-side menu.
  2. Click + Create at the top right of the Trading Bots page.
  3. The Create a bot dialog lists every kind of bot. Pick DCA Bot.

Create a bot dialog listing Grid bot (Spot only), DCA Bot, HODL Bot (Spot only), TradingView Bot, Signal bot, QFL Bot and Webhook bot, each with a one-line descriptionπŸ” Click the image to see a larger version

The other cards open their own flows: HODL Bot buys on a schedule, TradingView Bot follows your Pine Script alerts, QFL Bot trades Crypto Base Scanner signals, and Signal bot follows a signal provider. See How to set up and configure a DCA / signal bot for the provider-based signal bot.

Your new bot is named after its kind and market, for example BINA USDT DCA Bot. On the Trading Bots page its card shows a DCA Bot badge and how it starts: Immediate, Indicator or Price move.

Bot card on the Trading Bots page with the DCA Bot badge, the Immediate start label, invested amount, PnL and runtimeπŸ” Click the image to see a larger version

Trading Bots page in list view, with each row showing the bot name, kind badge, exchange, start type and accountπŸ” Click the image to see a larger version

Pick how the bot starts

The first step asks How should this bot start? There are three choices:

  • Immediate: opens a position on your picked markets right away, then opens a new one after each completed cycle.
  • Indicator: waits until your indicator conditions turn true at a candle close. It can watch a whole quote currency at once.
  • Price move: opens once price drops (or, on futures, rises) by the percentage you set.

Create DCA Bot start step with the Immediate, Indicator and Price move optionsπŸ” Click the image to see a larger version

Account, markets and investment

On Trading account and investment:

  1. Account: pick a Live or Demo account. The balance shows next to each one.
  2. Markets: pick one or more markets. For an Indicator bot you can switch to All markets and choose a quote currency (USDT, USDC or Other): the bot then screens every pair on that quote currency with your conditions.
  3. Investment: the total the bot may use. The buttons are amounts based on your balance.
  4. Reinvest profits: adds profit from closed positions back into the investment.

Trading account and investment step with Binance Paper selected, BTC/USDT as market and 1,000 USDT investmentπŸ” Click the image to see a larger version

Markets set to All markets with the USDT quote currency selected, for an Indicator botπŸ” Click the image to see a larger version

Click Next. Immediate bots go straight to the review. Indicator and Price move bots first ask for their start settings.

Indicator start: set your conditions

The Start conditions step sets when the bot opens and, optionally, when it closes.

  1. Side: Long or Short.
  2. Timeframe: the candle size the conditions are checked on.
  3. Entry condition: click a condition to edit the indicator, comparison and value, or Add condition to combine several.
  4. Exit condition (optional): turn it on to close the position at market when this condition turns true. Take profit and stop loss still apply.

Start conditions step with Long side, 1 hour timeframe, entry condition RSI 14 is below 30 and exit condition RSI 14 is above 70πŸ” Click the image to see a larger version

The bot opens when the condition becomes true, not while it stays true. A market that already matches when you start the bot is skipped until the next time the condition turns true.

Already built a rule in the TA Scanner? Click Import to load one from My rules, or start from one of the Templates.

Import menu open on the entry condition, showing the Templates tab with EMA Pullback and EMA + MACD rules for long and shortπŸ” Click the image to see a larger version

Price move start: set the trigger

The Price move step sets how far price has to move.

  1. Buy when price drops: the percentage.
  2. Measured from: what the percentage is measured against.
    • Last position close: from the price when the bot starts, and after that from the close price of each previous position.
    • A candle interval, such as 4 hours: from the open of the current candle. The entry price resets at every new candle, and the bot opens at most once per candle.

Price move step with Buy when price drops 5% measured from Last position close, and the note that the buy order sits on the exchangeπŸ” Click the image to see a larger version

Price move step measured from 4 hours, with the hint that the entry price resets every candleπŸ” Click the image to see a larger version

The buy order waits on the exchange at the trigger price, so it also fills on a sudden wick down. With a candle interval, the waiting order moves to the new trigger price when the next candle starts (candles follow UTC). If you edit that waiting entry by hand, the bot replaces your edit at the next candle. The entry order type and entry price deviation settings don’t apply to Price move bots.

On a futures account you also get Long, buy the drop and Short, sell the spike. With Short selected the field changes to Sell short when price rises.

Price move step on a futures account with Short, sell the spike selected and the field reading Sell short when price risesπŸ” Click the image to see a larger version

Review your DCA bot

The review step shows a summary of what the bot will do. Pick a risk variant (Conservative, Balanced or Aggressive) to change the safety orders, take profit and stop loss in one go.

The Start condition line shows how the bot opens, for example Immediate, Indicator, 1 hour timeframe or Price down 5% within 4 hours.

Review your DCA Bot with the Balanced variant, start condition Price down 5% within 4 hours, DCA entries, take profit, stop loss and position sizeπŸ” Click the image to see a larger version

Review summary for an Indicator bot showing Indicator, 1 hour timeframe and max positions 5 with 1 per marketπŸ” Click the image to see a larger version

Indicator and Price move bots also show a Backtest panel here. See Backtest a DCA bot before you start it.

Adjust settings, then start

Click Adjust parameters to fine-tune the variant. Adjust settings has five tabs, and the start button appears once you’ve opened every tab.

  • Entry: safety orders (DCA) as a Ladder or Scales, and Auto close under Advanced settings. The card below shows the entry order and full position cost.
  • Take profit: one or more targets with profit and volume, and trailing for the last target.
  • Stop loss: stop distance and Protection (None, Break even, Follow TP or Follow price).
  • Filters: Cool down after opening and Cool down after Stop loss. A bot on several markets also gets volume, price, white list and black list filters. A bot on one market shows only the cooldowns.
  • Journal: Mark closed positions as reviewed in journal.

Adjust settings Entry tab with safety orders, price step, multipliers and full position costπŸ” Click the image to see a larger version

Take profit tab with two targets at 2% and 5% and the trailing optionπŸ” Click the image to see a larger version

Stop loss tab with -25% stop distance and the Protection optionsπŸ” Click the image to see a larger version

Filters tab for a one-market bot, showing only the two cooldown togglesπŸ” Click the image to see a larger version

Filters tab for a bot on several markets with cooldowns, volume, price, white list and black listπŸ” Click the image to see a larger version

Journal tab with the Start Demo DCA Bot button after all tabs were openedπŸ” Click the image to see a larger version

Click Start Live DCA Bot, or Start Demo DCA Bot on a demo account.

After you start

Bot is ready confirms the bot is running and will open its position on your start condition. Immediate, Indicator and Price move bots drive themselves, so there’s no webhook payload to set up. Click Open bot to see its details.

Bot is ready confirmation with Back to bots and Open bot buttonsπŸ” Click the image to see a larger version

Don’t worry if an Indicator or Price move bot doesn’t open straight away: it waits for its condition. Altrady checks waiting bots every 15 minutes, and if opening a position fails, it tries again after 5 minutes.

Still stuck?

If your DCA bot isn’t doing what you expect, reach out via support chat and we’ll look at your bot with you.

Was this article helpful?