INVITE-ONLY SCRIPT
已更新 3Commas DCA Strategy Backtesting - The Quant Science™

GENERAL OVERVIEW
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
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
版本注释
Code optimization仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系thequantscience。
请注意,此私密的、仅限受邀者使用的脚本尚未经过脚本管理员的审核,并且不确定它是否符合网站规则。 除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Become member and unlock this software. | http://www.thequantscience.io
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系thequantscience。
请注意,此私密的、仅限受邀者使用的脚本尚未经过脚本管理员的审核,并且不确定它是否符合网站规则。 除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Become member and unlock this software. | http://www.thequantscience.io
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。