3Commas DCA Strategy Backtesting - The Quant Science™

Backtesting software developed on the DCA strategy offered by 3Commas. This software exactly replicates the logic used by the 3Commas algorithm, giving you the opportunity to perform proper backtesting before investing.
Understanding the DCA (Dollar Cost Average).
Working with a DCA strategy means split the investment over specific intervals by averaging the entry price. This strategy optimize the investment avoiding a single market price entry and incurring the risk of buying 100% of the capital at too high price.
Imagine investing USDT 1,000 every 30 days for 5 months. If the prices at the end of each month were 100 USDT, 90 USDT, 70 USDT, 95 USDT the average entry price would be 85.5 USDT. If we had invested the full amount in the first month the entry price would have been 100 USDT.
Price with average - 85.5 USDT
Price without average - 100 USDT
Keep in mind that the above example is only meant to give you an understanding of how a DCA strategy works. Now let's look at exactly how the DCA strategy offered by 3Commas works.
The 3Commas strategy defines an entry trigger, which can be defined as a single market condition or a set of market conditions. An example could be the RSI indicator crossing down 35, a price crossover of the weekly average or the simple closing of a candle on the previous one, or even all three of these conditions grouped together.
When the condition is true, the entry trigger is activated and the 3Commas DCA strategy opens the first order called the 'Base Order'.
https://www.tradingview.com/x/tOwnYRQm/
Starting from the initial order price, new positions are opened for a user-definable maximum number. All new orders are calculated on the initial price and are therefore not executed based on the starting condition. The calculation depends on the functionality activated and the parameters set. You can find all details in the official documentation of this software. Each new order after the first one is called a 'Safety Order'.
https://www.tradingview.com/x/Wzx3P4UA/
The entire investment is closed out on an exit condition, which can be a specific indicator condition, a take profit or a stop loss. Depending on the configuration set by the user.
https://www.tradingview.com/x/HFus9H9p/
Specifics of this software.
This software allows you to backtest with 5, 10 and 20 safety order long or short DCA strategies. You can choose a single entry trigger based on technical indicators such as RSI, MACD or Stochastic. Investment closing is based on take profit and stop loss.
This software includes:
1) Backtesting
2) Premium RSI Indicator
3) Premium MACD Indicator
4) Premium Stochastic Indicator
5) Professional user interface
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với thequantscience.
Xin lưu ý: tập lệnh riêng tư chỉ dành cho người nhận được thư mời chưa được người kiểm duyệt tập lệnh xem xét cũng như chưa rõ việc tuân thủ Nội quy chung của tập lệnh này. TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với thequantscience.
Xin lưu ý: tập lệnh riêng tư chỉ dành cho người nhận được thư mời chưa được người kiểm duyệt tập lệnh xem xét cũng như chưa rõ việc tuân thủ Nội quy chung của tập lệnh này. TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.