First public release of the 3Commas DCA Backtester & Signals with 4 built-in buy signals, full DCA strategy simulation, visual order tracking and an on-chart info panel.
3Commas DCA Backtester & Signals is a free TradingView indicator that emulates 3Commas DCA bots directly on your chart. It supports 4 configurable buy signals, plots all order levels visually, and shows a real-time performance panel so you can dial in your strategy before committing capital.
WHAT IT DOES
This backtester gives you a full DCA bot simulation with visual order tracking, a real-time info panel and fully customizable bot settings so you can dial in your strategy before risking real capital.
The indicator plots all of your backtesting orders directly on the chart so you can see exactly how your strategy would have performed. The red line is your take profit level, the blue line is your average price level, the white line is your first order and the green lines are your average down (safety) orders. If you enable a stop loss in the settings, it will appear as an orange line once all of your average down orders have been hit. It will not be set until price has dipped below your covered trading range.
These levels update in real time as conditions change during backtesting so you can visualize how your strategy responds to price action and see if your percentage deviation is large enough to cover dips. When backtesting trades are taken, the chart shows where they occurred along with info on each trade. The order number, the size of that order and the percentage deviation from the initial buy.
The right side of the screen displays an info panel so you can quickly see your bot settings and performance metrics without leaving the chart.
In the top right corner your bot settings are displayed in purple: stoploss percentage (if enabled), take profit percentage, average down order percentage, average down order percentage multiplier, volume multiplier, max number of orders and size of your base order.
The “Current Trade” section shows: the open trade’s average price, take profit price, PNL, how far price is from your take profit in percentage, your open position size and number of open orders.
The “Overall Performance” section shows: total number of trades taken during the backtesting range, the largest number of trades open at one time, max drawdown, average number of bars per trade, gross profit, net profit, percent profit from initial capital, current portfolio value and your initial capital.
The backtester includes your choice of 4 different buy signals, 2 of which can be adjusted directly in the settings. Use the backtester to figure out which trigger performs best for the asset and timeframe you’re trading, then set up that indicator separately to send live alerts to your 3Commas bot.
TradingView cannot sync this backtester directly to 3Commas. The best workflow is to use this backtester to determine which buy trigger you want, then set up that indicator separately to send alerts to your bot. All of the indicators used as buy signals in this backtester are available for free on TradingView and can be configured to match these settings.
You can also make a copy of the open-source script and code in your own buy signals to backtest them as a DCA strategy.
INTERPRETATION GUIDE
When backtesting trades are taken, the chart displays labels showing the order number, the size of that order and how far it deviates from the initial buy in percentage. This lets you visually confirm your coverage and see where your capital is being allocated.
CONFIGURATION
The 3Commas DCA Backtester has a full set of customizable options that mirror the settings available on 3Commas bots. Here are the settings and what they control.
| Setting | Default | Description |
|---|---|---|
| Stoploss On/Off | Off | Turns the stop loss on or off. When off, no stop loss is applied. |
| Stoploss Percentage | 5 | The percentage below your final average down order price where the stop loss is placed to limit drawdown on large dips. |
| Take Profit Percentage | 0.5 | The percentage of profit required to close the entire DCA trade. This level updates every time you average down. |
| Average Down Percentage | 0.5 | The percentage price must drop from your initial order to trigger your first safety order. If the multiplier is set to 1, this stays the same for every order. |
| Average Down % Multiplier | 1.2 | Multiplies the average down percentage so each successive safety order requires a larger deviation. Keeps buys closer together early and further apart deeper into the range. |
| Volume Multiplier | 1.5 | Multiplies the size of each safety order relative to the base order. A 2x multiplier on a $100 base order produces orders of $200, $400, $800. |
| Size of Base Order | 100 | The dollar size of your first position entry. Used as the starting point for the volume multiplier. Must be larger than the share price when backtesting stocks. |
| Max Number of Orders | 12 | The maximum number of orders the bot can take, including the base order. Adjust to match the capital you're willing to allocate. |
GOOD TO KNOW
STRATEGY TIPS
If you don’t have a lot of capital to work with, use longer timeframes with a reasonable take profit percentage so you don’t need a lot of average down orders. You can also try keeping the volume multiplier close to 1.
You can use the 3Commas DCA bot settings page to see how much capital your strategy will require if you match it to the settings on this indicator. You can also check how much percentage deviation your bot is covering to make sure you have a reasonable trading range with enough orders to cover large dips. The green lines on the chart show your average down orders. See how far down the chart they extend to gauge your coverage.
Make sure the initial capital in the Properties tab has enough to cover all of your orders, otherwise you will get unrealistic backtesting results. Leave the order size in the Properties tab set to “contracts” so it calculates your trades correctly. The only setting you need to change in the Properties tab is the initial capital, unless you are trading on an exchange with lower commission fees.
Increasing the volume multiplier makes your average price and take profit target follow price more closely as it falls, but it can also lead to very large orders quickly in the 1.5–3x range. Try using a high volume multiplier with fewer safety orders but keep capital on the sidelines to add on major dips. This bot is meant to make money with lots of small wins, so don’t get greedy and make sure you have enough money to cover large dips.
Only trade assets with good liquidity. The larger your orders get, the harder it will be to exit if volume is thin. The bot is set to 0.5% commission on buy and sell orders by default. Some exchanges offer no-fee trading on certain pairs, so look for those to maximize profits.
Test a lot of different setting combinations across multiple assets over several months of data to see how the strategy would have performed under various market conditions. You can also use the deep backtesting feature of TradingView’s strategy panel, but the info panel on this indicator will only reflect the normal backtesting range, not deep backtesting results.
FREE ON TRADINGVIEW
Add it to your TradingView charts and start backtesting DCA strategies today. No subscription required.
COMMON QUESTIONS
CHANGELOG
First public release of the 3Commas DCA Backtester & Signals with 4 built-in buy signals, full DCA strategy simulation, visual order tracking and an on-chart info panel.
EXPLORE MORE
Free
RSI-based buy and sell signals for scalping and swing trading. One of the signal types used inside this backtester. Use it standalone to send alerts to your 3Commas bot.
Free
Momentum-based entry signals for scalping and swing trades. Pairs with this backtester as a standalone alert source for your DCA bot triggers.
Free
Combines Money Flow Index, RSI and momentum into a single on-chart trend label. Useful for confirming the directional bias behind your DCA entries.