Home  ›  block algo flex  ›  Documentation  ›  3Commas Setup

3Commas Setup

Sending Alerts to 3Commas DCA Bots

3Commas is a popular trading bot platform that supports DCA (Dollar Cost Averaging) bots triggered by TradingView alerts.

Step 1: Create a DCA Bot in 3Commas

  1. Log in to your 3Commas account
  2. Go to Bots and click Create Bot > DCA Bot
  3. Configure your bot settings (exchange, pair, order size, safety orders, take profit, etc.)
  4. Under Deal start conditions, select TradingView custom signal
  5. Click Save

Step 2: Get Your Bot Credentials

After saving, 3Commas will display:

  • bot_id — Your bot's unique identifier
  • email_token — Your authentication token

Copy both values. You will need them for the alert message.

Step 3: Set Up the TradingView Alert

  1. Create an alert on block algo flex (see How to set up alerts)
  2. Enter the 3Commas webhook URL:
https://3commas.io/trade_signal/trading_view
  1. In the Message field, paste the message template provided by 3Commas. It will look something like:
{
  "message_type": "bot",
  "bot_id": YOUR_BOT_ID,
  "email_token": "YOUR_EMAIL_TOKEN",
  "delay_seconds": 0
}
  1. Replace YOUR_BOT_ID and YOUR_EMAIL_TOKEN with the values from Step 2
  2. Click Create

Step 4: Test Your Setup

After creating the alert, monitor your 3Commas dashboard to confirm that deals open when block algo flex signals fire.

Tip: Start with a small position size or use 3Commas paper trading to verify everything works before going live.

This is a static view of a single section. For full search and interactivity visit the docs app. Open interactive docs →