Bot setup guide
In this guide we will explain step-by-step how to setup alerts using AbSOlutNo (ABS), TradingView and 3Commas.
I’m going to assume that you have already a backtest using ABS that you want to turn into a DCA bot setup with 3Commas. And this means that you already know what’s going to be your BO and SO sizes, the pair and the exchange that you will be using.
Do all the alert testing using a paper trading account. If you misconfigured alerts you might experience large losses.
Unique bot name
An initial suggestion: give your new strategy a unique name.
For example: “ABS-TOP” this will become very convenient to keep things tidy and make your life easier when managing multiple bots: the DCA bot, the TV chart with the backtest and the TV alerts running.
Step 1: Create the DCA bot
- Use the same exchange for the DCA bot and the chart symbol. I recommend not mixing them. For example a BTCUSDT chart on Binance spot and then using a DCA bot on Bybit perpetuals is a bad idea most of the times. Keep the bot and the chart in the same exchange, the same symbol and the same product (spot vs perp).
- In the bot name use your unique bot name (see initial suggestion above) followed by any information that you are planning to use including BAQL code.
- Bot deal start condition should use “Trading View custom signal”
- Set the bot with the same BO and SO sizes that you have selected in ABS.
- Confirm that your are NOT using any of the following features in your DCA bot on 3Commas: Reinvest profit, no trailing, no risk reduction.
- Take profit should be at a percentage that you are sure won’t be reached before the exit signal triggers from ABS. Example: let’s say that your backtest shows that ABS max profit from a deal was around 10% during the whole backtesting period. Then do not set your DCA bot with less than that amount since that will put ABS and your bot out-of-sync. Instead, use a TP% safely higher for example 50% in your DCA bot settings, this way you give ABS room for closing deals by itself at any percentage. If you are expecting larger profits per deal you can increase it further but 3Commas will be sending you a periodic warning message to your telegram alerting you that your selected TP% is too far and it won’t be possible to place it in the exchange (you can safely ignore this but its pretty annoying still).
- Stop loss. Here is your call. You can use the DCA bot SL% as a “last resource safety measure”. Let’s say ABS failed sending the deal close alert. Let’s say that happens due to TradingView or 3Commas API being down for maintenance. It’s better to consider having a final SL located maybe slightly below where you expect to have the SL from ABS. You don’t have to, but I don’t think its a bad idea. Do not use “Risk reduction” or any of the other SL features apart from only the % and the action should be kept as “percentage from total volume”
- Set your “max safety orders count” and “Max active safety orders count” to 0. ABS will take care of SO placement from now. Volume and step scales can be ignored. I leave them at 1.
- I personally wouldn’t use any of the advanced settings in the DCA bot to prevent getting ABS and the bot out-of-sync but if you really know what you’re doing be my guest.
Step 2: Capture your DCA bot info
Once the bot is saved head to the bot details and take note of the bot id and the email token. Do not expose your token to anyone. People can use it to control your trading on 3Commas and you can lose a lot of money if let’s say you show it publicly on a YouTube comment, twitter post, discord conversation, etc.
You can find the bot id from the page URL or if you click on “Show” from any of the messages. The email token can also be found in any of the messages.
Here is an example:
- bot id: 11285001
- email token: h45b456n56-565tgbrynnrty-4th54tn565yn
Observe the bot Pair shown at the top of the DCA bot details page. Example:

Take note of this pair. In the case of the example above USDT_BTCUP.
If your alerts have any difference, even a small unwanted extra space then 3Commas will fully ignore your alerts so it’s VERY IMPORTANT that you capture it correctly: no typos allowed here!
And finally make sure your bot is switched on. Deals won’t open if it’s off when receiving an alert.
Step 3: Configure AbSOlutNo for 3Commas alerts
- Open ABS settings and scroll to the bottom
- Switch on “Debug mode”
- Close ABS settings and make sure that the chart is showing the most recent candles so you can see the debug panel showing with the JSON messages that will be sent eventually to your DCA bot. This panel shows 3 separated lines: the message for open deal, for adding funds and the one for closing a deal which can be used for exits, TP or SL.
- Confirm that the pair shown in the debug window matches the one you capture in Step 2. If for example the debug is showing USDT_BTC but your bot is expecting USDT_BTC.P or USDT_BTCUP then open ABS settings and use the “custom base currency to change it to BTC.P or to BTCUP accordingly. Double check that now the debug panel has been updated and that you are finally sending the correct pair.
- Confirm that the bot id matches your bot
- Confirm that the email token doesn’t contain any unwanted spaces inside the quotes.
- Confirm that you are running the latest version of AbSOlutNo! Versions below 0.3.4 were reportedly experiencing issues with alerts that have already been fixed in the most recent versions.
Step 4: Create the TradingView alert
We will need a single TV alert per pair.
- Open the TradingView chart with your ABS backtest
- Confirm that you are still in the correct symbol, timeframe and exchange (and product, spot, perp, 3x token, etc)
- Confirm that your backtest results are the correct ones
- Confirm that the debug panel still shows all JSON data correctly (as explained in Step 3)
- Name your chart using your “unique bot name” and the pair. Example “ABS TOP USDT_BTC.P”.
- Save your chart. Saving will settle all your settings ready for creating the alert.
- For paranoids: refresh the page and make sure everything looks just like before (point 1 to 5).
- Click add alert from the top of the chart
- Select AbSOlutNo, version must be above 0.3.4
- In Alert name write your unique bot name, the pair, the bot id and anything that can help you remember which alerts is this. You will need to be able to find it each time you need to make adjustments.
- In the message box write: {{strategy.order.alert_message}}
- In the same alert panel, select the “Notifications” tab and set the webhook URL to: https://app.3commas.io/trade_signal/trading_view
- I personally leave “Send email” switch on, since that helps troubleshooting in case the bot failed to open/add funds/close deals later. If the bot is working properly for a few deals I then later switch off the “Send email”.

Management guide
Let’s say that later you decided that you want to increase the amount invest in the bot or actually reduce your exposure slightly. The important thing you must remember at all times is that the size of the BO is controlled by the actual DCA bot and the SO is controller by what alerts sent from ABS from TradingView.
Because of this any time you decide that you want to adjust the amount invested then you MUST take these 3 actions:
- Open your backtest chart in TradingView and adjust the new BO and SO sizes from the ABS settings.
- Delete the old TV alert that was being used with your DCA bot.
- Create new alerts now using the new sizes of both BO and SO in ABS.
- Adjust your DCA bot SO and BO using the same new values.
Chart, bot and alerts need to all match the new sizes.
IMPORTANT: following the steps above in a different order will cause issues. For example if you first delete and create new alerts and edit ABS after then the new alerts won’t contain the new settings and therefore you might end up in an unexpected state.
Test alerts mode
ABS 0.3.5 introduces a new mode called “Test alert mode”.
This new mode is great for testing that alerts are working with a 3Commas bot. If activated ABS will aim to send 5 consecutive alerts, one per candle close in the following order:
- open a deal
- add funds
- add funds
- add funds
- deal close
Steps:
- Use a new paper trading bot for testing
- To use this mode enable “Test alert mode” from the 3Commas alerts section of ABS.
- Set the chart timeframe to 1 minute timeframe so that you can fully test your integration in 5 minutes. Very quickly you’ll be able to confirm that you’re sending the correct bot id, email token, pair, etc.
- Since this mode produces 1 deal per candle, you must enable “filter date range of backtest” and select a start date within the past hours and an end date in the future (ie. 1 month from now). If you don’t do this TradingView will print a red dot due to too many deals.
- Save your chart and create a test alert.
- Once per minute your bot should take one by one the actions. You can refresh your bot to see they are happening and also zoom in the chart.
- In the 3Commas bot it won’t show new SOs it will still show 0/0
- If you head to the “my deals” page you’ll see that there were “manually added” SOs
- Confirm that the volumes for BO, SOs and vol scales are all matching the backtest. For example: BO 100 SO 500 using scale of 2 means the second SO should be double the size: 1000 etc